Create a popup layer and close
Hello
i recently bought XWD 11 Premium and all of my Popup layers stop working
i used the popup:close function at URL link and now nothing closes
could you please tell me what changed and what shouls i do to fix this?
I noticed i can use uncheck the close pop up automatically and then i get an X button so i can close everything, but i dont want to use this button, i want to use my own.
hope you can help me
thank you
1 Attachment(s)
Re: Create a popup layer and close
This has not been necessary for a few versions now. The close function is available via the popup layer properties.
Re: Create a popup layer and close
Quote:
I noticed i can use uncheck the close pop up automatically and then i get an X button so i can close everything, but i don't want to use this button, i want to use my own.
Can the member do this Steve?
Re: Create a popup layer and close
Ah, sorry - I did miss that line.
No I don't think it is possible any longer.
Re: Create a popup layer and close
This is a cheat but might help.
Add a shape for your button on the pop-up layer.
Check the pop-up layer has Close pop-up automatically unticked.
Remove any URL (Do Nothing).
Acorn
Re: Create a popup layer and close
i will try this later
thank you
Re: Create a popup layer and close
You could try adding something like this to the <head> of your page to hide the close button.
Code:
<style type="text/css">
IMG.xr_ap {
width: 0px;
height: 0px;
cursor: pointer;
}
</style>
I have used it with v9 not sure if Xara still uses the same class in v11 :)
Use popup:close as the link to close the popup.
Re: Create a popup layer and close
Re-found covoxer's original 1.web file here: http://www.talkgraphics.com/showthre...ng-popup-layer.
While the Close icons on each pop-up do not work in XWD11P, the Link popup: close "popup1(lock)" "popup2(lock)" "popup3(lock)" "popup4(lock)" does still work.
So effectively, add (lock) to the end of each Layer name and put a button with popup: close "popup1(lock)" on the layer popup1(lock).
Acorn
Re: Create a popup layer and close
No, I don't believe this works since the introduction of the built-in method.
1 Attachment(s)
Re: Create a popup layer and close
I just tried this by modifying Covoxer's .web file and it appear to work with Acorn's addition of adding the layer name in quotes. I left Close Pop-up Automatically checked.