Results 1 to 5 of 5

Thread: Lightbox Help?

  1. #1
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox Help?

    Hey, fellows! I've been struggling with my portfolio site for what feels like ages now; I'm getting pretty desperate! This is kind of a big issue - everywhere I apply looks only at my webpage to consider me for a position, and if that isn't working they'll chuck me right out of the applicants pile. Help!

    Here is the webpage: http://megsyv.com/portfolio.html

    The images do not operate on the lightbox script, instead opening in their own pages. Every relevant lightbox file has been uploaded to the public ftp, in it's own folder titled "lightbox", and moved to multiple locations throughout the root, so file placement is not the issue.
    I also tried renaming the file and all subsequent points in the code to "lightbox2", which, while it did not solve the problem, prompted to action from the script whatsoever, no longer opening images in their own windows.

    Thanks!

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

    Default

    These files aren't where they are suppose to be

    Code:
    <script  type="text/javascript" src="../js/prototype.js"></script>
    <script  type="text/javascript" src="../js/scriptaculous.js?load=effects,builder"></script>
    <script  type="text/javascript" src="../js/lightbox.js"></script>
    <link rel="stylesheet" href="../css/lightbox.css"  type="text/css" media="screen" />
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Where would one typically upload these files on the host? The root? The public ftp? A separate folder?

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

    Default

    Any of those places assuming the user has access to the folder they are in. I'd recommend the public_html folder. You can use a separate folder if you'd like just change the location. Looks like the lightbox site I normally link (huddledtogether) to has been hacked or expired. You just need the JS and css accesible to your browser you could even link it to someone elses site that has it (I don't recommend this because if they change it or remove it you will lose functionality).
    Corrections to my coding/thoughts welcome.

  5. #5
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    HOLY CRAP.

    After moving all the files to the /public_html root folder instead of blindly throwing it into one folder after another, the code is finally up and running!
    Thank you, thank you, thank you!

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
  •