Hi again,
        Someone who subscribes to the WebTen list noticed I am also
subscribed the the SIMS list & sent this to me - some admins will enjoy it
I'm sure.

Message begins

>Hi there - I see that as well as being on the WebTen list you are also on
>the SIMS list, which I am not.  I've just put together a quick Javascript
>for the SIMS web admin system & thought it might be useful to others, so
>maybe you could forward this to the SIMS list:
>
>
>I get very tired of having to select all the checkboxes when I want to
>delete a couple of months worth of logs via the SIMS web admin pages, so I
>wrote a javascript to do this for me.  I hardly ever use js, so I'm
>feeling quite pleased with myself that it works at all!  (There are
>probably better ways of doing this and my syntax may not be 100% correct -
>but, hey, it works for me.)
>
>All that you need to do is paste it into the browser's location field and
>hit return.  It should tick all the checkboxes on the page.
>
javascript:var theform = window.frames[1].document.forms[0];
var counter = 0;
while (theform.elements[counter]) {
if (theform.elements[counter].type == 'checkbox')
theform.elements[counter].checked = true;
counter++;
}
return false;
>
>I've tested it on iCab (2.6) and Mac IE 4.5,  but for IE 4.5 you need to
>remove the last line (return false;) or else it complains.  iCab needs the
>'return false' or it will write the value of the variable 'counter' to the
>window(?!).
>
>Best regards,
>
>James Harvard
>[EMAIL PROTECTED]

<message ends.


        Bye for now, Terry Allen
        ___________________________________________________________________
hEARd

Postal Address:
        hEARd
        c/o 128 The Entrance Rd
        The Entrance
        NSW    2261
        Australia

Internet -
        WWW:
        http://heard.com.au or http://www.ozemail.com.au/~hmag
        http://hosting.heard.com.au

Interactive Message Board - http://heard.com.au/wwwboard/

EMAIL: (checked every Thursday & Sunday, sometimes more often)
[EMAIL PROTECTED]

----------------------------------
Non profit promotion for new music
----------------------------------
Also, check out the Educate site - http://www.educate.net.au



#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[EMAIL PROTECTED]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to