Daft Moniker Posted May 1, 2009 Posted May 1, 2009 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
♥geoffreywalton Posted May 1, 2009 Posted May 1, 2009 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 ======>>>>>.
Daft Moniker Posted May 1, 2009 Author Posted May 1, 2009 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. :-)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.