[EDIT] The code and link on the first post dontīapply anymore. Itīs not possible to customize the code of links inside Xara. The current solution iīm using now is based on a placeholder. [/EDIT]
What iīm doing now is using this code in HTML body of a placeholder to call an external thumbnail that will be placed in the page. Thanks to Covoxerīs help it now has a mouse-over effect applied to that "external" thumbnail. Clicking on it should load the lightbox2 script. But for some reason the lightbox 2 script doesnīt work now.
Iīm betting this is related to a conflict between the js that loads the lightbox script (activated by the rel="lightbox" attribute on the link) and the onmousemove function, but i donīt know enough myself to solve this problem.
This is the code iīm using with mouse-over (lightbox script donīt work):
Code:
<a href="index_htm_files/PaperTile.jpg" rel="lightbox" title="my caption" onclick="return(xr_nn());"><img class="xr_ap" src="index_htm_files/tbn_mercedes_benz_sl.png" alt="Angry face" onmousemove="xr_mo(this,0,event)" style="width: 100%; height: 100%;"/></a>
The previous code (without the mouse-over effect) that loads the lightbox script correctly was:
Code:
<a href="index_htm_files/PaperTile.jpg" rel="lightbox" title="my caption"><img src="index_htm_files/tbn_mercedes_benz_sl.png" alt="Angry face" /></a>
Any help would be very much appreciated.
Thank you.
Bookmarks