Hi!
I killed my plugin-idea and rewrote the whole thing and now I have it
working.
Thanks for your advice, ricardobeat!
The result can be seen on http://www.coolstuff.se/Humunga_Tunga. Open
an image och forward to #4. The code is in product.js.
Best regards,
Pom
hitecture: use a single
> timeout or interval for all elements affected by the plugin, and in
> that function you can check if the element's still there before doing
> it's thing.
>
> On Nov 4, 12:16 pm, Pom <[EMAIL PROTECTED]> wrote:
>
>
>
> > Shorthan
Shorthand of same question.
How do I identify the DOM-element on which a plugin has been invoked,
and how can I tell wheater or not it is still in the DOM or has been
removed?
The code to remove the element is outside the plugin. I figured that
the plugin should be able to clear it's Intervals even though it
wasn't destroyed by the parent.
Where I implement this would be the preferred way to do it.
I found a way to get it to work partially, but that spawned another
pro
I'm currently creating a project where we need out users to be able to
browser thru different media types. Currently Images, Video and "360-
images". Since we are really concearned about the highest availability
we decided to create the 360-viewer with JavaScript, in the form of a
jQuery plugin.
5 matches
Mail list logo