Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 10-04-2007, 03:32 AM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Posts: 1
Default stop site redirect

how can a web surfer stop from being redirected to another website when he clicks on a specific link,

in other words, links often take you to a website that you were not trying to get to, i tried disabling javascript, but it didn't work,

how can i stop the redirecting and get to the right website ?
changintimes is offline   Reply With Quote
Old 10-04-2007, 07:59 PM   #2 (permalink)
New Member
 
Join Date: Sep 2007
Location: England
Posts: 20
Default

I'm presuming you're talking about opening the new web site in a new window, you can do this by using the following code in the 'a href' tag:
Code:
target="_blank"
For example:
Code:
<a href="http://www.google.com" target="_blank">Google</a>
That would would open the web site Google in a new window, therefore the user will still remain on the previous website in a separate window.

I hope that is what you're in need of, if not, then try to explain what you're looking for in more detail.
Paul is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:10 AM.


Computer Forum - Internet Business - Webpage Design

 
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.