Question| Creating a jQuery plugin
I am familiar with jQuery and I wanted to ask something correlating to a plugin/code that I am trying to create.

1) What kinds of plugins that I can create, except for the : $('element').myPlugin(); ?
Can I create a plugin that creates a div? like so: myPlugin();
By using jQuery standards?

2) Let's say that I want to create a nice sticky div with jQuery and I want it to be the easiest for the user to implement, how can I do so?
(e.g. The user will only need to paste the function somewhere in the code after the DOM was ready).

Thanks in advance.
Question| Creating a jQuery plugin
===

I am familiar with jQuery and I wanted to ask something correlating to a plugin/code that I am trying to create.

1) What kinds of plugins that I can create, except for the : $('element').myPlugin(); ?
Can I create a plugin that creates a div? like so: myPlugin();
By using jQuery standards?

2) Let's say that I want to create a nice sticky div with jQuery and I want it to be the easiest for the user to implement, how can I do so?
(e.g. The user will only need to paste the function somewhere in the code after the DOM was ready).

Thanks in advance.