Saturday, March 24, 2007

如何產生網頁檢視(snap preview)

有人問如何在網頁產生檢視效果(如圖)




步驟:
1. 請到 www.snap.com右下角sign up.



2. 完成後它會給你一段html script如下(直接複製下面程式碼到你網頁是沒用的, 請去申請個人網頁的):

<script defer="defer" id="snap_preview_anywhere" type="text/javascript" src="http://spa.snap.com/snap_preview_anywhere.js?ap=1&key=dc2ed07fa0427fa0f742e0b5562b6adc&sb=1&amp;th=green&cl=0&si=0&oi=0&link_icon=on&preview_trigger=both&domain=abc123.blogspot.com/&platform=blogger"'>
</script'>


3. 到範本(Template)->修改HTML, 找到</head'>這段程式碼, 把步驟二拿到的程式碼插入到</head'>之前即可.


No comments: