Hi everyone!

So I can make a mailto: link with a name laid over it this way:

                <div class="contact" ex:if-exists=".contact-name">
                        <a ex:if-exists=".contact-email" 
ex:href-subcontent="mailto:
{{.contact-email}}">
                                <span ex:content=".contact-name"></span>
                        </a>
                </div>

What I want to do is show just .contact-name inside div#contact if
there's no .contact-email.

I really want a ex:if-not-exists feature, so I can do this:
                <div class="contact" ex:if-exists=".contact-name">
                        <a ex:if-exists=".contact-email" 
ex:href-subcontent="mailto:
{{.contact-email}}">
                                <span ex:content=".contact-name"></span>
                        </a>
                        <span ex:if-not-exists=".contact-email" 
ex:content=".contact-
name"></span>
                </div>

Trying not() operators on if-exists doesn't work, and the hoped for
ex:if-not-exists doesn't exists.

Can anyone explain the right way to handle this? I can't find any
clues in the posted examples or documentation.

TIA - Dave

--~--~---------~--~----~------------~-------~--~----~
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