Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 Attached Files

  • #2
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Would like to thank those you viewed the post. Even though I did not get a response. I have found my error and corrected.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •