ASPX templates
Version 5.x > ASPX templates > Pop up window in java script View modes: 
User avatar
Member
Member
vinci - 12/27/2010 3:17:03 AM
   
Pop up window in java script
Hi,

Want to ask ,is there a way that pop up a window when page loading and when load it/refresh again the window wont appear ? (due to pop up always will make people feel annoying)

eg: when load PageA will pop up a advertisement window , after the user continue to other pageB,C,D ,and come back to PageA again, the advertisement window wont appear/pop up anymore.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 12/28/2010 2:21:36 AM
   
RE:Pop up window in java script
Hi,

you can insert JavaScript code into <head> tag in your master page or using HEAD html code webpart.

The example code you can find here.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
vinci - 12/28/2010 8:02:16 PM
   
Pop up window in java script
Thanks alot. It's help