Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-09-2005, 03:22 PM   PM User | #1
mikewms
New to the CF scene

 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mikewms is an unknown quantity at this point
calling function scripting errors

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
Attached Files
File Type: txt testscript.txt (2.0 KB, 115 views)
mikewms is offline   Reply With Quote
Old 03-09-2005, 05:20 PM   PM User | #2
mikewms
New to the CF scene

 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mikewms is an unknown quantity at this point
Would like to thank those you viewed the post. Even though I did not get a response. I have found my error and corrected.
mikewms is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:51 PM.


Advertisement
Log in to turn off these ads.