On 06/02/2012 10:28, Arian Stolwijk wrote:
Sure, no problem.
https://github.com/DimitarChristoff/mootstrap-scrollspy
initial stuff, likely to change reading property some more but...
demo's there - http://jsfiddle.net/dimitar/mc9yc/
changed so far:
- ability to determine link between nav element and target element via
any property that can return an id or via a function callback, which can
add whatever code you want, eg, matching text or anything at all.
- basic events onActive and onInactive and:
- storage of target element into link element for scripting.
Will get more time to work on this on thursday/friday but it now can
cover most use cases I can think of.
Thanks again, Arian, been meaning to do this for a week now :)
Best regards,
--
Dimitar Christoff
"JavaScript is to JAVA what hamster is to ham"
Personal blog: http://fragged.org/ - Twitter: @D_mitar