Solved

Open Website in same window, not within frame

Posted on 2008-10-01
2
1,137 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:
Jai S 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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 …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

777 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