Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

creating a pop up window link


Recommended Posts

Can anyonew tell me how to create a link within a text, fo example the text is:


"To view our work click here"


How do i make the word "here" show up as here and be a link to a new popup window?


How do I create the pop up window and be able to edit it using front page?


(i know quite basic for all...but just learning)

Link to comment
Share on other sites

like this:

echo '<script language="javascript" type="text/javascript"><!--' . "\n" . 
'document.write(\'<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_HERE) . '\\\')">Here<\/a>\');' . "\n" . 
'//--></script><noscript>' . "\n" . 
'<a href="' . tep_href_link(FILENAME_POPUP_HERE) . '" target="_blank">Here</a>' . "\n" . 

And of course you need to create a file for the popup.

Link to comment
Share on other sites


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

  • Create New...