Skip to content
WJunction - Webmaster Forum

need code for ad

Status
Not open for further replies.

pak

Established Member
206
2010
0
hello everyone , now my problem is hard to understand in words but i try pls help me


i having a forum and i see in many other forum when u open their website and once u click their index page another AD page open ( new website )

i want that code , i want if someone click my forum any spot a new page open

pls can anyone give me code for this
 

3 comments

Mostly this happens with firefox when default popup blocker is turned on. (atleast with me)

You could use
Code:
target="_blank"
to open the link in a new tab or you could use something like this:

PHP:
<a onClick="window.open('http://google.com','My Name is wut?','width =500,height=500')">My Favourite Link</a>
 
this is not the thing im looking ,

this is code like if some one click the TEXT or LINK then a new popup page appear
,,,, i need a code that if anyone click any UN registered user click the forum main page then new pop up appear only
 
add the same attribute given by soft2050 to <body> tag
PHP:
onClick="window.open('http://google.com','My Name is wut?','width =500,height=500')"
 
Status
Not open for further replies.

About the author

P
Established Member · Joined
206
Messages
0
Reactions
204
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom