Pop Up or Modal? - Page 3 - Post ID...

User 2699991 Photo


Registered User
5,558 posts

Ernie Hodge wrote:
Wayan,

If I want the call out to animate out do I use code from the Foundation site or is there a class that will work in SD 4?


The default for the call-out container with the attribute| " data closable" is= fade-out.

you change that by adding the different transition you want to the value box under data closable

STUCK ON SOMETHING?
Learning by doing. Responsive Site Designer Tutorials

User 188640 Photo


Registered User
899 posts

Mine does't work either way. Are we supposed to put Motion UI in there somewhere?
I think I have everything set up correct but I'll double check.
A Rose is Just a Weed in a Corn Patch!
User 2699991 Photo


Registered User
5,558 posts

Ernie Hodge wrote:
Mine does't work either way. Are we supposed to put Motion UI in there somewhere?
I think I have everything set up correct but I'll double check.


container class = (1)call-out (2)alert
id = alert (or whatever ID you chose to call it)

attribute = data closable
value = whatever transition you want (the default = fade-out so you don't need put anything in the value to have it fade out)

if you want a different transition then put whatever transition you want (eg value = slide-out-left) but be careful don't try something too fancy it can become a little bit annoying for visitors, I find the default is less intrusive and gentle for the user's eye
STUCK ON SOMETHING?
Learning by doing. Responsive Site Designer Tutorials

User 188640 Photo


Registered User
899 posts

Wayan,

I had all the settings correct. It wasn't fading out because I had it redirecting to another page. Operator error.

I put it on the home page and it now fades out like it is supposed to do.

Thank you for all your help today.
A Rose is Just a Weed in a Corn Patch!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.