automaticall popups

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
qumar
Forum Commoner
Posts: 29
Joined: Wed Nov 01, 2006 8:20 am

automaticall popups

Post by qumar »

hi,
when we visite the site, small popup will come automaticall like the about the loan or about that site.how can we write the code. i need that one. give some idea.please help to me.
thanks,
qumar.
vinoth
Forum Contributor
Posts: 113
Joined: Thu Aug 02, 2007 3:08 am
Location: India
Contact:

Post by vinoth »

you can write the window.open() function on body onload evend then it popup an window while load the page
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

  1. PHP has nothing to do with popup generation, that's Javascript. Moved to Client-side
  2. Avoid popups with a fiery passion. It's bad for accessibility and annoying to users (let alone most browsers supporting Javascript will ignore automatic ones these days.)
Post Reply