PDA

View Full Version : Advertisement Code



WebMazta
16-03-2011, 11:18 PM
Can I use onClick element on links in advertisement code?


<a href="#" onClick="MyWindow=window.open('http://example.com','MyWindow','toolbar=no,location=no,di rectories=no,status=no, menubar=no,scrollbars=no,resizable=no,width=600,he ight=300'); return false;"><img src="image.gif" /></a>

It does not work, any idea?:confused:

I want it to popup without toolbars.:cool:

wdw
18-03-2011, 11:15 PM
any javascript must be enclosed by {literal} and {/literal} tags