|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
java problem with window.open
here is my function:
Code:
<script Language="JavaScript">
function openWin(fileName, w, h) {
windowName = 'HalstonsJewelry-Gifts.com';
windowProps = 'height=' + h + ',width=' + w + ',toolbar=no,status=yes,scrollbars=yes,menubar=no,resizeable=yes';
win = window.open(fileName, windowName, windowProps);
if (parseInt(navigator.appVersion) >= 4) {
win.window.focus();
}
}
</script>
here is what i'm calling it with: <a href='javascript:' onClick='openWin("pop.php",250,300);' class='link_red'> the error i consistently get is the following: Line 45 error. (that's the line with the win = window.open(fileName,windowName, windowProps); Invalid Argument? I can't figure it out.
__________________
"Mankind cannot define memory, yet it defines mankind" |
|
#2
|
||||
|
||||
|
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > java problem with window.open |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|