well here's the code <*script type="text/javascript" src="http://4.adbrite.com/mb/text_group.php?sid=73248&col=2&br=1&dk=7469636b6574735f355f32"></script> from adbrite, how would i make it so that when a user click on it, it would open a new window? thanks alot
Am I right to assume the script spits out a link, that once clicked opens in the same window? If so, the only way to have it open in another window, is to change anchor attributes through DOM. Here’s an example: http://www.w3schools.com/js/tryit.asp?filename=try_dom_anchor_href I hope this helps.
theynd, what you posted is a javascript src reference to AdBrite's code, and it's in their source that the the ad and link(s) are generated. There are hacks that allow you to open ad links in new windows, but most ad networks forbid it. If you look at AdBrite's terms and conditions, it says: