using CSSClass Dropdown event in another form

  •  02-28-2008, 1:30 AM

    using CSSClass Dropdown event in another form

    HI Guys,
     
    am New to Cute Editor.
     
     
    I created one CSS Button and placed in the toolbar... When I click that button It opens antoher form with css styles... I have to apply style from this file...So that I wrote the code with window.opener using CSS Class onchange function.. But it is not working...
     
    I used _Format function and also  CuteEditor_DropDownCommand... Both are not working
     
    Anyone provide me the solution..
     
     
    This is my code.
       <script>
    function ApplyStyle()
    {
    //alert("Entering");
    //window.opener._Format(window.opener.CE_obj_Editor1_ID,"cssclass",document.form1.stylename.value,false);
    window.opener._Format(window.opener.CE_obj_Editor1_ID_Frame,"CssClass",document.form1.stylename.value,false);
    //window.opener.CuteEditor_DropDownCommand("CssClass",document.form1.stylename.value);
    window.close();
    }
View Complete Thread