I have one field in my database (Comments that I finally figured out how to make linkable. Now I'd just like to make a small blank page appear in the corner instead of taking the user to another page. Can the below script be modified for use in DBMan? I found it in another forum.
Thankas again!
<<Place this in site_html.pl with your globals.
$new_win_java = '<script language="JavaScript" type="text/javascript">
<!--
function openNew(url) {
var win = window.open(url, "links2", "scrollbars,height=300,width=600");
win.focus();
}
//-->
</script>';
Then put..
&new_win_java
into the areas of sit_html.pl for the pages on which this function will work (basically puts all
the stuff you just put into globals into your page.PS this has to be within the "head" element.
And then put..
<a href="javascript penNew('your_url_to_be_linked_to_here')">
>>
p.s. I searched for this subject as I'm sure it's been addressed before in DBMan installation but couldn't find anything.
Lenny
Thankas again!
<<Place this in site_html.pl with your globals.
$new_win_java = '<script language="JavaScript" type="text/javascript">
<!--
function openNew(url) {
var win = window.open(url, "links2", "scrollbars,height=300,width=600");
win.focus();
}
//-->
</script>';
Then put..
&new_win_java
into the areas of sit_html.pl for the pages on which this function will work (basically puts all
the stuff you just put into globals into your page.PS this has to be within the "head" element.
And then put..
<a href="javascript penNew('your_url_to_be_linked_to_here')">
>>
p.s. I searched for this subject as I'm sure it's been addressed before in DBMan installation but couldn't find anything.
Lenny