Reply to Re: unwanted page reload

Your name:

Reply:


Posted by Neredbojias on 05/19/06 09:22

To further the education of mankind, "julian_m"
<julianmaisano@gmail.com> vouchsafed:

>> > After double-clicking the link the browser wants to reload the
>> > page, even though there is not any link at all.

>> It's 'cause you have an empty href.
>>
>> Do:
>>
>> <a href="javascript:void(0)" ondblclick="show_div('the_div_3');
>> return false;">

> Great, thanks.
>
> It's strange what happens with (click != dblclick) though

The href picks up the click before the double-click, and when empty reacts
in browser-specific ways.

--
Neredbojias
Infinity has its limits.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация