Okay
  Public Ticket #3565070
cursor and closing popups
Closed

Comments

  • thomas started the conversation

    Hello from Austria,

    I have set up my page (doora.at) in a way so that text elements work as menus and each of them triggers pop up text items. Here my three problems:

    1. When hovering over the text parts the cursor does not show the hand for making clear, that there is a trigger.

    2. The text-lines have to be so far apart, because the field around them is so big. I would like to have the triggering effect only on the words themselves and not on the box around it

    3. when opening two pop ups after each other, they overlay each other. how can I manage to close all other popups when opening one.


    Thanks for your help!

    Thomas

  •  110
    George replied

    Hello Thomas,

    1. Select the layer, go to Layers -> Style, scroll down to Advanced Settings and set Mouse Cursor to Pointer.
    2. You should set the height and even the line-height to smaller under Layers -> Style -> Type & Typography.
    3. If you would like to close other popups when opening the new one, please open Project Settings of the popup, got to Event Callbacks and paste the following code into the popupWillOpen event:

    slider.api( 'closeAllPopups' );

    You should do this for all your popups if they can open randomly.

    Attached files:  1. layer-style-cursor-pointer.png
      3b. custom code.png
      3.a open-event-callbacks.png

    Best Regards,
    George | Kreatura Dev Team