| Answer: |
Go to your PowerSeek Control Panel >> Template Manager >> 1. Default Category/Directory Templates - Now edit your 'Main Category/Directory' category template. (defdir.html)
Between the <head> tags of defdir.html place the following JavaScript code:
<script LANGUAGE="JavaScript">
<!-- Hide
function popup(loc,ww,hh)
{
var mywidth = (ww + 0);
var myheight = (hh + 0);
var myspecs = "'menubar=0,status=1,resizable=1,location=0,titlebar=1,toolbar=1,scrollbars=1,width=" + mywidth + ",height=" + myheight + "'";
var random = parseInt(Math.random()*10000)
var popupwin = null;
myWindow = open (loc, popupwin + random, myspecs);
myWindow.moveTo(100,40);
myWindow.focus();
}
// End Hide -->
</script>
Now edit the links style (tmplsearch.html) and premium link style (tmplsearch_prem.html) templates.
You will need to manually edit the HTML code of the above templates. Replace the hyper link HTML code that goes to the 'Extra Link Information Page' which will look like this:
<a href="!!more_info_url!!">More Info....</a>
to: (replace with)
<a href="!!more_info_url!!" onClick="popup('!!more_info_url!!',600,400);return false;">More Info....</a>
The 600 and 400 above is the width and height in pixels of the size of the popup window. |