Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: html help pls?< Next Oldest | Next Newest >
 Post Number: 1
fatbitch Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 489
Joined: Oct. 2000
PostIcon Posted on: Mar. 17 2001,07:56  Skip to the next post in this topic. Ignore posts   QUOTE

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!

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 2
cr0bar Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 733
Joined: May 2000
PostIcon Posted on: Mar. 17 2001,14:27 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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)

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 3
SimplyModest Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 174
Joined: May 2000
PostIcon Posted on: Mar. 17 2001,14:27 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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..)
but another thing i did just REAL recently was a java frame that was on top of the rest of the page.. (more like DHTML i think.)

------------------
Oh, ho, ho, irony! Oh, no, no, we don't get that here. See, uh, people ski topless here while smoking dope, so irony's not really a high priority. We haven't had any irony here since about, uh, '83, when I was the only practitioner of it. And I stopped because I was getting tired of being stared at.

Offline
Top of Page Profile Contact Info 
 Post Number: 4
Spydir Web Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 13
Joined: Apr. 2001
PostIcon Posted on: Mar. 17 2001,14:58 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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.

------------------
Spydir Web - http://netsyndrome.net/spydirweb/
Net Syndrome - http://www.netsyndrome.net/

Sometimes you're the dog, sometimes you're the hydrant...

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 5
fatbitch Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 489
Joined: Oct. 2000
PostIcon Posted on: Mar. 18 2001,06:49 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

i know i should be using tables.... but i like working with frames

anyway personguy suggested this but of javascript

quote:

<SCRIPT>
function news()
{
window.main1.src = "head_news.html";
window.main2.src = "news.html";
}
</SCRIPT>

<a href="javascript:news();">News</a>


but that gets an error... can anyone fix this up? thanks for your help guys

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 6
SimplyModest Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 174
Joined: May 2000
PostIcon Posted on: Mar. 18 2001,19:02 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

quote:
Originally posted by fatbitch:
i know i should be using tables.... but i like working with frames

anyway personguy suggested this but of javascript

but that gets an error... can anyone fix this up? thanks for your help guys


try taking the semi-colon out of the quotes at the bottom.
<a href="javascript:news()">News</a>

i dont know too much java... but thats all i got for you..

------------------
Oh, ho, ho, irony! Oh, no, no, we don't get that here. See, uh, people ski topless here while smoking dope, so irony's not really a high priority. We haven't had any irony here since about, uh, '83, when I was the only practitioner of it. And I stopped because I was getting tired of being stared at.

Offline
Top of Page Profile Contact Info 
 Post Number: 7
fatbitch Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 489
Joined: Oct. 2000
PostIcon Posted on: Mar. 18 2001,20:36 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

nope
thanks anyway
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 8
Rhydant Search for posts by this member.
I don't work here.
Avatar



Group: Members
Posts: 1843
Joined: Dec. 2000
PostIcon Posted on: Mar. 19 2001,04:10 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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.

------------------
...when you look long into an abyss, the abyss also looks into you
-- Friedrich Nietzsche

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 9
fatbitch Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 489
Joined: Oct. 2000
PostIcon Posted on: Mar. 19 2001,07:18 Skip to the previous post in this topic.  Ignore posts   QUOTE

thanks rhy, but personguy already solved my problem, with something different to what was on that page

quote:

<SCRIPT>
function news()
{
window.parent.main1.location.href = "head_news.html";
window.parent.main2.location.href = "news.html";
}
</SCRIPT>

<a href="javascript:news()">News</a><p>


thanks anyway dude

Offline
Top of Page Profile Contact Info WEB 
8 replies since Mar. 17 2001,07:56 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply html help pls?
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code