Insert hyperlink - link is being modified

  •  08-03-2011, 8:09 PM

    Insert hyperlink - link is being modified

    We have added code so that when a user clicks on the "Insert hyperlink" icon, we allow the user to click a browse button to link to a special page we created to play a video in a popup window. Once the user selects what video they want to play, we populate the "Url:" field with the following:
    /us/media/video_popup.aspx?id=Is_there_a_leadership_and_talent_crisis_hr.flv" onclick="BLOCKED SCRIPTMM_openBrWindow('/us/media/video_popup.aspx?id=Is_there_a_leadership_and_talent_crisis_hr.flv','Video','width=530,height=525,left=50'); return false;" target="_blank
     
    This allows us to do the following:
    If a user has javascript enabled, it will open a new window with height and width we specify
    If user has javascript disabled, it will still open the page in a new window and just ignore the onclick code
     
    In Cute Editor v6.1, it ends up inserting the following hyperlink (THIS IS WHAT WE WANT TO HAPPEN)
    <a title="2007 Best Companies for Leaders survey with Chief Executive magazine" onclick="BLOCKED SCRIPTMM_openBrWindow('/us/media/video_popup.aspx?id=Is_there_a_leadership_and_talent_crisis_hr.flv','Video','width=530,height=525,left=50'); return false;" href="http://www.cutesoft.net/us/media/video_popup.aspx?id=Is_there_a_leadership_and_talent_crisis_hr.flv" target="_blank">Group </a>
     
    In Cute Editor v6.6, it ends up inserting the following hyperlink (NOT WHAT WE WANT)
    <a title="2008 Best Companies for Leaders" onclick="BLOCKED SCRIPTMM_openBrWindow('" href="http://www.cutesoft.net/video/video_popup.aspx?id=020309_2008_Best_companys_for_leaders_hr_ch1.flv" target="_blank" false;? return video_popup.aspx? id="020309_2008_Best_companys_for_leaders_hr_ch1.flv','Video','width=530,height=525,left=50');" video>Group </a>
    Why is v6.6 changing what we entered for the URL?
    Is there any way to disable what is modifying the URL?
     
View Complete Thread