Hello,
I would like to know how can I desactivate all transitions when I have only one slide in my XML file generated by my database?
thx
Hello,
I would like to know how can I desactivate all transitions when I have only one slide in my XML file generated by my database?
thx
Hi, you can't!
Never thought about this issue, well spotted though! Workaround is to check whatever there is more than one image in database and based on that output to generate XML and cu3er embeding template or just to put single image inside DIV on web page.
tnx
Yes I thought to do that but I made it different :
When I do my XML, I know the number of slides. If only one I put a very long time auto_play (so the user almost never see it)
if($count_slides > 1){
$xml .= "
<auto_play>
<defaults symbol=\"circular\" time=\"5\" x=\"5\" y=\"100\" width=\"20\" height=\"20\"/>
<tweenIn x=\"290\" y=\"10\" width=\"20\" height=\"20\" tint=\"0x000000\" />
</auto_play>
";
}
else
{
$xml .= "
<auto_play>
<defaults symbol=\"circular\" time=\"9999\" />
<tweenIn x=\"0\" y=\"0\" width=\"0\" height=\"0\" tint=\"0x000000\" />
</auto_play>
}
Please let me know if you have update fix for that ;-)
thx