https://bugzilla.wikimedia.org/show_bug.cgi?id=17240


Nux <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #4 from Nux <[email protected]>  2009-02-01 18:03:48 UTC ---
Hm... An easy (and maybe best) fix would be to do initial page setup on the
server side.

All of checkboxes on the right should be hidden with a CSS class that hides
thing when JS is available. This is quite easy to do just add in a header
something like:

<!-- with and without JS visibility -->
<style type="text/css">
.withJSvisible {visibility: hidden}
</style>
<script language="JavaScript" type="text/javascript">
document.write(String.fromCharCode(60),'style
type="text/css"',String.fromCharCode(62),
        '.withJSvisible {visibility:visible !important} ',
        '.withoutJSvisible {visibility:hidden !important} ',
        String.fromCharCode(60),'/style',String.fromCharCode(62)
);
</script>

Then just add class="withoutJSvisible" to all inputs (checkboxes) on the right
except the top one.

Then only thing left would be to mark active li elements, but at start those
are always the first two so it's independent of the page length.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to