WebSite X5Help Center

 
Ionescu C.
Ionescu C.
User

Re-display the Advertising Message  en

Autor: Ionescu C.
Visited 1404, Followers 1, Udostępniony 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
14 ODPOWIEDZI - 3 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
Aleksej H.
Aleksej H.
Moderator

Hello. At the moment there is no such possibility.

Try looking for third-party services or scripts to embed on your site.

Czytaj więcej
Posted on the from Aleksej H.
Ionescu C.
Ionescu C.
User
Autor

Hello,

Do you happen to know such scripts sealed?

Regards,

Cristi

Czytaj więcej
Posted on the from Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... you post here the LINK of your page with the normal Advertising Message, without applying time options or limitations...

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Ionescu C.
Ionescu C.
User
Autor

Hello, 

Here is the LINK

Regards, 

Cristi

Czytaj więcej
Posted on the from Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... is not the Advertising Message,  and is controlled by a cookie...
... you have to do as I said before...

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Aleksej H.
Aleksej H.
Moderator

"Do you happen to know such scripts sealed?" - no.

Czytaj więcej
Posted on the from Aleksej H.
Ionescu C.
Ionescu C.
User
Autor

Hey, 

The Advertigins Message config:

The LINK.

Regards,

Cristi

Czytaj więcej
Posted on the from Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... 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

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Ionescu C.
Ionescu C.
User
Autor

Hey,

I have removed the link, as you mentioned.

Let me know if there is something else I can help you with.

Regards,

Cristi

Czytaj więcej
Posted on the from Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

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

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Ionescu C.
Ionescu C.
User
Autor

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

Czytaj więcej
Posted on the from Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... I see it works ...
... your problem could be the seconds of delay compared to the loading of the page ...

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Martin P.
Martin P.
User
 ‪ KolAsim ‪ ‪
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> </script> . ciao .

Nice code, like it. You should write a booklet like Scripting with X5 

Czytaj więcej
Posted on the from Martin P.
Ionescu C.
Ionescu C.
User
Autor

After a clear C&C it worked like a charm!

Thank you KolAsim!

Czytaj więcej
Posted on the from Ionescu C.