'rules'=>array(
'page/<id:\d+>/<alias:.*>/<platform:.*>' => 'page/index/',
'page/<id:\d+>/<alias:.*>' => 'page/index/',
'page/<id:\d+>' => 'page/index/',
'page' => 'page/index/',
'<controller:\w+>/<id:\d+>' => '<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
'<controller:\w+>/<action:\w+>' => '<controller>/<action>',
),
$(document).ready(function(){
int1 = setInterval( function(){
lightning_one(param1,param2);
someFunction_1();
someFunction_2();
}, 4000 );
});
<video id="video_play_3" preload="true"><source id="3" src="video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /><source id="3" src="video.webm" type='video/webm; codecs="vp8, vorbis"' /><source id="3" src="video.ogv" type='video/ogg; codecs="theora, vorbis"' /></video>
function fadeInImg_1(){
$('#img_1').fadeIn('slow');
}
$(document).scroll(function(){
if ($(this).scrollTop() >= 0 && $(this).scrollTop() < 1140){
fadeInImg_1();
}
});