Folder system changes between pages


hi,

i have interesting problem perhaps stems importing lightbox 2. have website multiple pages. of these pages use following type of folder system (for lack of better terminology):

 

<link href="_css/main_content.css" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="contest7/css/lightbox.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="contest7/js/prototype.js"></script>

<script type="text/javascript" src="contest7/js/scriptaculous.js?load=effects,builder"></script>

<script type="text/javascript" src="contest7/js/lightbox.js"></script>

 

however, i'm not sure why, have few pages use type of folder system:

 

 

<link href="../_css/main_content.css" rel="stylesheet" type="text/css" media="screen, projection" />

<link rel="stylesheet" href="../contest7/css/lightbox.css" type="text/css" media="screen, projection" />

<script type="text/javascript" src="../contest7/js/prototype.js"></script>

<script type="text/javascript" src="../contest7/js/scriptaculous.js?load=effects,builder"></script>

<script type="text/javascript" src="../contest7/js/lightbox.js"></script>

 

 

notice ../ highlighted in red in front of latter links. if delete 1 of external .css sheets , try re-attach it, url maintains ../ when browse folders. also, links of pages relative document.

 

the big issue have images linked in lightbox.js:

 

 

lightboxoptions = object.extend({

    fileloadingimage:        'contest7/images/loading.gif',  

    filebottomnavcloseimage: 'contest7/images/closelabel.gif',

 

 

these load pages linked in first example, not in second example.

 

i relatively new dreamweaver, perhaps there simple explanation. 1 other issue i've found result of problem don't understand how import javascript (.js) files. not seem easy attaching external style sheet. appreciate these issues.

if dw inserts root-relative paths, js files in sub-directory not accessible otherwise other locations, in effect means in wrong place. impossible without seeing full folder structure.

 

mylenium



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support