?
Solved

Open Website in same window, not within frame

Posted on 2008-10-01
2
Medium Priority
?
1,146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
Jai S earned 2000 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

Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

Question has a verified solution.

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

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

752 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