ok. so i've been looking for quite a while for this plugin, and finaly i've
decided to write one on my own. during my research i've discovered a moo
class (with the same name as mine) with similar functionality, but very
different interface from what i was looking for (digitarald's
HistoryManager) and also it is Moo 1.1 and i was looking for 1.2. I ended up
using his history management functions (rewritten to 1.2) to supply a
completely different interface.
so what am i talking about? i was looking for a class that will supply me
with back-button functionality to my various JS functions, but that will
also take full advantage of moo's event style.
the class functions as an observer - you assign it events to observe, and it
fires them whenever a followed value is updated, whether it is by the
class's setters or by a change in the address bar.
what ends up is something like this:
hm.addEvent('some_value-changed',function(value){myClass.fancyEffect(value)});
hm.set('some_value','abcd'); //will fire the event
forge link : http://mootools.net/forge/p/historymanager
i couldn't fund reliable documentation on how to do cross-browser history
manipulation, so this class is due to be buggy. i've essentially
copy-pasted digitarald's history-management, but since i've never worked
with moo 1.1 i'm not completely sure i've ported the class properly.
i've done some successful checks with FF 3.5, Safari 4, chrome 3 and IE8.
IE6-7 work as well, but quite buggy (you need to press the back-button twice
to make it work). i would loe to have some help fixing this since i'm really
just learning he bit and pieces of it.
lastly, if there is a way to removed (in order to rename) a project on the
forge i'll be glad to hear about it. i've started working on this before
learning about digitarald's class and i'm not very pleased with the
cross-name thingy.
hope someone can find this usefull
-----------
אריה גלזר
052-5348-561
5561
Nothing selected