Solved

Open Website in same window, not within frame

Posted on 2008-10-01
2
1,132 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

708 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

12 Experts available now in Live!

Get 1:1 Help Now