You are here: Re: Convert javascript print-tag to html « HTML « IT news, forums, messages
Re: Convert javascript print-tag to html

Posted by Jonathan N. Little on 05/12/07 13:02

Sherm Pendley wrote:
> "Timmermans" <steventimmermans@yahoo.co.uk> writes:
>
>> btw, your 'select a style' feature on camelbones doesn't work
>> crossbrowser... now that's something the users don't need!

Cheap shot, when he say doesn't work says don't work he means "in IE".
BTW Sherm it would be easy to fix for IE. All you have to do is set and
use the OPTION's value and not selectedIndex:

<select onclick=
"changeStyle(this.value); rememberStyle('CamelBonesStyle',120);
this.value = 0;">
<option value="">
--- Select a style ---
</option>

<option value="0">
Plain (no style)
</option>

<option value="1">
Aqua
</option>

<option value="2">
Aqua - No Tree
</option>

<option value="3">
Black
</option>
</select>


>
> On the contrary - the most common browser used by my visitors (Safari)
> does not provide a built-in means to select among alternative stylesheets.
> Unlike your misguided attempt to duplicate the wheel, the in-page select
> box provides an option that the browser itself does not.

True. The print button be a "feature" of the browser for a long time ;-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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