stone Posted January 16, 2007 Share Posted January 16, 2007 first offthank you for taking interst in this topic in advance, i really appriciate it.-what i'm trying to do isa page with two horizonal framesthe upper frame is a navigation set, you know...home...and stuffthis navigation uses onclick with the <td> tagmy problem is that i don't know how to make the onclick code change the URL of the lower frame <script language="javascript">function highlight(id,color) { id.style.backgroundColor = color; } function revert(id,color) { id.style.backgroundColor = color; }</script><td style="border-top-width: 0px; cursor: pointer;" id="red" width="80" onmouseover='highlight(red,"#FF0000")' onmouseout='revert(red,"#000000")' onclick='window.location="/"'> Link to comment Share on other sites More sharing options...
aspnetguy Posted January 16, 2007 Share Posted January 16, 2007 Try thisonclick='frames["frameName"].location="some url"' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now