Re-display the Advertising Message
Author: Ionescu C.
Visited 1602,
Followers 1,
Shared 0
Hello,
Is there any possibility to re-display the Advertising Message after a certain period (ex 3 minutes)?
In the settings there is no option to check/complete for that:
Currently is being displayed after 3 seconds after entering the site, I would like to be displayed again after several minutes.
Any ideas?
Reagrds,
Cristi
Posted on the
Hello. At the moment there is no such possibility.
Try looking for third-party services or scripts to embed on your site.
Author
Hello,
Do you happen to know such scripts ?
Regards,
Cristi
... you post here the LINK of your page with the normal Advertising Message, without applying time options or limitations...
.
Author
Hello,
Here is the LINK
Regards,
Cristi
... is not the Advertising Message, and is controlled by a cookie...
... you have to do as I said before...
ciao
.
"Do you happen to know such scripts ?" - no.
Author
Hey,
The Advertigins Message config:
The LINK.
Regards,
Cristi
... now it's OK, you have removed the cookie ...
...!... but now you have to delete the link to the INDEX, as closing the banner restarts the INDEX again with the banner in a continuous cycle...!...
... otherwise I cannot verify...
ciao
.
Author
Hey,
I have removed the link, as you mentioned.
Let me know if there is something else I can help you with.
Regards,
Cristi
ritardoK= 8; >> equal to the number of seconds of delay evaluated on the loading of the page contents;
intervalloK = 3; >> equal to the number of seconds of interval on the reopening of the banner after clicking on the closing (X);
___code__________________________
<script>
$( document ).ready(function() { /** K>**/
ritardoK= 8;
intervalloK = 3; /* x splashbox-advcorner */
setTimeout(function(){/** K1>**/
$("#splashbox-advcorner .imClose").click(function() {splashboxK()})
}, ritardoK * 1000);/** K1<<**/
});/** K<<**/
function splashboxK() {/** K2>**/
setTimeout(function(){/** K3>**/
x5engine.imSplashBox(x5engine.settings.imSplashBox);
$("#splashbox-advcorner .imClose").click(function() {splashboxK()})/** K4>|<<**/
}, intervalloK * 1000);/** K3<<**/
}/** K2<<**/
</script>
.
ciao
.
Author
Hey,
I have tried the script and it display the splashbox only once.
After closing the box, I have waited several minutes and it did not reappear.
The script I have inserted in:
It could be that I'm doing something wrong...
Regards,
Cristi
... I see it works ...
... your problem could be the seconds of delay compared to the loading of the page ...
.
Nice code, like it. You should write a booklet like Scripting with X5
Author
After a clear C&C it worked like a charm!
Thank you KolAsim!