Re: Anyone interested in joining af project: jQuery integration with HTML generated X
Originally Posted by
perseus
Sure, here is a sample.
This is actually a good example of what might be accieved using javascript/jQuery.
If you in Xara choose to add a text tooltip to an object that will be implemented automatically by Xara to a SPAN tag with a TITLEattribute. Now excuse me for being a little technical, but using the brilliant selector engine of jQuery you can select all such elements and apply - for instance the mentioned tooltip plugin, and thereby get well, another tooltip type.
Here is the selector (for the technical minded ):
$('span[title!=""]')
That will return all standard tooltips on the page, and from there it is easy using jQuery plug-ins to apply some behavior to each of the elements.
Don't worrie if you are a graphical nerd - this coding related thread will soon relocate to some other place What I however hope to deliver to this forum are some easy-to-use new features for the program which we all love to use!
Cheers,
Sten
"Everything has two sides"
Bookmarks