Hello,
Below is the code for the frames:-
<
frame
id
=
"xyz"
src
=
"example.html"
>
Below is the code from the main HTML to change the source of the frame:-
<script>
document.getElementById("xyz"
).src = "example2.html"
; // Non Prototype Calls
$("xyz"
).src = "example2.html"
; // For calls with Prototype JS Inherited
</script>
To change the source of another frame from 1 frame then the hidden trick is:-
<a href="example3.html"
target="xxyyzz"
style="display:NONE"
id="testLink"
>Hello</a>
<script>
document.getElementById("testLink"
).click(); // used for calls without prototype JS implemented
$("testLink"
).click(); // used for calls when prototype JS is implemented
</script>
Hope you like the codes specially the last one.
Regards,
Akshit Soota
A give back money offer on my domains at http://www.namepros.com/showthread.php?p=3368384#post3368384 . For each 2,000$ Domains you buy, you get 300$ back within 2 days of purchase , For each 1,000$ Domains you buy, you get 250$ back within 3 days of purchase, For other priced domain you buy, you get 400$ back within 2 days of purchase. You can choose any one offer ( Bulk Buy / Above given Offer ). You will need to give me the "FORUMSXYZ" code on your purchase for the above offer. For each order you do, you get a code, and each person you pass on this project and then he/she buys my domain then:- For each 2,000$ Domains he/she buys, you get 100$ back within 2 days of purchase, For each 1,000$ Domains he/she buys, you get 50$ back within 3 days of purchase, For other priced domain he/she buys, you get 150$ back within 2 days of purchase. Grab your domain fast ( although they are .info but still precious ones )