Hello Mike,
It seems you removed the popUp-script from your page. I don't know what the script looked like, so I made a new one for your. Put the following lines in the head section:
Code:
<script>
var alertmessage="The window you're about to open doesn't have buttons for 'back' and 'forward', but you can use the keyboard: \n- press the BACKSPACE button or ALT + left arrow for going back in the newly opened window, \n- use SHIFT+BACKSPACE or ALT + right arrow for going forward in the newly opened window."
function prompt_once_per_session()
{
if( !/(^|\s|;)seenAlert=yes(;|\s|$)/.test(document.cookie))
{if( !confirm(alertmessage+'\n\nClick on OK if you don`t want this message to show again.\n\nClick on CANCEL if you want this message to show each time you open a new window.') )
{}
else {document.cookie="seenAlert=yes";}
}
}
function windowsize()
{
window_height=Math.max(document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight, document.documentElement.scrollHeight, document.documentElement.offsetHeight)
window_width=Math.max(document.body.scrollWidth, document.body.offsetWidth, document.documentElement.clientWidth, document.documentElement.scrollWidth, document.documentElement.offsetWidth)
w=window_width/(100/width), h=window_height/(100/height);
l = (window_width-w)/2-10;
t = 15+(window_height-h)/2;
}
function size_it(the_width,the_height)
{
width=the_width;
height=the_height;
windowsize();
}
function popUp(url,the_width,the_height)
{
size_it(the_width,the_height);
pop_it_up_prep(url)
}
var popUpWin ;
var url;
var autoclose = true;
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1 ;
function pop_it_up_prep(url){
if(is_chrome)prompt_once_per_session(); // message for Google Chrome users
if (popUpWin) {popUpWin.close()}
if (popUpWin && autoclose){window.onunload=function(){popUpWin.close()}}
popUpWin=window.open(url,"","menubar=no, toolbar=yes, titlebar=no, directories=no, status=0, scrollbars=yes,location=yes,top="+t+",left="+l+",width="+w+",height="+h+", resizable=1");
if (window.focus){popUpWin.focus() }
}
</script>
Then in the body use links like:
Code:
<div class="grid"><a href="javascript:popUp('http://www.pscompetitiveedge.com/ltrs/bluewater.htm', 80, 80)"><img src="http://www.pscompetitiveedge.com/photos/logo/bluewater.jpg" alt="Best Western" width="100" height="89" border="0"></a></div>
Bookmarks