Results 1 to 2 of 2

Thread: window.open error unterminated string constant

  1. #1
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default window.open error unterminated string constant

    I am trying to open a link in a new window and get this error. What am i doing wrong on the code below:
    Code:
    <a onclick="window.open('http://c1739202.cdn.cloudfiles.rackspacecloud.com/Assignments_final_demo.htm' 
    width=" height='860,menubar=no,status=no,"' location="no,toolbar=no,scrollbars=no')&quot;" 
     c1739202.cdn.cloudfiles.rackspacecloud.com
     window.open(?http: 1155, Assignments_final_demo.htm?,?>
    <img alt="" hspace="0" src="/files/images/PUdropBoxDemoButton.jpg" align="default" border="0" /></a></div>
    Last edited by mldardy; 05-26-2010 at 06:07 PM.

  2. #2
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I ended getting the window to open with no errors but now it opens not only the popup window but opens in the current window I am on. so it opens up twice. Does anyone have any ideas why it is doing this, here is my code:


    Code:
    <a onclick="window.open('http://c1739202.cdn.cloudfiles.rackspacecloud.com/Assignmnets_final_demo.htm');" 
    href="http://c1739202.cdn.cloudfiles.rackspacecloud.com/Assignmnets_final_demo.htm"  ?><img alt="" hspace="0" src="/files/images/PUdropBoxDemoButton.jpg" 
    align="default" border="0" /></a>

Bookmarks

Posting Permissions

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