View Full Version : calling function scripting errors

03-09-2005, 04:22 PM
I have a flash detection script that will open a correct page for flash or not flash. However I need it to run a sized new window using window.open The page has a script called callwindow that works when embedded in the html as such.

<a href="javascript:callWindow('Record_zoom2.php?INV_NO={INV_NO}')">

the {INV_NO} is provided and is a varaible inventory number i.e. 12345

But when I try to use the called function in the detection script I get different error depending on what I try. this is the line I can't seem to get to work. below version has no hyperlink and gives this error: expected ")"

document.write( "<a href="javascript:callWindow('Record_zoom2.php?INV_NO={INV_NO}')" > " ) ;

Both script are included in the attached file qnd what I believe to be the problem line has a comment above and below it.

Hope I have made the problem clear. Any help would be much appreciated.

Mike Williams

03-09-2005, 06:20 PM
Would like to thank those you viewed the post. Even though I did not get a response. I have found my error and corrected. :thumbsup: