ma-s Posted November 8, 2009 Report Share Posted November 8, 2009 Помогите пожалуйста изметить этот скрипт так что бы при клике ссылка открывалась не в новом окне а в этом же. СПС<a href="#" onclick="window.open ('http://www.site.ru'); return false;">переход на субдомен</a> Quote Link to comment Share on other sites More sharing options...
0 ATI Posted November 8, 2009 Report Share Posted November 8, 2009 <a href="http://www.site.ru">переход на субдомен</a> Quote Link to comment Share on other sites More sharing options...
0 ma-s Posted November 8, 2009 Author Report Share Posted November 8, 2009 (edited) <a href="http://www.site.ru">переход на субдомен</a>К сожалею подобный вариант явно не подходит))Надеюсь вы пошутили.P.S: нужно сделать переход не видимым для поисковых ботов, именно скриптом Edited November 8, 2009 by ma-s Quote Link to comment Share on other sites More sharing options...
0 ATI Posted November 8, 2009 Report Share Posted November 8, 2009 Вопрос нужно чётко описывать)<a href="#" onclick="location.replace('http://site.com')">click</a> Quote Link to comment Share on other sites More sharing options...
0 ma-s Posted November 8, 2009 Author Report Share Posted November 8, 2009 Вопрос нужно чётко описывать)<a href="#" onclick="location.replace('http://site.com')">click</a>Спасибо огромное )) Quote Link to comment Share on other sites More sharing options...
0 Игорь Ермаков Posted November 8, 2009 Report Share Posted November 8, 2009 P.S: нужно сделать переход не видимым для поисковых ботов, именно скриптомА чем nofollow/noindex не угодил? Quote Link to comment Share on other sites More sharing options...
0 Иван Шумов Posted November 8, 2009 Report Share Posted November 8, 2009 А чем nofollow/noindex не угодил?некоторые поисковики игнорируют Quote Link to comment Share on other sites More sharing options...
0 ma-s Posted November 8, 2009 Author Report Share Posted November 8, 2009 (edited) некоторые поисковики игнорируют Поддерживаю Кроме того поисковики все равно читают эти ссылки, просто не учитывают их. Edited November 8, 2009 by ma-s Quote Link to comment Share on other sites More sharing options...
Question
ma-s
Помогите пожалуйста изметить этот скрипт так что бы при клике ссылка открывалась не в новом окне а в этом же. СПС
<a href="#" onclick="window.open ('http://www.site.ru'); return false;">переход на субдомен</a>
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.