similar to: Lightbox and RJS

Displaying 20 results from an estimated 1000 matches similar to: "Lightbox and RJS"

2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello! I''m trying to create a simple image "popup" effect using Lightbox2, http://www.huddletogether.com/projects/lightbox2/. But I don''t get it to work. My code looks lite this: <span class="ad_image"> <a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%= ad.image.url(:thumb) %>"
2009 Mar 26
1
Lightbox popup on ajax pages....
Hi, I''m using lightbox.js for displaying chromeless popup windows. I have a main page on which I have javascript_include_tag and stylesheet_link_tag to include lightbox. Calls to the lightbox popups from this main page work perfectly... But....calls to the lightbox popups from pages which are called by ajax(using link_to_remote) from the main page do not work... :( They work like
2006 Jan 08
10
Resource Bundle Roundup
I''ve recently made a first release of what I''m calling "bundled_resource" which is a plugin that makes our lives *much* easier when we need to use javascripts, stylesheets and images in conjunction with one another to deliver a special effect or tool on the client (browser) side. If you missed the release, read about it on my blog at
2006 Jul 28
5
RoR & Lightbox
Has anybody else had a problem with using Lightbox in their RoR apps? I include all the necessary files in application.rhtml and then attempt to use the Lightbox functionality in pages and such. Nothing happens except that a new page opens up with the link to the image I was attempting to show with Lightbox. I''ve even gone so far as to strip out everything except the necessary
2006 Aug 23
2
new plugin: "redbox", a lightbox/thickbox clone with nice rails integration
Hi folks, I''ve written a little plugin to use for displaying a block of html over a page while fading out the background. This is like the lightbox.js library, and all it''s related offshoots (thickbox, greybox, etc.). My plugin, Redbox, is not really any better than these others (in fact, it''s less mature, and less tested), but it builds on prototype and scriptaculous,
2009 Jan 29
3
Lightbox Editor freeze
I've try to use Lightbox Plus image editor (http://www.lightboxeditor.com/) under wine. It start's, but always freeze after few minutes. It says: Code: err:ntdll:RtlpWaitForCriticalSection section 0x7e4518a0 "x11drv_main.c:X11DRV_CritSection" wait timed out in thread 0009, blocked by 0018, retrying (60 sec) After a minute says the following message: Code: wine: Critical
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks something like: if (page.select(''row1'').first != null) page << "new TableRow.MoveAfter(''row1'', ''newrow'');" else page << "new TableRow.MoveAfter(''row2'', ''newrow'');" end Now, dumb question.. My
2006 Oct 18
3
[Bug] Seg Faulting in index.rb:718
Hey, Ferret is repeatedly seg-faulting my mongrel servers on the same line: /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:718: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i686-linux] I''m using ferret 0.10.11. I haven''t had the time to dig into yet, it''s on the backburner right now - I just keep several spare servers and restart them
2009 Aug 21
1
lightbox or slimbox with ruby on rails
Hello guys I want to use lightbox or slimbox any one having idea about it please give me Thanks -- Posted via http://www.ruby-forum.com/.
2006 Sep 22
15
Win XP / Ferret & Acts_as_ferret .dump problem
Hey, Has anyone managed to bypass or fix the ferret''s .dump method problem? When I include acts_as_ferret my whole rails app just blows up because of Ferret''s .dump method. Ex: --- print "\t hello".dump >> "\t hello">Exit code: 0 --- --- require ''ferret'' print "\t hello".dump >> " hello"(NUL
2006 Dec 17
0
Using initLightbox()
Hi all I need some help on this one: I have a webpage that writes a jpeg into a div when you click on a thumbnail using javascript. I wanted to display an even bigger version of that jpeg if you click on it so I integrated the Lightbox script (uses prototype.js and scriptaculous.js) If I place initLightbox() into the body onload= then the first thumbnail clicked will write the larger jpeg into
2006 Apr 06
4
Using RJS to call custom JavaScript class/method
The announcement for RoR 1.1 shows some nice examples of RJS calls. In particular I am interested in this one: # Call the custom JavaScript class/method AddressBook.cancel() page.address_book.cancel In trying to develop a "lightbox" style modal form, I have been successful in saving the form data via AJAX but I can''t seem to close the "lightbox". I am using the
2006 Jun 23
5
Ajax zooming pictures
Hi, I was wondering if anyone has an idea of the code that I can write to achieve the follow effect. http://www.istockphoto.com/file_search.php?action=file&userID=938503 When you move your mouse over an image, it shows a bigger picture. Thanks -- Posted via http://www.ruby-forum.com/.
2009 Mar 27
0
Re: Lightbox Editor freeze
I just installed Lightbox Plus on my Debian Testing (Squeeze/Sid) using Wine 1.1.17, and it works perfectly (so far). I haven't used it that much, but it installed just fine as follows: $ wine install20.exe The registration window pops, I filled in the code, didn't change anything with respect to Desktop icons etc., and Lightbox Plus showed up in my Desktop Gnome Applicatiions
2007 Mar 23
7
Lightbox-eske Dialogish Object
So, one of the things I''ve always wanted to do was expand upon the simplicity of the Lightbox Gone Wild! object that the coders at www.particletree.com put together months ago. I used it on an application I wrote to organize my own picture albums on my localhost web server, but I had to hack it apart to get it to do the things I wanted it to do. I looked at the Prototype Window
2006 Jun 24
0
LightBox and Ajax Global Responders
Does anybody know where I could find how to use LightBox JS and an animated gif in Ajax Global Responders? For at least a starting point? Thanks! -- Randy Schmidt x@altorg.com 267.334.6833
2006 Jun 24
0
Lightbox and Prototype
I am running Rails 1.1.2 (frozen gems) and trying to use Lightbox 2.0. I am getting this exception in Firefox: uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.removeChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://localhost:3000/javascripts/prototype.js?1151109408 :: anonymous
2008 Nov 18
5
What is the preferred "lightbox" plugin?
Hi all - I need to do an overlay with something that supports ajax/remote html. There''s lots of options and quite a few rails plugins. Some seem out of date however. Any suggestions on which one is "best" where "best" is defined as easy to implement, works in all browsers, supports ajax or remote html. Thanks! -philip
2006 May 24
1
Automagic number of views/clicks?
Hey, Just wondering.. Are there are any automagic constructs in rails for keeping track of number of views/clicks associated with the record? For example, created_at and updated_at are automagically updated on edit/new actions, are there any similar constructs for clicks/views of the record? Thanks. Ilya -- Posted via http://www.ruby-forum.com/.
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I used this functions $(''#events a'').lightBox() $(document).ready -> $("#slider").easySlider auto: true, continuous: true they load inside application.js like this (function() { $(''#events a'').lightBox(); $(document).ready(function() {