I am trying to learn the working of making a intergrated plugin(with using
jQuery.fn.plugin method). I thought a good start would be a simple
hover_menu. Now my understanding it that the "this" object points to the
object it is called on so if i did $('div[id=hover_menu]').hover_menu() that
inside the function "this" would be the same as $('div[id=hover_menu]'),
would that be correct? My real question is what if i want to do something
to that and then do something to all the <li>'s after that, how would i grab
all the <li>'s without passing the search parameter to the function? Is
thier a way to append to the search so i could do ths.whatever('<li>') which
would then grab all the <li>'s under a div with id of hover_menu? This is
only if this = $('div[id=hover_menu]'), if not then i need to figure that
out first and then this issue.
--
View this message in context:
http://www.nabble.com/Making-An-Intergrated-Plugin-tf4263097s15494.html#a12132204
Sent from the JQuery mailing list archive at Nabble.com.