You are here: Re: Don't want text to be marked when clicking multiple times on it « HTML « IT news, forums, messages
Re: Don't want text to be marked when clicking multiple times on it

Posted by Si on 10/12/36 11:23

tonicvodka@hotmail.com wrote:

> When you want to reserve a certain week you click on it once and it
> changes color to blue for preliminary, clicking it twice makes it
> red(booked) and a third time brings it back to green(available). The
> problem is the number inside the cell gets marked when you are clicking
>
> it. Is there a way to prevent this?
>
If i remember correctly, the following should work, just typed without
checking.
<body onselectstart="return false" ondragstart="return false">
Also, unreliable accross browsers and js on/off.

Also, any other methods can be used to select the text, so probably not
much point using it.

HTH

Si

 

Navigation:

[Reply to this 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

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