Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member paul otoole's Avatar
    Join Date
    Jul 2012
    Posts
    7
    Member #
    32260
    hey guys,
    im having problems with my site,
    I use dreamweaver and its tcn lightbox plugin...it works fine in dreamweaver
    live view, but its not working properly on my site www.directsports.ie/mensfootwear
    Im sure i just have messed up the code somehow...
    I hope someone can help me with this...
    Thanks
    Paul

  2.  

  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    It appears as though your path to your CSS for your lightbox CSS file is incorrect.

    CSS for other CSS files has ../ in the path, the way you have it coded for this page, indicates that your CSS file is in the same directory as the file... But if you call it directly in the browser, it returns a 404 file not found error.

    I suspect if the CSS file doesn't load, your effects won't work properly.

  4. #3
    Junior Member paul otoole's Avatar
    Join Date
    Jul 2012
    Posts
    7
    Member #
    32260
    Quote Originally Posted by Webzarus, post: 238982
    It appears as though your path to your CSS for your lightbox CSS file is incorrect.

    CSS for other CSS files has ../ in the path, the way you have it coded for this page, indicates that your CSS file is in the same directory as the file... But if you call it directly in the browser, it returns a 404 file not found error.

    I suspect if the CSS file doesn't load, your effects won't work properly.
    thanks,
    im new to this website design obviously...
    so how do i change the code correctly?
    thanks

  5. #4
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    All depends on where your CSS and js files are located...

    You have the correct path if the file is on the root or main level of the site

    If you're on the second level your path should be:

    ../path to file

    3rd level

    ../../path to file

    4th level

    ../../../ path to file

    See the pattern ?

    Some servers support "relative paths"... Which would be ./path to file.. And it will map it correctly from any level. Not all servers do though... So try above first...

    You have several CSS files mapped correctly already... Use the same path if the CSS files are in the same location as the others.

  6. #5
    Junior Member paul otoole's Avatar
    Join Date
    Jul 2012
    Posts
    7
    Member #
    32260
    thanks again...
    i think I understand...
    i just tried what you said...
    it is still not showing the lightbox properly


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:53 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com