Thanks for the help Mike, it's starting to come together. I've been
testing it just now.

If I do use return this.each() then how do I reference the jQuery
methods? without this.hover() etc? Obviously as this is no longer what
I am expecting this.hover (as you say) fails. So do I use my 'self'
variable or another way? I thought I saw someone just using .hover()
(without any prefix) but this just fails.

I don't fully understand the difference, currently I don't use any dom
methods I just use jQuery (I partly thought that was the point of it?
- Although I realise sometimes you need to go deeper).

Basically I have 3 internal functions defined in two ways as:

nextItem = function ()
or
function pause()

Am I right in thinking that nextItem() could be called through a
jQuery chain and that pause() can only be called internally from my
plugin? Or are they both the same just written differently?

I have put my complete plugin and demo online if anyone is interested
/ can tell me what's wrong or right!

http://www.sico.co.uk/jquery/index-plugin.php

Thanks a lot, for once plodding through javascript is quite 'fun'!!!

Simon

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to