Dynadot โ€” .com Registration $8.99

Html, headache over frames

Spaceship Spaceship
Watch
Impact
0
Hiya!

My website is build in html and frames. Right now I'm working on something I can't seem to figure out how to do. Maybe it's impossible, maybe someone here knows how to do it.

In my left frame I have text linking to pages which open in the right frame. There's also a link that opens a new left frame to display options under that specific link.
But now I want both. I want my visitors to be able to click on a textlink in the left frame and not only find that it opens another left frame with options, but also a right frame. (am I explaining this in a comprehensive fasion?) Can someone tell me how to do this?

If you want to see what I mean by 'options', go to my site and click on the word 'ervaringen' in the left frame. All the other textlinks in the leftframe open in the right frame.

Hope I'm making myself clear, I'm not having a very good 'English-day'. ;)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Code:
javascript:top.frame1.location.href="page1.htm";top.frame2.location.href="page2.htm";

put that on a "onclick" on your link and you should be done
 
0
•••
Use JavaScript to accomplish this. Note that if JS is disabled in the user's browser then it won't load the page on the left.

HTML:
<a href="page-right.html" target="right" onclick="parent.left.location='page-left.html'">link</a>
 
0
•••
Why use frames at all ???
 
0
•••
Barefoottech said:
Why use frames at all ???

Why not?

They can be abused, like anything, but they exist for a reason ;)
 
0
•••
Barefoottech said:
Why use frames at all ???


Why does gmail use frames?
 
0
•••
axilant said:
Why does gmail use frames?
Because they are Behind the TIMES??
 
0
•••
Oh God... I feel like such a n00b right now... :red: I don't get it... I'm so embarrassed...

Can you be more specific please? (I know, I'm being a n00b-pain-in-the-rear :red: )

There's three pages involved: framelinks.htm (original left frame), spinsels.htm (right frame that needs to open) and framelinks3.htm (new left frame that needs to open). The target for opening something in the left frame is 'linker' and the target for opening something in the rightframe is 'rechter'.

Could you please, please help me out by making a clear cut code that I can just copy paste into my source? :red: I'm not lazy, but I just get it only when I see it. I know, you're thinking right now: how did she manage to get a site online at all? :hehe:
 
0
•••
I can't get through to your site so I can't see what the page looks like. But if you simply replace parent.left with parent.linker and parent.right with parent.rechter in mchs' code above that should do the trick.

Alternativly, you can do this without javascript. Create a second frame set that has the other left and right frames and use that as your link with a target of top.

As others have said, avoid frames if possible.
 
0
•••
Barefoottech said:
Because they are Behind the TIMES??

No because your stuck in the thought that frames are bad. Frames can be good and then they can be good, depends how they are used. To me, id rather use AJAX and use DIV's and just keep the <div>s updated every 10-15 seconds. Of course that is WAY advance for this topic.
 
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
DomainEasy โ€” Live Options
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back