Forum: Geek Forum Topic: html help pls? started by: fatbitch Posted by fatbitch on Mar. 17 2001,07:56
Ok i have a question for all you html guru's. How (if possible!) can i make a link point to 2 different pages to load in 2 separate frames?i.e if i have main1.html and main2.html, and i want main1.html to open in the frame named "main1" and ALSO have main2.html load in "main2" frame with one click? i thought maybe you could do this by href'ing to main1.html and having a meta refresh inside main1.html to refresh to main2.html, with a tag similar to "target" so it refreshes into a different frame?? is this possible? god i hope that all makes sense! please help! Posted by cr0bar on Mar. 17 2001,14:27
The most browser-safe way to do this is to have your link point to a new frameset file, with the target being "top".By the way, frames are horrible and you should never use them unless you absolutely have to (for instance, large software manuals or a huge FAQ) Posted by SimplyModest on Mar. 17 2001,14:27
that should work... but there is prally an easier way to do it..like.. give us a link to the page in progess. (i personally use tables for everything, mainly cause i think frames look bad..) ------------------ Posted by Spydir Web on Mar. 17 2001,14:58
if you're doing strickly HTML, do like cr0 said and just put main1 and main2 into their own frame thing so basicly you're running frame-in-frame type thing. If you wanna go |<-r4d 31337, I'm sure you could bust out some javascript code to something like that.------------------ Sometimes you're the dog, sometimes you're the hydrant... Posted by fatbitch on Mar. 18 2001,06:49
i know i should be using tables.... but i like working with frames anyway personguy suggested this but of javascript
quote: but that gets an error... can anyone fix this up? thanks for your help guys Posted by SimplyModest on Mar. 18 2001,19:02
quote: try taking the semi-colon out of the quotes at the bottom. i dont know too much java... but thats all i got for you.. ------------------ Posted by fatbitch on Mar. 18 2001,20:36
nope thanks anyway Posted by Rhydant on Mar. 19 2001,04:10
jesus christ. have non of you people EVER heard of < HTML Goodies >?go < here > for changing 2 frames at once. i dont use frames, so i didnt bother to read it. you have to i am so l33t. ------------------ Posted by fatbitch on Mar. 19 2001,07:18
thanks rhy, but personguy already solved my problem, with something different to what was on that page
quote: thanks anyway dude |