Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JS target two frames with One Click!

Status
Not open for further replies.
OMGosh!
I got it!
The onclick method didn't work for me, I found a jscript and modified it! In the nav with all the links is this script

<SCRIPT language=JavaScript>
<!--
function navAll() {
parent.frames[1].location.href=&quot;botnav.html&quot;;
parent.frames[2].location.href=&quot;mainbase.html&quot;; }

function navAll2() {
parent.frames[1].location.href=&quot;botnav2.html&quot;;
parent.frames[2].location.href=&quot;mainbase.html&quot;; }

// --></SCRIPT>

<A href=&quot;javascript:navAll()&quot;>Link<a>

Feels good!
mxw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top