 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
GrantBedard
Joined: 07 Dec 2008
Posts: 5
|
| Posted: Sun Dec 07, 2008 12:47 pm Frame Target problems |
|
|
Alright, so i have a side bar, a heading, and main bar frame. i want my links in the side bar to open in the main frame, but when i programmed it to do that, it opened in a whole new window.
Here is the code for the side bar.
<html>
<body link=black vlink=black alink=red>
<ul>
<li type=circle><a STYLE="text-decoration:none" href="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\Early Life.html" TARGET=MAIN>Louis Pasteur's Early Life </a></li type=circle>
<li type=circle><a STYLE="text-decoration:none" href="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\10 Discoveries.html" TARGET=MAIN>Louis Pasteur's Top 10 Discoveries</a></li type=circle>
<li type=circle><a STYLE="text-decoration:none" href="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\Later Life.html" TARGET=MAIN> Louis Pasteur's Later Life</a></li type=circle>
</ul>
</body link=black vlink=black alink=red>
</html>
And here is the main frame
<html>
<FRAMESET ROWS="20%,*">
<FRAME SRC="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\Home page\Header of home page.html" NAME=TITLE SCROLLING=NO>
<FRAMESET COLS="20%,*">
<FRAME SRC="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\Home page\Navigation Sidebar.html" NAME=SIDEBAR>
<FRAME SRC="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\Home page\Body text of Home Page.html" NAME=MAIN>
</FRAMESET>
</FRAMESET>
</html> |
|
|
GrantBedard
Joined: 07 Dec 2008
Posts: 5
|
| Posted: Sun Dec 07, 2008 1:14 pm All fixed |
|
|
Alright, i found the problem, well, two problems.
1) I was in the old main page, the one before I decided to create the final page by copy and pasting the code, I don't know why i did that.
2) I saved it as a .txt file, not an .html
Moral of the story?
Check to make sure you
A) Save it correctly
B) You are in the right window |
|
|
sticks464
Joined: 31 Dec 2006
Posts: 2625
|
| Posted: Sun Dec 07, 2008 4:12 pm |
|
|
While this may work on your computer for testing, it will not work on a server. You need to save all your files inside a folder eliminating the absolute path, and use a relative path.
will not work
Code: SRC="C:\Users\Grant Bedard\Desktop\Louis Pasteur Website\Home page\Header of home page.html"
Will work from inside a folder
Code: SRC="Header of home page.html" |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|