Nudua Posted March 4, 2006 Share Posted March 4, 2006 Hello...I have a link in javascript, but I use frames and need to know how to get inn the whole page, not just in the frame the link is in. Like it`s target="_parent" in HTML... <td id="link" onmouseover='this.bgColor="999999"' onmouseout='this.bgColor="cccccc"' onClick='window.location="index.html"'><a id="link" href="index.html" target="_parent">Forside</a></td> Link to comment Share on other sites More sharing options...
scott100 Posted March 4, 2006 Share Posted March 4, 2006 Hi, use parent.location onClick='parent.location="index.html"' Link to comment Share on other sites More sharing options...
Nudua Posted March 4, 2006 Author Share Posted March 4, 2006 Thanks Scott100! 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