Please Help Iframe
#1
Posted 18 April 2006 - 02:23 PM
something like this : <a href='x.html' target='one'><a href='y.html' target='two'> Bla Bla Bla </a></a>
so when i press : Bla.... the 2 iframes change into 'x.html' and 'y.html'
is it possible?
#2
Posted 19 April 2006 - 05:09 PM
Futingkiller, on Apr 18 2006, 08:23 PM, said:
something like this : <a href='x.html' target='one'><a href='y.html' target='two'> Bla Bla Bla </a></a>
so when i press : Bla.... the 2 iframes change into 'x.html' and 'y.html'
is it possible?
Umm... I ain't sure what you mean but I can help you make it, I know alot on Iframes. But what do you mean it changes into "2 Iframes"?
#3
Posted 19 April 2006 - 06:06 PM
well anyway, he has two iframes, he wants links to be able to change the page that both iframes display
#4
Posted 19 April 2006 - 06:47 PM
Anyways back to the quetion, I had the same quetion and I asked the helpfull 13dots community and got a reply from Holic. Holic said
holic said:
<a href="URL1.html" target="target1" OnClick="parent.target2.location='URL2.html';">Click me!</a> <iframe name="target1" src="index1.html"></iframe> <iframe name="target2" src="index2.html"></iframe>So, the link targets the 'target1' iframe, while the OnClick targets the 'target2' iframe. I hope that made sense
Edited by tjl30, 19 April 2006 - 06:48 PM.
#5
Posted 19 April 2006 - 06:48 PM
Try this and see if it works.
<a href="frame1.php" target="frame1" onclick="document.frame2.src='frame2.php'"></a>
edit: nvm, he answered 1 minute faster, and mine suggestion would not have worked anyway
Edited by Avalanche, 19 April 2006 - 06:49 PM.
#6
Posted 19 April 2006 - 07:54 PM
Quote
i dont know how to do it, and i said 'think' its not possible. then i said maybe with javascript implying that with html alone its not possible (maybe).
but uhhh now we know it is possible with javascript
#7
Posted 21 April 2006 - 10:49 AM
10x again
#8
Posted 18 May 2006 - 09:40 AM
this is my website
http://www.mark-glasgow.com/xp
I want the rollover-image on the left (the coffee) one, to change the main iframe to "contact.html" and the second_ iframe to "coffeebar.html"
help?
Edited by CodeName.Dalit, 18 May 2006 - 09:40 AM.
#9
Posted 18 May 2006 - 11:30 AM
http://www.pixel2life.com/forums/index.php...ndpost&p=134861
Edited by .Matt, 18 May 2006 - 11:31 AM.
#10
Posted 18 May 2006 - 01:49 PM
it creates two whole new iframes, and elimates the rollover image.
I'm sure it works i just dont know how to implement it.
#11
Posted 25 May 2006 - 12:04 PM
<a href="coffee.html" target="main" OnClick="parent.second.location='coffeebar.html';" onMouseOver="MM_swapImage('Image78','','invert/images/index_13.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/index_13.gif" name="Image78" width="109" height="58" border="0"></a>
Edited by CodeName.Dalit, 25 May 2006 - 12:15 PM.
#12
Posted 26 May 2006 - 02:17 PM
MM_swapImage () and
MM_swapImgRestore ()
have been created by you or dreamweaver?
just asking
Edited by Futingkiller, 26 May 2006 - 02:18 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
