Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Lightbox 2.03 help

  1. #1
    Join Date
    Jan 2007
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Lightbox 2.03 help

    1) Script Title: Lightbox 2.03

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...box2/index.htm

    3) Describe problem:
    I've added the lightbox to my site and I can't get it to work. I've tried lightbox v1 and v2.03 and all they do is open the image as a link, not in the lightbox itself. My site is http://www.dellaguardiacity.com/portfolio/dgcity.shtml . I have the lightbox on each page with images. Does anyone have any ideas as to what I'm doing wrong?
    Thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You have an edited version of scriptaculous.js. Replace it from the one from the distribution archive.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2007
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    where do i find that?

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

  5. #5
    Join Date
    Jan 2007
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I used that lightbox.js code and it still isn't working like it's supposed to. any other ideas?

  6. #6
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    The only thing that I can see is that lightbox.css is not on the server. Try uploading that and it should work as it is supposed to.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by kitten2781 View Post
    where do i find that?
    mburt doesn't seem to have understood your set up, his suggestion isn't applicable to what you have on the server. If you've replaced your lightbox.js with the one he suggests, you will need to get a fresh copy from the archive I've linked to below.

    thetestingsite is partly right about the css but, it is on the server, change its location in your portfolio/dgcity.shtml file to:

    Code:
    <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
    Here is the location of scriptaculous.js on your server:

    http://www.dellaguardiacity.com/port...riptaculous.js

    Here is the location of the distribution archive on Dynamic Drive:

    http://dynamicdrive.com/dynamicindex...ghtbox2.03.zip

    Take the copy of scriptaculous.js from it and replace yours. Clear your cache and hope for the best.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Jan 2007
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you! I got it working now. Much appreciated.

  9. #9
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i've prob. with .js file i can't open it it's showing me sum kind of error

  10. #10
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Risheeta View Post
    i've prob. with .js file i can't open it it's showing me sum kind of error
    WINDOWS SCRIPT HOST

    Script: ......scriptaculous.js
    Line: 32
    Char: 7
    Error: Exception thrown and not caught
    Code: 800A139E
    Source: Microsoft JScript runtime error

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
  •