huozi19820418 (火子) :  [email protected] for your help !

解决方案 »

  1.   

    解释:
    1、ie,ns:判断浏览器类型的。ie就是我们普通的INTERNET Exploer 
          ns就是netscape
    2、#master是层属性定义
    3、master = new Object("element")意思是创建新的元素 element是元素的意思你明白吧
    4、moveAlong( )中个参数的作用分别是什么?
       这个没详细看你的代码。
    5、expand( )中多次出现了document,如document.all,document.screen,document.all.top,
    document.top。document后的属性是可以随意定义的吗?它们的定义要遵循什么规则?expand( )中的document各项用处是什么?
     document的意思是当前页面,document.all就是所有的页面显示的所有内容
     document.screen就是页面的象素就是1024*768的形式
     它的属性你可以详细参阅我发给你的邮件了。
      

  2.   

    1、变量ie,ns的作用;
     var ie = document.all ? 1 : 0
     var ns = document.layers ? 1 : 0
    判断客户端的浏览器类型2、#master、#menu、#top、#screen、#screenlinks——它们用了什么语法,作用是?
    CSS样式表,定义显示效果3、master = new Object("element")的作用是什么?
    在JavaScript中创建新对象,在JavaScript中为了方便内部对象的操作,可以使用窗体(Forms)、
    框架(Frames)、元素(element)、链接(links)和锚(Anchors)数组实现对象的访问。4、moveAlong( )中个参数的作用分别是什么?
    function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop)
    layerName--〉层的名称
    paceLeft--〉距左校验值(与fromLeft比较)
    paceTop--〉距顶校验值
    fromLeft--〉距左值
    fromTop--〉距顶值5、expand( )中多次出现了document,如document.all,document.screen,document.all.top,
    document.top。document后的属性是可以随意定义的吗?它们的定义要遵循什么规则?expand( )中的document各项用处是什么?
    document后的属性不是随意定义的,它们的定义要Javascript里允许,
    document是JavaScript中的一个对象在它中封装许多有用的方法和对象
    document.all--〉所有对象
    document.screen--〉屏幕
    document.all.top & document.top-->父框架对象(一般用在子框架里)