Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-18-2012, 04:02 AM   PM User | #1
jessamca
New to the CF scene

 
Join Date: Mar 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jessamca is an unknown quantity at this point
Gallery script not functioning

I am trying to make a web gallery using the following code on my blog, and the thumbnail images will not load. I tried it out another a blank blog, and it worked fine, so I know I must have something embedded on my site that is preventing it from working. Any recommendations on what to change?

My website is www.lookbookcookbook.com

Many thanks

Code:
<div id="content">
<script type="text/javascript">
    function myshowImages(id) {

         /**$(".bigPic").hide();
            $("#pic-"+id).show();*/
            $('.bigPic').css({'display':'none'});
            $("#pic-"+id).fadeIn('slow'); 

    }
</script>
<script>
    $(document).ready(function () {
        $('.email-sign-up').css({'marginBottom':'0px'});        
    })
</script>

<div class="product">
    <div class="galerie">
        <div class="bigPics">
            <a href="insert" target="_blank">
                <img src="insert" title="" alt="" id="pic-0" width="450" height="450" class="bigPic" name="bigPic"  />
            </a>
            <a href="insert" target="_blank">
                <img src="insert" title="" alt="" id="pic-1" width="450" height="450" class="bigPic" name="bigPic" style="display:none;" />
            </a>
        </div>

        <div class="thumbnails">
            <div class="mini-thumb">
                <a href="javascript:myshowImages(0)" >
                    <img src="insert" title="" alt="" />
                </a>
            </div>
            <div class="mini-thumb">
                <a href="javascript:myshowImages(1)" >
                     <img src="insert" title="" alt="" />
                </a>
            </div>

Last edited by jessamca; 03-18-2012 at 06:16 PM..
jessamca is offline   Reply With Quote
Old 03-18-2012, 05:43 PM   PM User | #2
jessamca
New to the CF scene

 
Join Date: Mar 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jessamca is an unknown quantity at this point
i've now published the post where the script is not working if that helps!
jessamca is offline   Reply With Quote
Reply

Bookmarks

Tags
blogger, gallery, javascript

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:31 AM.


Advertisement
Log in to turn off these ads.