Hey if you put this in your function it should create an iframe with the specs you have in the shortcode and append it to the body. if you want something to cover the rest of the screen you're going to need another element (should probably style it better as well), let me know if you need more...
Yes. <div id='popup-container'> </div>
<style>
#popup-container {
position:fixed;
bottom: 0px;
right:0px;
}
</style>
style tags are used for CSS (which is responsible for style like the position of a popup container). If you script works but is not positioning the popup properly...
Hi bugeast, I saw your pm unfortunately I can't send one back yet.
set an ID to your anchor tag like so:
<a href="#" id="popupcaller" onclick="call_locker()" ><img border="0" src=" /></a>
in your last offers form submit function call this function...
Hi Scariot: css for popup :
.popup-container {
position:fixed;
bottom: 0px;
right:0px;
}
set .popup-container to the class that your popup container is. When it's shown it will appear in the bottom right and stay there independent of scroll.
Hi bugeast, i am a bit confused as to what you want. if you want to unlock the button after a certain event and the onclick attribute is what locks the button you can set the attribute to empty string with .setAttribute('onclick', '') after a certain user action. Please DM me with more specifics...
Hi there, This will probably be easier.
$('a').click(function (e) { e.preventDefault; window.location = "Youreurl" })
not sure how much JS or web development you know but basically e.preventDefault stops from going to the URL that was referenced, window.location sends them to the page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.