Page 1 of 1

Cursor in the Adventure Maker HTML

PostPosted: Thu May 26, 2011 2:07 pm
by PINGO TINTO
Here's an example of the arrows appear http://ordemunida.war-fusion.com/joaofi ... /link.html

I only managed to cursores.cur.
The program I use to make cursors is the RealWorld Cursor Editor.
We can import images to the editor in size 32x32 after save cursor_v1.cur the folder where the game is in html.

After all the pages in the example page 00018.html add this code in each hotspot.

hotspot1
cursor:url(cursor_v1.cur);

hotspot2
cursor:url(cursor_v2.cur);


<div id='hotspot1' style='position:absolute; cursor:url(cursor_v1.cur); left:406px; top:14px; width:93px; height:442px;'><img id='hotspotImg1' src='transparent.gif' width=93 height=442 onClick='parent.doHotspotClick(1);' onLoad='elementLoaded();' /></div>

<div id='hotspot2' style='position:absolute; cursor:url(cursor_v2.cur); left:406px; top:14px; width:93px; height:442px;'><img id='hotspotImg1' src='transparent.gif' width=93 height=442 onClick='parent.doHotspotClick(1);' onLoad='elementLoaded();' /></div>


and so off ...
In percise index.html file is not doing anything.

I do not know much html, maybe another way to make the arrows appear more functional?

Adventure Maker should have that option if it is possible to do.