cant make frames for web pages
26-04-2006, 22:57
|
#1
|
|
while(!naked){--clothes}
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,101
|
cant make frames for web pages
hey everyone.
I have made a couple of basic web pages to test frames.
I want to make a navigational html file and make that static, then change on frame to change the page to whichever link i press, but I cant get teh frames to work, but I been at w3schools all night I follow what they say been to other sites follewed and copied pages, but I don't seem to get it to work ever in ie or ff.
could someone help?
ik
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
|
|
|
26-04-2006, 23:03
|
#2
|
|
cf.mega poster
Join Date: Nov 2003
Location: Reading
Age: 24
Services: Virgin Media Broadband Size M
Posts: 6,849
|
Re: cant make frames for web pages
let's see a bit of your code to kick start things!
__________________
Chinese Proverb: Man who walks round with hand in pocket feels cocky all day.
|
|
|
26-04-2006, 23:29
|
#3
|
Join Date: Mar 2006
Location: Oslo, Norway.
Services: Get.no 26Mb/3Mb Cable
Posts: 6,559
|
Re: cant make frames for web pages
I wonder if he's not telling it to load in the correct frame...
Yep, a little of the code would be nice
__________________
Intel C2D E8400@4Ghz (52c) | 2Gb HyperX RAM | nVidia 8800GT 512Mb (700/1000) | Corsair VX550w PSU | Gigabyte EP35-DS3R | Win XP SP3 | 500Gb Seagate Barracuda 7200.11
|
|
|
26-04-2006, 23:40
|
#4
|
|
while(!naked){--clothes}
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,101
|
Re: cant make frames for web pages
main page from the body tags:
Code:
<frameset rows="10%,*">
<frame SRC="navigate.html">
<frame SRC="test.html" name="showframe">
</frameset>
from navigation page:
Code:
<style type="text/css">
.navigate{background-color:#8cafd3; color:#000000; font-size:14px; width:100%; font-weight:bold; text-align:center;}
.navigate2{background-color:#5282bd; color:#0000ff; font-size:6px; width:100%;}
</style>
</HEAD>
<BODY>
<div class="navigate">
<A HREF="test.html" target="showframe">test</A> |
</div>
<div class="navigate2"> </div>
</BODY>
and my test page:
Code:
<BODY>
<fieldset><legend>Testing a legend:</legend>
<fieldset><legend>Testing a legend:</legend>
yip it works<input type="text" size="3" />
nope it does not<input type="text" size="3" /></fieldset>
yip it works<input type="text" size="3" />
nope it does not<input type="text" size="3" /></fieldset>
</BODY>
ik
p.s. remember I am just playing, but would like to get it working to change my main site, as I would like the navigation part to stay at the top in one frame and change the bottomn frame accordingly
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
|
|
|
26-04-2006, 23:45
|
#5
|
Join Date: Mar 2006
Location: Oslo, Norway.
Services: Get.no 26Mb/3Mb Cable
Posts: 6,559
|
Re: cant make frames for web pages
Well, as the original frame already has test.html loaded into it, how would you notice when you click the link to make test.html appear in it again?
Your HTML looks fine
Try changing this...
Code:
<frameset rows="10%,*">
<frame SRC="navigate.html">
<frame SRC="test.html" name="showframe">
</frameset>
to this...
Code:
<frameset rows="10%,*">
<frame SRC="navigate.html">
<frame SRC=about:blank name="showframe">
</frameset>
Then click the link you have made and see
__________________
Intel C2D E8400@4Ghz (52c) | 2Gb HyperX RAM | nVidia 8800GT 512Mb (700/1000) | Corsair VX550w PSU | Gigabyte EP35-DS3R | Win XP SP3 | 500Gb Seagate Barracuda 7200.11
|
|
|
26-04-2006, 23:49
|
#6
|
|
while(!naked){--clothes}
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,101
|
Re: cant make frames for web pages
nothing loads at all thats the problem
I see nothing and I mean nothing
ik
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
|
|
|
26-04-2006, 23:56
|
#7
|
Join Date: Mar 2006
Location: Oslo, Norway.
Services: Get.no 26Mb/3Mb Cable
Posts: 6,559
|
Re: cant make frames for web pages
Ok, that's weird. Try this, extract the attachment below and double click index.html
__________________
Intel C2D E8400@4Ghz (52c) | 2Gb HyperX RAM | nVidia 8800GT 512Mb (700/1000) | Corsair VX550w PSU | Gigabyte EP35-DS3R | Win XP SP3 | 500Gb Seagate Barracuda 7200.11
|
|
|
26-04-2006, 23:58
|
#8
|
|
while(!naked){--clothes}
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,101
|
Re: cant make frames for web pages
Quote:
|
Originally Posted by Druchii
Ok, that's weird. Try this, extract the attachment below and double click index.html
|
that works
ik
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
|
|
|
27-04-2006, 00:00
|
#9
|
Join Date: Mar 2006
Location: Oslo, Norway.
Services: Get.no 26Mb/3Mb Cable
Posts: 6,559
|
Re: cant make frames for web pages
Quote:
|
Originally Posted by ikthius
that works ik
|
It's just your HTMl, put into a directory. I don't get it.
Unless you werte using .htm extensions instead of html? and referencing them as the wrong types. (htm as htm, etc)
__________________
Intel C2D E8400@4Ghz (52c) | 2Gb HyperX RAM | nVidia 8800GT 512Mb (700/1000) | Corsair VX550w PSU | Gigabyte EP35-DS3R | Win XP SP3 | 500Gb Seagate Barracuda 7200.11
|
|
|
27-04-2006, 00:03
|
#10
|
|
while(!naked){--clothes}
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,101
|
Re: cant make frames for web pages
Quote:
|
Originally Posted by Druchii
Quote:
|
Originally Posted by ikthius
that works ik
|
It's just your HTMl, put into a directory. I don't get it.
Unless you werte using .htm extensions instead of html? and referencing them as the wrong types. (htm as htm, etc)
|
I always use html not htm, they are all on the desktop so they should all work, they still are not, I will play
thanks
ik
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
|
|
|
27-04-2006, 00:05
|
#11
|
Join Date: Mar 2006
Location: Oslo, Norway.
Services: Get.no 26Mb/3Mb Cable
Posts: 6,559
|
Re: cant make frames for web pages
Quote:
|
Originally Posted by ikthius
I always use html not htm, they are all on the desktop so they should all work, they still are not, I will play thanks ik
|
Interesting, just tried it on the Desktop, no problems whatsoever here.
Good luck
__________________
Intel C2D E8400@4Ghz (52c) | 2Gb HyperX RAM | nVidia 8800GT 512Mb (700/1000) | Corsair VX550w PSU | Gigabyte EP35-DS3R | Win XP SP3 | 500Gb Seagate Barracuda 7200.11
|
|
|
28-04-2006, 17:06
|
#12
|
|
while(!naked){--clothes}
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,101
|
Re: cant make frames for web pages
I found my problem, I had the framest tag within the body tag, take the body tag away and then I got it working.
now to figure out the best size for the navigation frame for most screen resolution/sizes....
ik
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
|
|
|
28-04-2006, 17:53
|
#13
|
Join Date: Mar 2006
Location: Oslo, Norway.
Services: Get.no 26Mb/3Mb Cable
Posts: 6,559
|
Re: cant make frames for web pages
Quote:
|
Originally Posted by ikthius
I found my problem, I had the framest tag within the body tag, take the body tag away and then I got it working. now to figure out the best size for the navigation frame for most screen resolution/sizes.... ik
|
The frameset tag shouldbe withing the <head> of the document really.
__________________
Intel C2D E8400@4Ghz (52c) | 2Gb HyperX RAM | nVidia 8800GT 512Mb (700/1000) | Corsair VX550w PSU | Gigabyte EP35-DS3R | Win XP SP3 | 500Gb Seagate Barracuda 7200.11
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 01:44.
|