Log in

View Full Version : 2 Pages > 2 Iframes



Beb
21-07-2006, 05:43 PM
Rights guys, i know this probs is a strange one but here goes. I need for when i click a Link (Hyperlink) for it to open 2 different things in 2 different iframes on the page. So say i clicked a link "Habbox" it would open habboxforum in one and Habboxlive in the other < Example.

Any ideas? - Be great if someone cud figure this out and post the html/php code back

thanks guys!
Tom

additional
21-07-2006, 06:00 PM
I was looking for the same thing a few weeks back, I didn't have any luck. Let us know how you go.

Beb
21-07-2006, 06:02 PM
Will Do :)

awelsh
21-07-2006, 09:03 PM
i think cpanel has something like that. i will have a try at it but cant promise sucess

Mentor
21-07-2006, 09:07 PM
Quite easy but youd need JS to do it, Just give each ifraim an id say if1 and if2

then make the link something like


<a onClick="document.getElementById("if1").src='http://habbox.com'; document.getElementById("if2").src='http://habboxlive.com'; ">Habbox</a>

havent checked to tested code but im guessing it should work

Colin-Roberts
21-07-2006, 09:45 PM
forgot the target mentor
edit nvm i see it.

Josh-H
24-07-2006, 09:55 AM
So did 01101101entor's code work?

Want to hide these adverts? Register an account for free!