View Full Version : Frontpage 2002 Problem
Vexir
September 21st, 2003, 04:06 PM
It's very confusing... I have made a navigation bar consisting of rollover images, then put them into another page using the Include Page command. The rollovers work perfectly in the original page, but when you use them in the page with the Include Page, the rollover images (the images that you see after your mouse passes over them) and the original image which replaces the rollover image when your mouse leaves the image, come up as blanks (meaning white squares with a red X in the top left hand corner)...
Sorry for the seemingly long and confusing explanation of a problem I'm sure is quite simple... although the solution seems to be evading me.
kirupa
September 21st, 2003, 04:10 PM
Check your HTML code in the original page that contains the rollovers. Move all the JavaScript code away from the <head> area and into the <body> area. That should fix it.
Include Page only takes information from your <body> page. Any information such as scripts and data located elsewhere is happily ignored :ub:
Vexir
September 22nd, 2003, 02:28 AM
Um, it seems that the code already is in the body... nothing is in the head tag except for some META tags and a title tag...
kirupa
September 22nd, 2003, 07:09 PM
Do you have the pages uploaded? Give me the links of the main page and the included page, and I'll see if I can find anything else that could be wrong.
Vexir
September 22nd, 2003, 09:50 PM
Thats a bit hard because I don't have my site uploaded to my server yet, I'm creating it on my HD then I'll upload it in one shot to the server.
Could the problem be in the main page rather than in the included page??
Sigh... looks like I've come to a major block:block: in my quest to build a competent website... :tie:
JMS
September 26th, 2003, 11:49 AM
so why not upload the pages now.. then we can take a look to see what the problem is?
Vexir
September 26th, 2003, 09:34 PM
because its just gonna be a big mess ok? leave it be :hair:
JMS
September 26th, 2003, 10:27 PM
well then we can't help :P
Vexir
September 26th, 2003, 10:44 PM
oh come on, i can post the code of that page if you wish.
JMS
September 26th, 2003, 10:46 PM
fire away :)
Vexir
September 27th, 2003, 01:29 AM
Oh hang on, I haven't even loaded Frontpage or my website files onto my computer... I just formatted my disk. I'll be sure to once I have.
Vexir
September 28th, 2003, 08:38 PM
ok, the code can be found here:
http://nopaste.php.cd/3224
JMS
September 28th, 2003, 09:01 PM
Well, the code looks okay to me... the only thing that I can think of is that if you are getting the image with the red cross that means that the image can't be found, which says to me that the path to your images is wrong.
Vexir
September 29th, 2003, 02:18 AM
i checked the path, its fine...
ANYMORE SUGGESTIONS??
Vexir
September 29th, 2003, 03:08 PM
Wait, I might have gotten something..
images/tutorialdown.jpg
thats the path for the image which is displayed when the mouse rolls over it. well, index.htm, which is the page being included, is in a folder called Navigation. inside that folder is a folder called images. thus the image to the included page will be 'images/tutorialdown.jpg'. the main page which contains the included page, is in a totally different directory than the included page. meaning, the images folder which contains the rollover images is NOT a subfolder of the folder which contains the main page.
could this affect it?
kirupa
September 30th, 2003, 11:39 AM
Yeah - probably. Change it from the relative path to the absolute path like http://www.domain.com/blah/blah2/images/mypic.jpg
Vexir
October 1st, 2003, 06:12 PM
dam... i havent quite uploaded it yet, so i guess I'll do that later
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.