PDA

View Full Version : help on making xml code


atomicmak
07-11-2008, 05:54 PM
i am preparing my first xml code for my pano gallery.
learning on this.

i have made navigation buttons also.
now i want to make action fade on inforscreen while clicking on info button it should slow infoscreen.png with fade effect coming visible and clicking second time it should vanish gradually.

can someone help me ?

here is my code

<spot id="nav_info" visible="1" url="common/nav_info.png" static="1" align="LB" salign="LB" staticX="220.00" staticY="0.00" onClick="infoscreen.visible+=1"
/>

<spot id="infoscreen" url="common/infoscreen.png" static="1" visible="0" onClick="visible=0" onOver="" onOut="" />

atomicmak
07-13-2008, 05:53 PM
is there anybody can reply to my posts ?
i have posted two three questions but not replied since last few days.

surprise how can i get my question solved so that i can move forward on my publishing point.

please give me suggestion

Jareish
07-14-2008, 06:59 AM
<spot id="nav_info" visible="1" url="common/nav_info.png" static="1" align="LB" salign="LB" staticX="220.00" staticY="0.00" onClick="infoscreen.alpha=0; infoscreen.alpha=1,1000"
/>

<spot id="infoscreen" url="common/infoscreen.png" static="1" visible="0" onClick="infoscreen.alpha=1; infoscreen.alpha=0,1000" onOver="" onOut="" />

you need alpha instead of visibility. Visible is either true or false, while alpha handles the opacity from 0 to 1 (1 begin 100% visible, and 0.25 being 25% visible)

atomicmak
07-14-2008, 08:19 AM
some how this is not working.