Results 1 to 6 of 6

Thread: Help with Lightbox 2

  1. #1
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default Help with Lightbox 2

    I officially don't understand a damn thing about Javascript. I am trying to help my friend put up the Lightbox 2 script for this page. I followed every step of that and its still not working. What did I do wrong? Thanks



    Last edited by ModernRevolutions; 03-01-2009 at 11:00 PM.
    ------------------
    Check out my site here and let me know what you think

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

  3. #3
    Join Date
    Feb 2009
    Posts
    50
    Thanks
    12
    Thanked 0 Times in 0 Posts

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I'm not sure if this is all of your problem, but it's one of them. You're not loading all of the parts of the Scriptaculous library that you need.

    You should be calling scriptaculous.js as such:
    Code:
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    You're missing the highlighted part.

  5. The Following User Says Thank You to Medyman For This Useful Post:

    sparklingsky (03-02-2009)

  6. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    your also calling the image after you've closed the page. This might lead to other problems either later or now that you haven't noticed


    Code:
    <div id="contentdiv">
    <font color="">
    
    </body> <------- This is the page
    </html> <-------- closing (i still dont know where the highlight button is)
    
    
    
    
    <a href="http://www.modernrevolutions.vivid-avenue.net/blends/bilson.jpg" rel="lightbox" title="my caption">image #1</a>
    
    
    
    <br><br><br>
    <center>&copy; 2008-2009 vivid-avenue.net
    <br>
    
    <a href="http://vivid-avenue.net/contactme.php">Contact Me</a>| <a href="http://vivid-avenue.net/faq.php">FAQ'S</a>| <a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=91599308">The Myspace</a>| <a href="http://vividavenue.ourtoolbar.com/">Toolbar</a>
    <br>
    </center>
    
    </div>
    </center>

  7. #6
    Join Date
    Feb 2009
    Posts
    50
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    He was helping me code that but he isn't on and that just fixed it for me so thank you soo much.

Bookmarks

Posting Permissions

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