Slashdot Mirror


User: thred

thred's activity in the archive.

Stories
0
Comments
3
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3

  1. Re:I'm 15 and I ask, is this worth playing? on M.U.L.E. Is Back · · Score: 1

    It is more like a table top game than a simulation. Easy to learn, hard to master...

  2. Austria won't pull out of CERN on Austria To Pull Out of CERN · · Score: 1

    After a week long discussion Federal Chancellor Faymann just announced, Austria won't pull out of CERN (news Austrian Television (Google Translated)).

  3. Broke this patent two weeks ago on IBM Patents Checking a Box · · Score: 1

    I have implemented this two weeks ago in an application for the company i work for.....on the 19th Sept...just checked the repository. Heres the code

    <script type="text/javascript">
    var CheckBoxMultiSelect = {
            mouseIsDown: false,
            checkBoxIsChecked: false,
            initialCheckBox: null,

            setMouseIsDown: function(elem, event, value) {
                    this.mouseIsDown = value;

                    if ('INPUT' == elem.nodeName) {
                            this.initialCheckBox = elem;
                            this.checkBoxIsChecked = !elem.checked;
                    }
                    else
                            this.initialCheckBox = false;
            },

            onCheckboxMouseOver: function(elem, event) {
                    if (this.mouseIsDown) {
                            if ((this.initialCheckBox) && (elem != this.initialCheckBox)) {
                                    this.initialCheckBox.checked = this.checkBoxIsChecked;
                                    this.initialCheckBox = null;
                            }

                            elem.checked = this.checkBoxIsChecked;
                    }
            }
    }
    </script>

    <body onmouseup="CheckBoxMultiSelect.setMouseIsDown(this, event, false)"> ....

    <input .... onmouseover="CheckBoxMultiSelect.onCheckboxMouseOver(this, event)" onmousedown="CheckBoxMultiSelect.setMouseIsDown(this, event, true)"/> ....
    </body>

    Do I have to remove this code now?