Preview tab and javascript's window.open() function

  •  04-15-2005, 12:52 PM

    Preview tab and javascript's window.open() function

    Hi,
     
    I'm running into problems when using the Preview tab and clicking on a link that actually makes a javascript function call as opposed to a URL.  When I click on the link, the Javascript function window.open() is called and has been configured to open a new window with predefined dimensions.  The link goes something like <a href="BLOCKED SCRIPTwindow.open(URL, ... )">.
     
    When I click on the Preview tab to test the link, a new browser window opens (which does not have the predefined dimensions that I specified) and attempts to access the page "BLOCKED SCRIPTwindow.open(URL, ... )."
     
    I noticed that when any link in the Preview tab is clicked, a new window is opened and attempts to navigate to the page specified within the href.  This makes sense considering that the user may not have saved the text entered in the editor prior to accessing the Preview tab.  However, is there anyway to resolve my javascript issue?
     
    FYI: My company did purchase your source code.
View Complete Thread