Popup box on homepage with close feature! Not a normal popup box!
Hello,
I'm needing help with this and would appreciate the powers to be to offer their insight. Does Xara yet have a feature to make this simple? I would like (or my client would like) an info box to be right in the center of the home page with a text promotion that can be closed after reading! That's it. It can or doesn't have to be animated i.e. fade in, etc., it can just be there as soon as a person arrives to the site, but it needs to be closed after reading. It might not even be named a "popup" box, because it really doesn't need to popup per se.
I had a problem, years ago with a site with a similar request. It was a Performing Arts Academy website I created and they wanted an Inclimate Weather Closure Alert to be in the center of their home page. I never figured it out.
IMPORTANT: I don't want a typical popup box where you have to click something to make the box appear. I know how to do that and did that for the site I described above. I want the info box to already be there, front and center, bright and bold, but then to be able to click to close it/remove it from sight after reading the info it contains! Hopefully this makes sense.
Is this possible? Please help!
Thank you in advance,
Tazz
2 Attachment(s)
Re: Popup box on homepage with close feature! Not a normal popup box!
Tazz, I did this a time back: Attachment 122563.
The method is fairly simple but has five necessary parts to work: layer, Named item on layer, link to layer, code for loading & popup close.
Here is a cleaner example: Attachment 122564. The description is here: https://www.talkgraphics.com/showthr...619#post499619.
The centring is another matter. i think I have done this too but get this one working first.
Acorn
Re: Popup box on homepage with close feature! Not a normal popup box!
Quote:
Originally Posted by
Acorn
Acorn thanks for the response and samples...it was PERFECT!!! Except for, I can only get the "banner" to appear once I click the small "link to layer" that I created. Then I click and it closes perfectly. Just like I want...but, I want it to be there when you get to the page. Your sample works exactly how I am trying to get mine to work but apparently I'm missing something. I have a feeling it's in the code to body somehow, but I added that to the body of the page web properties.
Re: Popup box on homepage with close feature! Not a normal popup box!
Acorn, wow I got it!!! I named the item on the banner layer with an uppercase "B"...I recreated it with a lowercase "b" and that did it. That's crazy. Something so minor can have such a major affect!
Thank you again...NOW it works exactly the way I wanted it too!
Re: Popup box on homepage with close feature! Not a normal popup box!
Quote:
Originally Posted by
Tazz
Acorn, wow I got it!!! I named the item on the banner layer with an uppercase "B"...I recreated it with a lowercase "b" and that did it. That's crazy. Something so minor can have such a major affect!
Thank you again...NOW it works exactly the way I wanted it too!
Great Tazz, we now have two that do!
Acorn