The conventional fix has been to default the element style to hidden (or
display:none), and reveal it w/ jQuery on document.ready.  That way it is
hidden to non-js users.  Any structural problems with this approach from
your perspective, Owen?

--joe

On Wed, Jan 7, 2009 at 12:08 PM, Owen Leonard <[email protected]> wrote:

> > -<!-- TMPL_IF NAME="opacbookbag" --><span id="cmspan"></span><!--
> /TMPL_IF -->
> > +<!-- TMPL_IF NAME="opacbookbag" --><span id="cmspan"><a href="#"
> id="cartmenulink" class=\"\"><i></i><span><i></i><span></span><img
> src="/opac-tmpl/prog/images/cart.gif" width="14" height="14" alt=""
> border="0" /> Cart<span id="basketcount"></span></span></a></span><!--
> /TMPL_IF -->
>
> The trouble with this change is that now the Cart link will appear to
> users who have Javascript turned off. I realize that this is probably
> a tiny number of users, but all the same I wish we could find a
> solution to this translation problem that kept display of the Cart
> button a Javascript-based event.
>
>  -- Owen
>
> --
> Web Developer
> Athens County Public Libraries
> http://www.myacpl.org
> _______________________________________________
> Koha-patches mailing list
> [email protected]
> http://lists.koha.org/mailman/listinfo/koha-patches
>
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to