search for: thinkof

Displaying 5 results from an estimated 5 matches for "thinkof".

Did you mean: thinko
2006 Feb 03
4
Anonymous function variable scope issue
Hey all, I joined this list mostly because I don''t see too much in the OO javascript arena, and I have q''s (of course). I have a little pet project I am working on, you can see it here: http://thinkof.net/notify/index.html I have a class Notify.Alert() that takes some options and displays a div alert instead of a javascript one. Currently it is configurable to allow several options, including the effects for showing and hiding the divs (using script.aculo.us). Now onto the questions....
2006 Feb 10
13
Element.observe () binding
Hey all, I working on a project, but I am not sure I can do what I want to do. The following works beautifully: Event.observe(el, ''click'', function () { this.className += " myClass"; return false; }); I have also tried doing this: this.varname = ''test''; Event.observe(el, ''click'', function () { alert (this.varname); }.bind
2006 May 05
0
Node wrapping, node replacement, magic buttons...
...createElement (''div''); $(''myElement'').parentNode.insertBefore (myDiv, $(''myElement'')); Element.remove(''myElement''); You can see actual working code of this if you like. It is a little project I started working on: http://thinkof.net/projects/js/magic_buttons/index.html My wrap node method is here (at line 71): http://thinkof.net/projects/js/magic_buttons/javascript/MagicButtons.js As always, if you have suggestions feel free to make them. This code is BSD lisence based. ______________________________________________...
2006 Apr 06
3
Drag and drop events. Or: How I learned to take over the world.
...og Update the piece map Capture the piece (if one is captured) Switch active player Go back to "Make the active players pieces draggable" Can I see what you have done now? Sure. Please do not complain about ugly code yet... I would not even call this a release: http://thinkof.net/projects/js/chess/index.php FYI: The icons are from free delivery at iconbuffet.com (a set named Dresden Tournament). They give the set away, so I think to help support those guys, I will not bundle the images (at least at this point). Alright enough of my ramblings... As always, a...
2006 Feb 07
16
Notify JS updates, oh my
Hey all, I just wanted to let you guys know that I updated my notify script. I still need to package it for easy download (next on my task list) but it does what I need it to do. Any thoughts, comments? http://thinkof.net/notify/index.html Also thanks to those of you who helped previously. -Greg