MozTW 討論區 https://forum.moztw.org/ |
|
請問這種source code是用在哪的? https://forum.moztw.org/viewtopic.php?f=2&t=35048 |
第 1 頁 (共 1 頁) |
發表人: | ai1lsd9b [ 2012-04-22, 23:25 ] |
文章主題 : | 請問這種source code是用在哪的? |
請問這種source code是用在哪的? 1. if( window.addEventListener ) { window.addEventListen.... } 2. function rolling(event) { var delta = 0; delta = -event.detail/3; if( delta == -1 ) { //scroll forward pagedown( 15, 24 ); } else { //scroll backwa... } 3. function pagedown( nIterations, nInterval ){ var i=0, t = setInterval( function() { if( i++ > nIterations) { clearInterval( t ); } else { if( i < 6 ) { px = 10 } else if( i ... } } } Code 因為某些因素隱藏一些了 請問是 JS 還是 CSS? 如果是 JS 要怎麼把這些函數運用在FIREFOX? |
發表人: | expgame [ 2012-05-05, 00:51 ] |
文章主題 : | Re: 請問這種source code是用在哪的? |
這是 JS shift + F4 |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |