|
-
Oct 21st, 2001, 06:44 PM
#1
Thread Starter
Registered User
Simple HTML problem,<a href = "#",Links don't work
Hello everyone, I cna't seem to get this to work. I created the Layout using Fireworks. Each page has its own Folder, there are 5 folders. Each folder contains the .htm page name and the images for that .htm page. Here is the directory of the pages.
C:\My Documents\Site\htmlFormat
The here are the 5 folders:
[list=1][*]MainLayout[*]Projects[*]News[*]AboutMe[*]Links[/list=1]
Here is an example of what is in the MainLayout Folder:
C:\My Documents\Site\htmlFormat\MainLayout
Layout.htm
Layout_r1_c1.gif
Layout_r2_c1.gif
Layout_r3_c1.gif
...
The MainLayout contains the mainpage, when u start the page up it will take u to that page.
So this is what i did:
I opened the Layout.htm file in text pad, i found the line which contains the Projects Button
here is the line:
Code:
<tr>
<td rowspan="2" colspan="3"><img name="Layout_r2_c1" src="Layout_r2_c1.gif" width="19" height="64" border="0"></td>
<td colspan="3"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_displayStatusMsg('Projects');MM_swapImage('Layout_r2_c4','','Layout_r2_c4_f2.gif',1);return document.MM_returnValue" ><img name="Layout_r2_c4" src="Layout_r2_c4.gif" width="124" height="31" border="0" alt="button"></a></td>
<td rowspan="6" colspan="2"><img name="Layout_r2_c7" src="Layout_r2_c7.gif" width="657" height="191" border="0"></td>
<td><img src="spacer.gif" width="1" height="31" border="0"></td>
</tr>
Notice where it says
<a href ="#"
I tried the following in that spot
<a href = "Projects.htm"
<a href = "htmlFormat\Projects.htm"
<a href = "htmlFormat\Projects\Projects.htm"
and nothing works, it says page cannot be displayed
What am i doing wrong and how can this be fixed?
THanks everyone for listening!
-
Oct 21st, 2001, 09:50 PM
#2
PowerPoster
hi
Try it this way instead
Code:
'General
<a href="../subdirectoryname/pagename.htm">
'For urs...
<a href="../projects/projects.htm">
Regards
Stuart
-
Oct 22nd, 2001, 04:49 AM
#3
Hyperactive Member
<a href = "Projects.htm"
<a href = "htmlFormat\Projects.htm"
<a href = "htmlFormat\Projects\Projects.htm"
your \ are the wrong way you need /
-
Oct 22nd, 2001, 06:04 AM
#4
Thread Starter
Registered User
Hey guys thanks a ton!

what i had to do was
<a href = "C:/My Documents/Site/htmlFormat/Projects/Projets.htm"
So basically i had to put the whole root, and i had to change from \ to /
-
Oct 22nd, 2001, 06:10 AM
#5
Hyperactive Member
Don't forget to change this if you put it onto a server!
If you are developing it for a server then I suggest you use a PWS (personal web server). for testing !
-
Oct 22nd, 2001, 06:53 AM
#6
PowerPoster
Originally posted by struntz
Hey guys thanks a ton!

what i had to do was
<a href = "C:/My Documents/Site/htmlFormat/Projects/Projets.htm"
So basically i had to put the whole root, and i had to change from \ to /
Are u sure??? Did u try to use <a href = "../projects/projects.htm"> You should never need to reference the whole root when hyperlinking between diff pages espec in the way u have described ur setup.
Regards
Stuart
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|