Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1

    Default 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. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    8,377

    Info Re: Popup box on homepage with close feature! Not a normal popup box!

    Tazz, I did this a time back: Fancy OnLoad Pop-up.xar.

    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: Simple OnLoad Popup.xar. 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
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  3. #3

    Default Re: Popup box on homepage with close feature! Not a normal popup box!

    Quote Originally Posted by Acorn View Post
    Tazz, I did this a time back: Fancy OnLoad Pop-up.xar.

    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: Simple OnLoad Popup.xar. 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
    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.

  4. #4

    Default 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!

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    8,377

    Default Re: Popup box on homepage with close feature! Not a normal popup box!

    Quote Originally Posted by Tazz View Post
    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
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •