Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,777

    Default Button to Close Pop-Up

    I remeber doing this before, but of course I've forgotten and didn't make notes

    I want to have a button that closes a pop-up layer. I know there's a default button when 'Close Automatically' is deselected, but it's rather woefull and I want a custom one anyway.

    My dusty memory recalls something along the lines of 'close:name-of-layer' or 'exit:name-of-layer' typed in the Link To Web....' section. I know it was pretty simple. Anyone with a better memory than me before I start to Google and end up watching kittens on YouTube?

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,777

    Default Re: Button to Close Pop-Up

    And of course I find the answer 2 seconds after asking.

    Web Properties > Link to Web or Email
    popuppen "name of layer"
    popup:close "name of layer"

    Stand down chaps. Nothing to see here.

    Dopey smiley - popup(colon)open

  3. #3
    Join Date
    Nov 2008
    Location
    Florida, USA
    Posts
    503

    Default Re: Button to Close Pop-Up

    Quote Originally Posted by Chris M View Post
    And of course I find the answer 2 seconds after asking.

    Web Properties > Link to Web or Email
    popuppen "name of layer"
    popup:close "name of layer"

    Stand down chaps. Nothing to see here.

    Dopey smiley - popup(colon)open

    Chris... this is along the lines of what you brought up here... watch this short vid. I think you'll find it interesting and useful... over 5 years old and still relevant. https://www.youtube.com/watch?v=1kXJcrvXxAk

    BTW: I'm wondering (and have for a long time always wondered) how many more 'undocumented' commands like these are possible in XARA? If anyone know of anymore, would you please advise? Or are they documented but I just can't find them anywhere... from the help files to the manual.



    Cliff

  4. #4
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,777

    Default Re: Button to Close Pop-Up

    Adding the (lock) at the end of the layer name is very handy to know. I was quite happy with it before, and nobody commented about it...but now it bothers me more than a stone in my shoe.

    Now, which site was it I was referring to?

 

 

Tags for this Thread

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
  •