amestres Posted December 14, 2005 Share Posted December 14, 2005 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 More sharing options...
Guest Posted December 15, 2005 Share Posted December 15, 2005 like this: <?php 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" . '</noscript>' ?> And of course you need to create a file for the popup. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.