Crabstix wrote:
> Hi,
> I copied the example from this page
>
> http://simile.mit.edu/wiki/Wibbit/Use#The_power_of_._and_.21
>
> to try and use an if/else statement.  This was working ok for me when
> it was just an 'if' - i.e. the div didn't show if .intime didn't
> exist.  With the if/else I always see the content of both divs.  Any
> suggestions?
>
>
>                                                        <div 
> ex:if(exists(.intime))>
>                                                           <div id="1">
>                                                           <span 
> ex:content=".intime"></span> days away
>                                                           </div>
>                                                           <div id="2">
>                                 <b>This is an archived gig</b>
>                                                           </div>
>                                                         </div>
>
>   
I'd try

    ex:if="exists(.intime)"

instead of

    ex:if(exists(.intime))

David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to