Quote:
Originally Posted by CopoGuy
Awesome (and simple) mod! Thank You!
Has anyone tried to add the target="_blank" piece to the banner's URL (so it opens the banner link in an external browser window?)
example:
Code:
// imageArray
image[number++] = "<a href='http://www.bannerurl.com" target="_blank">
The default script works great but when I try to do it that way the banner disappears on the forum page. Perhaps I have a typo?
|
You can make it open in a seperate browser window by adding the target='ad' in the line as shown below. Sorry I did not explain that. I left it out because I wanted to make this hack very easy.
PHP Code:
image[number++] = "<a target='ad' href='http://www.hikersupply.com'><img src='http://www.yoursite.net/forum/sponsors/hikersupply.gif' border='0'></a>"
I have just added this to the documentation.