Welcome to TalkGraphics.com
Results 1 to 8 of 8

Thread: Click / Pop-Up

  1. #1
    Join Date
    Sep 2016
    Location
    Sofia, Bulgaria
    Posts
    53

    Question Click / Pop-Up

    Good morning guys!

    I was wondering, if it is possible to make a pop-up event, when you click an image/button/text?

    For example, when you click the red-cross..
    Click image for larger version. 

Name:	a6bbaa2f5d8b41528167465b5b1bda12.png 
Views:	97 
Size:	8.5 KB 
ID:	114567

    .. to see something like this:
    Click image for larger version. 

Name:	459110a8f8f74d0ea0443a0b7bcde488.png 
Views:	112 
Size:	12.7 KB 
ID:	114568

    .. (and maybe) clicking it back to close it.

    I know it might work, in case the cross opens duplicated page, that contains the pop-up bubble, but it will be nice, if it can be done without duplicating.
    Anyone hints?

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,486

    Default Re: Click / Pop-Up

    Welcome to TalkGraphics

    1. Create a new layer in the Page and Layer Gallery.

    2. Give the new layer an appropriate name, for example Server-Status.

    3. Add your pop-up content to this new layer.

    4. Link the trigger object (your red X in this case) to the new layer.

  3. #3
    Join Date
    Sep 2016
    Location
    Sofia, Bulgaria
    Posts
    53

    Default Re: Click / Pop-Up

    Good morning Priester \o

    I've followed the steps and it worked like a charm!
    It seems I have to learn a lot for Xara in order to appreciate all its benefits.
    Do we have documentation for it or I have to search within the embedded Help menus?

    Once again, thanks a lot!

  4. #4
    Join Date
    Sep 2016
    Location
    Sofia, Bulgaria
    Posts
    53

    Default Re: Click / Pop-Up

    Hey again,

    Once I've added the new layer, all buttons/navbars lost their animations.
    Once the new layer is removed, all buttons/navbars are having their MouseOver animations back.
    Any hints how to avoid this?
    Last edited by KamenPPavlov; 10 October 2016 at 01:17 PM.

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,486

    Default Re: Click / Pop-Up

    This may work. Select the nav bar, then Arrange > Bring to Front (or Ctrl + f)

  6. #6
    Join Date
    Sep 2016
    Location
    Sofia, Bulgaria
    Posts
    53

    Default Re: Click / Pop-Up

    Hey,

    I have tried, but the result is still the same.
    I will have to find another way to deal with this.
    There should be a way, so that the additional layer doesn't interfere with the animations.

  7. #7
    Join Date
    Sep 2016
    Location
    Sofia, Bulgaria
    Posts
    53

    Default Re: Click / Pop-Up

    I have found the solution.

    The "ServerStatus" layer should have been on top of the other layers and of course you should keep the structure as it is by default:
    1) YourLayer
    2) MouseOver
    3) MouseOff
    Click image for larger version. 

Name:	0497f1238c8147c88c8fa9cef507e515.png 
Views:	98 
Size:	5.8 KB 
ID:	114580

    In this order, everything is working perfectly

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,486

    Default Re: Click / Pop-Up

    Ah, yes, I should have thought of that. Thanks for sharing (and learning) and glad it all worked out OK.

 

 

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
  •