[pydotorg-www] [PSF-Volunteers] International Symbol - request for addition
Georg Brandl
georg at python.org
Tue Apr 27 08:41:47 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 26.04.2010 20:47, schrieb grubert at users.sourceforge.net:
> this way (i am javascript ignorant)
>
> <html>
> <head>
> <script type="text/javascript">
> var lang_idx = 0;
> var Languages = new Array(
> "Afrikaans", "Ahmara", "Algerian"
> );
> function language_rotator( Element ) {
> Element = document.getElementById("lang-img-ref");
> if (Element) {
> lang_idx += 1;
> if (lang_idx >= Languages.length) {
> lang_idx = 0;
> }
> Element.title = Languages[lang_idx];
> Element.href =
> "http://wiki.python.org/moin/"+Languages[lang_idx]+"Language";
> }
> }
> </script></head>
Urgh... JS without jQuery feels so clunky... :)
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iEYEARECAAYFAkvWhyoACgkQN9GcIYhpnLCbBACfUWymIkEyXMDnU1AKGAvF1ITg
tVAAnRFgNMWCh3tkFgTgXHP7aAyLptY2
=nVqp
-----END PGP SIGNATURE-----
More information about the pydotorg-www
mailing list