Solved

Open Website in same window, not within frame

Posted on 2008-10-01
2
1,134 Views
Last Modified: 2012-05-05
Here's a ling of code. It works fine but it opens the website within a frame. I want it to open the website in the same window, so it replaces the the existing one. Is there something equivalent to target I can use?
<li id="Our_Website" onMouseOver="show(this.id);" onMouseOut="hide(this.id);" onClick="nav(this.id, '../../index.html', 2);">To our Website</li>

Open in new window

0
Comment
Question by:Jason210
2 Comments
 
LVL 14

Accepted Solution

by:
jaiganeshsrinivasan earned 500 total points
ID: 22612385
onClick="javascript:window.open('../../index.html','_self');"
0
 
LVL 11

Author Closing Comment

by:Jason210
ID: 31501878
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now