Results 1 to 8 of 8
Thread: Template hell
-
03-17-2004, 05:45 AM #1Newbie
- Join Date
- Mar 2004
- Posts
- 6
Template hell
hi as you may guess im here to see if i can get some help with a template problem i am having .
i have created a sliced image interface in imageready. exported it and created a template ( in dreamweaver mx )for my site with it . no problems so far .....the template works great at root level...... if i use the template on pages that are in subs of that directory ....the rollovers on my buttons cannot be found ( but the rest of the template is there). ( it has moved the location of the rollovers to the directory where the page is......am i making any sence ? i have been at it a while now.................any ideas ladies and gentlemen ???????????????
just noticed the imageready preload script is working ( the images are there untill you mouseover them)
the customer is allways right .........until they speak
-
03-17-2004, 06:52 AM #2Junior Guru Wannabe
- Join Date
- Mar 2004
- Location
- NOLA
- Posts
- 41
when you saved the file in a sub directory the path to the image may have stayed the same. You may have to change the links to ../images/yourimage.jpg The ../ brings points to the level of the directory above the subdirectory.
-
03-17-2004, 07:05 AM #3Newbie
- Join Date
- Mar 2004
- Posts
- 6
cheers i have played with that it wont work but here is the code from my template
index_Downloads_over = newImage("indeximages/index_Downloads-over.gif");
and the code that gets imported from the template is
onmouseover="changeImages('index_Downloads', 'indeximages/index_Downloads-over.gif'); return true;"
but getting the properties from the preiviewed page is
/joshnew/galleries/indeximages/index_Home-over.gif
any idea why ?????
-
03-17-2004, 08:21 AM #4Junior Guru Wannabe
- Join Date
- Mar 2004
- Location
- NOLA
- Posts
- 41
What directory is your index file in?
-
03-17-2004, 08:30 AM #5Newbie
- Join Date
- Mar 2004
- Posts
- 6
the containg folder is joshnew the template is in joshnew/templates and the images file is in the root also
it seems that the page when it is viewed is inserting galleries as part of the link
bugging me now ahhhhhhhhh ;-)
-
03-17-2004, 03:42 PM #6New Member
- Join Date
- Mar 2004
- Posts
- 1
Use Fireworks mate!!
Have you tried checking and re writing the html code manually.
Gotta be something simple. I know you think too deep mate
-
03-17-2004, 03:49 PM #7Newbie
- Join Date
- Mar 2004
- Posts
- 6
that would be an ideal solution bud ...............apart from there being about 70 pages to recode .............but i have now used <div> 's + layers in the template ( with editalble regions ) but they seem to be unstable in different screen resolutions
umm we live we learn
andy
-
03-19-2004, 06:53 AM #8Newbie
- Join Date
- Mar 2004
- Posts
- 6
i am still perplexed i have attached an image to see if it makes more sence.......the template works fine in root folder pages but not in pages held in the subdirectories e.g ........although the rest of the template shows up I.E the banner and navigation..........however the rollovers preload the initial image ......as soon as the mouse is over them they appear as image placeholders........the I.E code from the page is expecting the rollover images in the containing folder in the subdirectory...................... any ideas ??????