Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple popup display

 
michalina smith
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To display a simple popup ad, you can use the following code. Note that you cannot be using the SIMPLE HTML ad tags if you want to display these popups.

<script language="JavaScript">
window.open('http://www.yourdomain.com/yourad.html','popupad','width=200,height=150')
</script>
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why? look back to your syntax for Popup
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a question?
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty sure popups are going out of fashion these days.
I seem to get bombarded with these javascript modal boxes, they seem to be the new fad!

Sean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic