Need Help with -- DialPad -- Script
Hello,
I hope someone can help me with this script.
This is a script for "DialPad". When a user clicks on the "DialPad" button a popup window comes up which allows for one to register for their service or sigin.
The code works on this page
http://TestingDoneHere.Homestead.com/radiosonicnet.html
Code:
<TR>
<TD>
<script language="JavaScript" type="text/javascript"><!--
function openDialpad()
{
var browserParsed = navigator.appVersion.substring (0,4);
var browserName = navigator.appName;
if (browserName == "Netscape" && browserParsed < 4.06){
alert("Netscape " + browserParsed + " is not supported");
return false;
}
if (navigator.platform != "Win32") {
alert(navigator.platform + " is not supported.")
return false
}
if (!navigator.javaEnabled()) {
alert("Java should be enabled to use Dialpad");
return false;
}
window.open('http://www.dialpad.com/cgi-bin/launch.pl',
'Dialpad', 'scrollbars=no,resizable=no,width=420,height=370');
return false;
}
//-->
</script>
<a target = "_parent" href="javascript:void(0)" onclick="openDialpad('')">
<img src="http://testingdonehere.homestead.com/files/dialpad_launch.gif" alt="make free long distance calls"
width="88" height="31" border="0"></a>
</TD>
<TR>
The same code does not work on the following page,
http://www.Calendars.net/cals/TestingDoneHere
I cannot figure out what I am doing wrong here.
Any and all suggestions appreciated.
WP