skyline b/s 三維窗口上浮動非自帶彈出窗口

老外寫的js腳本註釋
// I had to make all top elements - logo, ribbon - with absolute position.
    // I could not make terrain windows absolute position, since it breaks the iframe trick to place elements over it.
    // If i left ribbon or logo with not absolute position it was in document flow. This means that 3D window will be in flow under them
    // and when ribbon is minimized it will still appear under logo, which is not good.
    // By making both logo and ribbon absolute, the document flow does not include them. So 3d window aligned to top.
    // to make it(and left panel) appear under ribbon/logo i use top margin.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章