!!Help me keep a popup layer up!!
I have a popup layer with a form on it. It pulls up great, but it leaves on click! I need it to stay and only leave once they click submit on the form or an 'x' in the corner... can this be done???? I have to wrap up this project this weekend and need help!
~april :D
1 Attachment(s)
Re: !!Help me keep a popup layer up!!
Hi April, welcome to TG :D
This may help, it was built for another purpose but it should give you enough hints.
Link code is in red but ask way if you have any queries.
Re: !!Help me keep a popup layer up!!
You will need to 'lock' the popup.
Instructions in section 10 here
And here
Re: !!Help me keep a popup layer up!!
Hi Sledger
My .xar doesn't seem to need the "lock". I've got a feeling this was changed in V7 but I'm not 100% on that.
Re: !!Help me keep a popup layer up!!
After a little experimenting I found out that if the popup is set via the dialogues then the (lock) parameter is required. If it is set via the link then (lock) is the default behaviour.
Re: !!Help me keep a popup layer up!!
And then how do you get rid of the pop-up? :-)
Re: !!Help me keep a popup layer up!!
to close the layer containing the link
Code:
popup: close "layerx"
to close any named layer :-)
Re: !!Help me keep a popup layer up!!
Quote:
Originally Posted by
Drwyd
After a little experimenting I found out that if the popup is set via the dialogues then the (lock) parameter is required. If it is set via the link then (lock) is the default behaviour.
Yes, you are right Drwyd.
Re: !!Help me keep a popup layer up!!
I know ... that's in Steve's link ;-)
Re: !!Help me keep a popup layer up!!
I assumed you were asking on behalf of the less familiar with Xara :D