www.webdeveloper.com
Results 1 to 3 of 3

Thread: fancybox image gallery

  1. #1
    Join Date
    Jun 2011
    Location
    California
    Posts
    383

    Cool fancybox image gallery

    my link id is: ahhh

    Code:
    $("#ahhh").fancybox({
    		'padding'			: 14,
    		'autoScale'			: true,
    		'transitionIn'		: 'fade',
    		'transitionOut'		: 'fade',
    		'speedIn'			: 800,
    		'speedOut'			: 800,
    		'width'				: 900,
    		'height'			: 170,
    		'enableEscapeButton': false
    	});
    I can get one image to work... but how to i add other image id's to this array?

    I've just about tried everything. Example below:

    $("#ahhh"),$("#aaaa")$("#bbbb").fancybox({

    I've also tried: $("#ahhh","#aaaa","#bbbb")


    but to no avail.. i can't get it to open up but one image.. the first image.. help would be greatly appreciated. Thank you.

  2. #2
    Join Date
    Jun 2011
    Location
    California
    Posts
    383
    html:

    HTML Code:
     <div class="elemento">
            <div class="texto textoJuegos">
                Los Angeles California<br />
    			<span>October</span>
    			<span>Los Angeles California</span>
                <span>October</span>
                <span><i>Los Angeles California</i></span>
                <span><i>Click on image to enlarge</i></span>
            </div>    
    		<a id="ahhh" href="/2011/img/sm/Los_Angeles_City_October_15_2011.png"><img src="/2011/img/sm/Los_Angeles_City_October_15_2011.png" title="Los Angeles" alt="Los Angeles California" /></a>              
        </div>

  3. #3
    Join Date
    Jun 2011
    Location
    California
    Posts
    383
    Up!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles