So, I am a TOTAL jQuery / jQuery Tools newbie, but I’m learning… Here’s my current issue:
Suppose I have a page that lists a number of users — one div per user, with a name, picture, and the like. Somewhere in these divs are links that you can click that will bring up a jQuery Tools overlay containing a form. This form will let you edit the information about the user and save it back to the site. No big deal.
The question my little newbie brain is struggling with is (of course) how to implement it. My current understanding of all this is that, I need to create a separate div containing the form for each user, wired up in some way such that clicking the link for a specific user will present the overlay/form associated with that user. This is as opposed to there being a single DIV on the page that contains the form, and that gets parameterized and re-used in some way for each of the users.
Is this the right philosophical approach? The coding doesn’t seem too hard; I’m just looking to confirm that I’m taking the right approach before I get started. Thanks!
The documentation for jquery-tools shows you exactly how to do this:
http://flowplayer.org/tools/demos/overlay/external.html