You are here: Re: How to set the color of a checkbox « HTML « IT news, forums, messages
Re: How to set the color of a checkbox

Posted by Nik Coughlin on 12/02/99 11:40

Stefan Mueller wrote:
>> http://nrkn.com/customCheck/
>
> I have a problem with your solution.
> If you modify the line
> <body onload="document.getElementById( 'check' ).style.display =
> 'none';"> of your code with
> <body onload="document.getElementById( 'check' ).style.display =
> 'inline';">
> then you'll see also the real checkbox.
>
> If you click now on the colored checkbox (image) the real checkbox
> gets also checked. But if you press now F5 (browser refresh) the real
> checkbox remains checked whereas the colored checkbox gets cleared.
> Therefore I have an inconsistency between the real and the colored
> checkbox. If you press Shift + F5 then it works.
>
> Does someone know how to fix this problem?
> Stefan

Hi Stefan,

That didn't occur to me. I've updated the example I provided you to show
how to handle this:

http://nrkn.com/customCheck/

 

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

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