Any pointers on how would I create one of those (usually yellow) popup animated banners used in web apps (like stackoverflow FAQ)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I really want to give the answer “use jQuery”, but since this is WPF, I suppose something better would be needed. To start out, I’d define where in your xaml file the bar would live. I’d do it something like this:
To get that nice animation effect, something like:
And then you just need to trigger it when the page loads:
I typed this up in this box, so there’s bound to be a few typos here and there. But that’s basically how i’d do it. Another alternative is to fix the height, and move the margin from -height to 0.