iframe target to regular frame
- Started
- Last post
- 12 Responses
- doppio
Is there a way for a link within a iframe to target to the regular frame?
For example:
A regular frameset contains framesA and B. An iframe is placed in frame A, and a link within the iframe need to change the content of frame BIs this possible? Thanx.
- unformatted0
no.
- unformatted0
yes.
- unformatted0
maybe?
- kpl0
target="_top"
- doppio0
?
- kpl0
[a href="blah" target="_top"][/a]
- unformatted0
target="OMGIAMAFRAME"
- doppio0
target="_top" will break away from the regular frameset
- shellie0
im assuming you would target whatever the frame name is.. iframe or regular frame.. it would be done the same way i would think.
why the heck cant you make a regular frameset without using iframes? i always thought iframes were kinda silly cos most of the time you can do it without them. i have a hellofa frameset on http://audioslave.com but it works cross browser pretty well actually.
- Mick0
Use some javascript on the link...
(a href="#" onClick="top.targetFrameName.loc...
- Mick0
Those ( ) in my last post are of course :)
- doppio0
works great, thanks Mick