Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Linking to a home page when using frames!
Old 06-11-2004, 06:30 AM Linking to a home page when using frames!
Experienced Talker

Posts: 37
Trades: 0
Hello again!!!

Im nearly complete - ive been designing a new website for a school and want to upload it.

Only problem is im not entirely sure how to link it so it works!!!

Ive used frames for the new site and the homepage is called index.htm. However when i just open this alone it doesnt load the frame navigation - just the homepage content is loaded. When i open the frameset page then the navigation is opened along with all the other frames (Content, Banner etc) but obviously where the homepage information is meant to be is blank!!!

How do i link it so when people go to the school website both the frames and homepage content are shown???

Thanks!!

woody!!!
woody22 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-11-2004, 06:37 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
is your frameset something like this?

<frameset cols="128,*" frameborder="no" framespacing="0" border="0">
<frame src="\html\menu.htm" name="menu">
<frame src="\html\main.htm" name="mainpage">
</frameset>

<noframes>

actually, do you have the frameset code so I can see if there's anything wrong?
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------

Last edited by Wenslock; 06-11-2004 at 06:39 AM..
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 06:51 AM
Experienced Talker

Posts: 37
Trades: 0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Wickersley School and Sports College Website</title>
<style type="text/css">
<!--
body {
background-color: #000099;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<frameset rows="101,*" cols="*" framespacing="0" frameborder="NO" border="0" bordercolor="#ECE9D8">
<frame src="banner.htm" name="BannerFrame" frameborder="no" scrolling="NO" noresize id="BannerFrame" >
<frameset rows="*" cols="110,*" framespacing="0" frameborder="NO" border="0">
<frame src="navigation.htm" name="NavFrame" frameborder="no" scrolling="NO" noresize marginwidth="30" id="NavFrame">
<frameset rows="338,92" cols="*">
<frame src="content.htm" name="ContentFrame" frameborder="no" marginwidth="0" id="ContentFrame">
<frame src="Logos.htm" name="Logos" frameborder="no" id="Logos">
</frameset>
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>

Cheers!
woody22 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:03 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
woah! That's quite a few! Gimme a sec and I'll see what I can do
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:08 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
Just a quicky, is this hand coded or WYSIWYG?
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:13 AM
Experienced Talker

Posts: 37
Trades: 0
its done in dreamweaver i havent done any hand coding at all mate

thanks!

Woody

woody22 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:16 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
actually, another thing - can you do me a screenshot? I need to see what you actually mean is going wrong (you said about the navigation)
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:22 AM
Experienced Talker

Posts: 37
Trades: 0
It looks like this when i click on frameset:

http://www.wickersley.net/Web_Design...1/frameset.htm


It looks like this when i click on Index.htm

http://www.wickersley.net/Web_Design...ages/index.htm

but i want it to have both on the same screen at the same time if you see what i mean!

Our current homepage is www.wickersley.net - ive uploaded the new site - basically i just aint sure how to link it so that when people click on wickersley.net it shows the page as i want it to above

Cheers!!
woody22 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:30 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
hmm, it looks like that the content IS the main page, there's no frameset info in the HTML code when I view the source.

rename index.htm to main.htm and then change frameset.htm to index.htm. THEN change the nav menu to say <A href="main.htm" target="ContentFrame">Home</a> That seems to be the problem this end anyway.
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------

Last edited by Wenslock; 06-11-2004 at 07:34 AM..
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:38 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
Framesets are a pain in the rectum aren't they?
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:40 AM
Experienced Talker

Posts: 37
Trades: 0
how do i make it so that when people click www.wickersley.net it opens both the framset (index) and the main page then??

Cheers

Woody
woody22 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 07:47 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
do as above then change

<frame src="content.htm" name="ContentFrame" frameborder="no" marginwidth="0" id="ContentFrame">

TO

<frame src="main.htm" name="ContentFrame" frameborder="no" marginwidth="0" id="ContentFrame">

shouldn't be too difficult

Please tell me if this works too
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------

Last edited by Wenslock; 06-11-2004 at 08:02 AM..
Wenslock is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 08:03 AM
Experienced Talker

Posts: 37
Trades: 0
works fine now!!!

Thanks very much for the assistance!!!!

Yep a pain they certainly are!
woody22 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 08:07 AM
Wenslock's Avatar
Webmaster Talker

Posts: 746
Location: Lincoln, UK
Trades: 0
heh, no prob
__________________
------------------------------------------------------------

Please login or register to view this content. Registration is FREE
- Black Prism professional web design services
------------------------------------------------------------
Wenslock is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Linking to a home page when using frames!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37809 seconds with 12 queries