Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable banner pop-up?


Daft Moniker

Recommended Posts

Posted

I would like to make my banner click simply open the URL it's assigned to without opening a new browser window. How can this be done?

 

Thanks! :D

Posted

Edit

 

includes/functions/banner.php

 

You are looking for this line

 

$banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_title']) . '</a>';

 

 

Now go to the www.w3schools.com and search for target in the html section. Then you can update it as required.

 

:-)

 

(you didn't expect everything on a plate did you?)

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
Edit

 

includes/functions/banner.php

 

You are looking for this line

 

$banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_title']) . '</a>';

 

 

Now go to the www.w3schools.com and search for target in the html section. Then you can update it as required.

 

:-)

 

(you didn't expect everything on a plate did you?)

 

Thanks dude! I guess I was more accurately looking for where this change can be made. :lol:

 

LOL@ W3 comment. :-)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...