similar to: Using initLightbox()

Displaying 20 results from an estimated 3000 matches similar to: "Using initLightbox()"

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
2008 Feb 22
0
Image Gallery with custom thumbs...?
Hello all, I''m fairly new to RoR, have done many different tutorials, but am now trying to build something on my own. I would like to create a portfolio gallery. I plan on using customized thumbs, not scaled, but custom cropped and resized in Photoshop. The reason for this is these will not be photos but portfolio pieces and I would like the thumbs to focus on a vital part of the piece.
2006 Jan 08
3
Family Connection 1.1.2
== What is Family Connection? == Family Connection is an easy-to-setup online hub for your family that includes a Family News section with Photos, and an Address Book. For more information, visit http://familyconnect.rubyforge.org/ == Downloads == Latest: svn checkout svn://rubyforge.org/var/svn/familyconnect/trunk Version 1.1.2: svn checkout
2002 Aug 30
2
Help with Multi stream files
Hello All, I am having a problem with samba's ability to interpret certain files with windows 2k clients. Setup Details: Linux ( RedHat 7.3 ) File Server Win 2k Clients Samba v2.2.3a Kernel 2.4.18 statically compiled. Problem Description: When copying jpegs from a Win2k client which is displaying the JPEGS in thumbnail mode, to the Linux / Samba file server, 3 files are copied as
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 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
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
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) %>"
2006 Jul 23
0
appendChild crashes ie6 onload (urget)
Has anyone encountered this problem before? A function which is attached to the window''s onLoad with Event.observe crashes ie6 ONLY when appendChild is called. I have confirmed it across multiple computers. Even weirder, the function in question is a well tested script commonly used. http://www.particletree.com/examples/lightbox I have eliminated all js on the page except
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
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,
2008 May 01
3
Adding script line give errors Help!
I am trying to add this script <script language="javascript" type="text/javascript" src="http:// www.expedia.com/pubspec/scripts/storefront/expe.sf.vertical.350.asp?pid=&aid="></script> To my idex page and it give me errors, when I delete this line <script src="js/lightbox/prototype.js" type="text/javascript"></script>
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 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages 362-365. I''ve successfully loaded the Picture object to the database, but I come unstuck when trying to replicate this for a thumbnail version of the original image: thumbnail = Thumbnail.new thumbnail.name = ''thumbnail_'' + @picture.name.to_s
2006 Feb 03
2
RE: help with syntax
I guess the first step is reading up on OOP in javascript... http://www.webreference.com/js/column79/ http://www.codeproject.com/aspnet/JsOOP1.asp Then, check out the definitive prototype.js guide... http://www.sergiopereira.com/articles/prototype.js.html -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
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() {
2008 Jun 30
1
javascript onclick for thumbnails
Hi, i was struggling for a function where only 1 thumbnail should be active and others inactive when clicked on the particular thumbnail. code: 1. view: 2. <script type="javascript"> 3. function PlayVideo_options(videoFile, id) { 4. document.getElementById(id).className = ''video_option active_video''; 5. } 6. </script> 7. 8.
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 Mar 01
2
error: uninitialized constant
total rails nuby here. I have a table "thumbnails", hence the model Thumbnail. I''m extending the Thumbnail class with a few constants needed for thumbnail cropping: class Thumbnail < ActiveRecord::Base SOURCE_FILE_PATH = "path/to/source" TARGET_FILE_PATH = "path/to/target" TARGET_WIDTH = 100 TARGET_HEIGHT = 100 end Now, in my controller