|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2003
Location: UK
Posts: 928
|
open multiple pages from one link?
no its not a php question for once
loldont know if this this possible with javascript im wanting to open 5 pages each in its own iframe from one html link in another iframe any help appreciated ![]() thanks -c0lin |
|
|
|
|
|
#3 (permalink) |
|
Lurking AdMiN
Join Date: Mar 2003
Location: In my own little world. Buts its ok. They know me here.
Posts: 3,245
|
Ooo C0lin.. thats a good one actually. Let me play around with some code .. I'll let you know if I can get that to work. At first glance I would say no.. but no telling whats possible in dreamweaver
I'll get back to ya on this today
__________________
Vote For Us! -- It will get you hot chicks. No really It will! ---- www.myTego.com - Give your devices a face! Dont be a conformist! |
|
|
|
|
|
#4 (permalink) |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
well, not to eat away the grass before Cirga's feet, but yes you can...
Code:
<script type="text/javascript">
function multipleOpen() {
document.getElementsByName("frame1").location="location1.html";
document.getElementsByName("frame2").location="location2.html";
document.getElementsByName("frame3").location="location3.html";
}
</script>
<iframe id="frame1">
foo
</iframe>
<iframe id="frame2">
bar
</iframe>
<iframe id="frame3">
eek!
</iframe>
<a href="javascript(void);" onclick="multipleOpen();">Click for some action!</a>
there are probably a zillion little errors in this piece of code, but this is the basic idea to do it.
__________________
Linux virusscanner detected a virus: Windows 95 ... delete [Y/n] y ~ ~ :wq |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|