Displaying 20 results from an estimated 1000 matches similar to: "Lightbox popup on ajax pages...."
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 Feb 12
8
i18n with Rails 2.1
Hi.
I''m currently using Rails 2.1.
But i want to use i18n to internationalize my rails application.
I''m trying to install rails 2.2 using:
gem update rails
but it gives me an error...
Can anyone please suggest..how do I do this???
Thank You.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 May 28
14
Lightbox and RJS
Hi,
I am trying to include lightbox functionality in my app, but there is
a slight complication. Apparently lightbox initializes all the links
to lightbox events on page load. However, in my case, some new links
to lightbox events will be rendered to the page through ajax events
(obviously this means after the page loads). So I figure I need to
find a way to call lightbox''s
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
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 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
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
2009 Feb 26
7
javascript using jQuery.js and prototype.js doesnt work 2get
Hi........
M hving javascript "scripts.js" which uses jQuery.js in rails
application. bt when it is used along with prototype.js, one of the
javascripts which hs been included first in my application.rhtml
fails...
Do some1 hv any solution how to make both the scripts work 2gether...
I tried using
<script>
jQuery.noConflict();
</script>
bt of no use. problem
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
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() {
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
2013 Jun 05
1
Link_to image_tag popup
Hello All,
How can I add a popup in link_to image_tag?
I am trying as :-
<%= link_to image_tag(@user.avatar.url(:small)), ''/users/edit'',
:popup=>[''original_image'', ''height=700,width=900''] %>
It goes to the edit page. But it doesn''t opens popup.
Is this the correct way to call a popup?
How can I achieve this?
Thanks,
2006 Apr 14
3
link_to_remote_with_overlay - Easy Ajax Overlays
People might be intrested in an article I wrote about using a helper and
some javascript to easily bring up ''Overlays'', a bit like Lightbox.
http://www.eribium.org/eribium/?p=32
--
Posted via http://www.ruby-forum.com/.
2008 May 30
1
Prototype doesn't work if we have swf content on the same page
I having to many troubles with prototype and scriptaculous when i have
object tag to embed swf content on webpage. First it conflict with
adsense and the page can''t be showed on IE6, fine, i remove adsense
banners. But my lightbox galery(maded with prototype) doesn''t work if
i had swf content from youtube...
Some body can help with this problem?
I''m starting hate
2012 Mar 01
1
help stylesheet_link_tag
I was reading the book "Agile Web Development with Rails 4th Edition".
In Chapter 11, Iteration C2: Adding a Page Layout
1 <!DOCTYPE html>
- <html>
- <head>
- <title>Pragprog Books Online Store</title>
5 <%= stylesheet_link_tag "scaffold" %>
- <%= stylesheet_link_tag "depot", :media => "all" %>
- <%=