1
jonas
banner _self tag
  • 2006/9/7 0:12

  • jonas

  • Just popping in

  • Posts: 96

  • Since: 2004/1/27


i want to use banners to bring attention to various parts of my website... where can i change the code to upon link in existing window ( _self )?

thanks!
If you tell the truth you don't have to remember anything.[size=x-small] [ Mark Twain ][/size]...

2
tcnet
Re: banner _self tag
  • 2006/9/7 11:33

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


If you are using the built in banner script, you could add your banners using html code with target="_self" in the link tag.

3
[suspendTempri[suspended]
Re: banner _self tag

Open include/functions.php

Find line 342:

$bannerobject '<div><a href="'.XOOPS_URL.'/banners.php?op=click&amp;bid='.$bid.'" target="_blank">';


and replace it with:

$bannerobject '<div><a href="'.XOOPS_URL.'/banners.php?op=click&amp;bid='.$bid.'" target="_self">';

4
jonas
Re: banner _self tag
  • 2006/9/7 15:45

  • jonas

  • Just popping in

  • Posts: 96

  • Since: 2004/1/27


Thanks!!
I don't know why i didn't htink of the html code , tcnet..
i went with tempri's solution...
jonas
If you tell the truth you don't have to remember anything.[size=x-small] [ Mark Twain ][/size]...

Login

Who's Online

221 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits