HTML :
<div id="container">
<div id="outerdiv">
<iframe id="innerdiv" width="500" height="560" src="http://cnn.com" scrolling="no" frameborder="0"></iframe>
</div>
</div>
CSS :
#container { width:900px; height:800px; margin:auto; }
#outerdiv {
width:446px;
height:246px;
overflow:hidden;
position:relative;
}
#innerdiv {
position:absolute;
top:-412px;
left:-318px;
width:1280px;
height:1200px;
}
Sumber
Kamis, 25 September 2014
Rabu, 24 September 2014
Auto Update nice.rsc
Copy paste script di bawah ini pada terminal :
/system scheduler
add comment=update-nice disabled=no interval=1d name=::update-nice-rsc:: \
on-event=":if ([:len [/file find name=nice.rsc]] > 0) do={ /file remove nice.rsc };/tool fetch address=ixp.mikrotik.co.id src-path=/download/nice.rsc;/import nice.rsc" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive start-date=jan/01/1970 start-time=00:06:00
Sumber
/system scheduler
add comment=update-nice disabled=no interval=1d name=::update-nice-rsc:: \
on-event=":if ([:len [/file find name=nice.rsc]] > 0) do={ /file remove nice.rsc };/tool fetch address=ixp.mikrotik.co.id src-path=/download/nice.rsc;/import nice.rsc" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive start-date=jan/01/1970 start-time=00:06:00
Sumber
Langganan:
Postingan (Atom)