I don't really know what the code is called but the advert shows up once the webpage is loaded completely . I would like to know how i can do this . I attached a screen shot of what the advert looks like .

Recommended Answers

It's a JavaScript pop up. You can try to make your own or use a plugin. I recommend http://jqueryui.com/demos/dialog/

Jump to Post

All 2 Replies

or oldschool, back from the 90s when everybody rode dinosaurs,
perhaps something like <body onload='document.getelementbyid('advert')display='block'> where advert is <div id='advert' style='display:none;'>ad</div> untested code, thought exercise

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.