Using the toolbar in a programatically generated repeating loop (ruby), is it possible to have a single toolbar init function that references the toolbar options container (content) following/relating to the initiating link element? I've tried a few scenarios but seem to be breaking the code trying to dynamically reference the options element with a jQuery selector in the toolbars content argument.
And lastly (this is probably simpler than I'm thinking)... is there a function similar to hideOnClick that hides the toolbar if one of the toolbar links is clicked (currently only seems to refer to clicking outside the toolbar??)
A couple of questions (if you have the time):
Using the toolbar in a programatically generated repeating loop (ruby), is it possible to have a single toolbar init function that references the toolbar options container (content) following/relating to the initiating link element? I've tried a few scenarios but seem to be breaking the code trying to dynamically reference the options element with a jQuery selector in the toolbars content argument.
And lastly (this is probably simpler than I'm thinking)... is there a function similar to hideOnClick that hides the toolbar if one of the toolbar links is clicked (currently only seems to refer to clicking outside the toolbar??)
Thanks in advance :)