1,父页面怎么得到子页面返回的信息,最好有完整的列子,给我模仿一下。
2,为什么有些电脑的ie(都是2000系统)能表现字体的样式,但是有些不能,(不是ie字体大小的问题,也不是分辨率的问题),我给字符加了样式,但是有些电脑不能看到这些样式,我也晕了,谁能指点迷津

解决方案 »

  1.   

    window.opener.document.forms[0].xxxInputName.value='xx'
     css采用就近的原则,不要使用<font size=2>这样的格式,使用
    <style>
    Font {font-size:12px;}
    </style>
      

  2.   

    1.oNewWindow = window.open('s.html');//s.html是新页面,在主页面用oNewWindow.变量 就可以访问新页面的变量了。
    2.系统里面可能没有你sytle里面制定的字体。
      

  3.   

    如果用showModalDialog,本身可以返回子页面所提交的表单信息<SCRIPT>
    function fnRandom(iModifier){
    return parseInt(Math.random()*iModifier);
    }
    function fnSetValues(){
    var iHeight=oForm.oHeight.options[
    oForm.oHeight.selectedIndex].text;
    if(iHeight.indexOf("Random")>-1){
    iHeight=fnRandom(document.body.clientHeight);
    }
    var sFeatures="dialogHeight: " + iHeight + "px;";
    return sFeatures;
    }
    function fnOpen(){
    var sFeatures=fnSetValues();
    window.showModalDialog("showModalDialog_target.htm", "",
    sFeatures)
    }
    </SCRIPT>
    <FORM NAME=oForm>
    Dialog Height <SELECT NAME="oHeight">
    <OPTION>-- Random --
    <OPTION>150
    <OPTION>200
    <OPTION>250
    <OPTION>300
    </SELECT>
    Create Modal Dialog Box
    <INPUT TYPE="button" VALUE="Push To Create"
    onclick="fnOpen()">
    </FORM>
      

  4.   

    系统里面可能没有你sytle里面制定的字体
    ???那怎么办 字体是Haettenschweiler
      

  5.   

    孟子没错,偶吃过font size=2> 的苦
      

  6.   

    我的font倒没问题,td和datagrid 的字体样式表现不出来