You are not logged in.
Pages: 1
Hi folks,
I really need some help with the new gallery plug-in I'm working on for Xinha. Can any of you JavaScript experts lend a hand?
I've based the plug-in on ImageManager so for the purposes of this question that's the relevant code-base. This is the question:
I want to modify the HTML that the plug-in inserts into the main Xinha window - but I can't see where this code is generated. Is the code generated by the plug-in (which I suspect) or by xinhacore?
For example when I select an image in IM and click OK it returns
<img height="xxx" width="xxx" src="/myimage.gif" alt="My Picture" />
I want to replace this with something like
<div class="gallery"><img height="xxx" width="xxx" src="/myimage.gif" alt="My Picture" /></div>
Where is the HTML generated?
TIA
Huw
Offline
Pages: 1