Hussein Shafie escribi?:
> Andy Black wrote:
>
>>Is there a way to dynamically change an element's CSS display value
>>between 'none' and, say, 'inline'?
>
> foo {
> display: inline;
> }
>
> foo[bar] {
> display: none;
> }
>
> Adding attribute "bar" hides element "foo". Removing attribute "bar"
> displays element "foo".
> ...
>
>>It would be nice to create a custom menu option, for example, that would
>>toggle between "show indexing markup" and "hide indexing markup". If it
>>is set to "show", then the indexing markup element(s) would have their
>>CSS display set to 'inline.' If it is set to "hide", then these
>>elements would have the CSS display value set to 'none.'
What about simply having two alternate stylesheets and switching between
them with the "View" drop-down menu?
Regards.
--
------------------------------------------------------------------------
Manuel Collado Machuca | Facultad de Informatica UPM
Universidad Politecnica de Madrid | Campus de Montegancedo
Dep. LSIIS | Boadilla del Monte
Tel.+34-91-336.74.57 Fax.+34-91-336.65.95 | 28660 MADRID - SPAIN
------------------------------------------------------------------------