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. [ Mark Twain ]...

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 '
.XOOPS_URL.'/banners.php?op=click&bid='.$bid.'" target="_blank">';


and replace it with:

$bannerobject '
.XOOPS_URL.'/banners.php?op=click&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. [ Mark Twain ]...

Login

Who's Online

225 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Apr 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits