You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
Hi Rian.
I use mediabox in my components.
I have problem when i change ther link by js.
Mediabox use always the initial link of the html page, and not the link generated by JS.
I use
for change the url, but the new value is ignored.
Regards.
I use mediabox in my components.
I have problem when i change ther link by js.
Mediabox use always the initial link of the html page, and not the link generated by JS.
I use
var url = ....
url += ...
document.getElementById('gski-statsclub-link').setAttribute('href', url);
document.getElementById('gski-statsclub-link').click();
for change the url, but the new value is ignored.
Regards.
The popup link and other popup options, is processed and stored when the page loads, not when the link is clicked. Therefore changes that are made to the link or options after this processing are not applied to the popup.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#98845
Arg.
There really is not a solution to send parameters related to the selections of the user to the page called in the popup ?
Can i send a form with post variables instead of a a tag and get variables ?
There really is not a solution to send parameters related to the selections of the user to the page called in the popup ?
Can i send a form with post variables instead of a a tag and get variables ?
You can trigger a popup programmatically using the jcepopup.open method, eg:
title : A title for the popup (optional)
group : A group to assign the popup, eg: "nature" (optional)
type : The popup type, eg: "image" (optional)
params : An options object, eg: {"width" : 800} (optional)
jcepopup.open(url, title, group, type, params);
title : A title for the popup (optional)
group : A group to assign the popup, eg: "nature" (optional)
type : The popup type, eg: "image" (optional)
params : An options object, eg: {"width" : 800} (optional)
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!