Reflection

酋長的瑞福雷克循部落格

超模糊mt調校記錄


粗略記下最近在模版上的調校,不過,我會簡略寫出,如果你看得懂或有需要的話就作作看,還蠻有趣的啦。

第一,我調整了首頁近期迴響的連結,設定錨點,讓我可以直接點選進入並驅使瀏覽器跳至那個單篇彙整的錨點上,這樣我就不用捲動捲軸了。用 a name= 標籤,配合 MtCommentID 標籤來下錨點,也就是錨點編號是comment 的 id ,另外搭配 permalink 加上 # 字號再加上錨點編號來作自動跳躍的動作。(我的心得是:機器是讓人方便的)

第二,利用onfocus="javascript:this.select();" value="Google 搜尋" 的語法,在搜尋頁面中補上了說明,這樣比較有利於讀者或我自已的輸入,提醒了人該輸入什麼字串。

第三,仿照zonble 的網站的原始碼,嗯,我應該說謝謝, 作了google 的站內搜尋並放在首頁,在本站找到「我的模版:index」,到search段落找找吧,不過你的網域可不要照我的抄,改成你的網域(去掉www)。基本上作這段功能,我是把它當作休閒娛樂用。另外,google最近有個登月計畫,非常有前瞻性,真不愧是個充滿創造力的搜尋引擎啊google將是可以影響到下一代的生活的一個產品。

第四,放置photoblog的最新相片的小圖至主blog上,在photoblog中作一個模版名叫「最新相片」,讀取一個特殊的css,這個css修改自主頁的設定,加上一點點photoblog的段落,並設定為顯示最新一篇photo的小圖,然後,設定「重建索引模版時自動重建此模版」,並利用php include語法來加入在主blog的首頁的sidebar之上,首頁的photoblog最新資訊完全自動化,不用我擔心,photoblog的時間應該降低了許多。

Related Posts with Thumbnails

文章版權宣告:Creative Commons 需標示作者姓名文章版權宣告:Creative Commons 商業用需經作者同意 歡迎轉載、引用本站文章或使用本作者之攝影作品。引用或使用本站文字或攝影作品時需標示作者名 James Chiou (Chieftain),並附上本站超連結,商業用需經作者同意。
♥ 利用下列連結翻譯此頁 / Use Google to translate this page:
漢字 --> English |  English --> 漢字 |  繁體 --> 簡體
Print This Post (友善列印) Print This Post (友善列印)
Add this post to Delicious.  Add this post to Furl.  Add this post to Hemidemi.  Add this post to FunP.  Add this post Yahoo My Web.  Add this post Google Bookmarks.  Add this post MyShare.  Add this post Blinklist.  Add this post Blogmarks.  Add this post Technorati.  Add this post Digg.  Add this post Windows Live.  Add this post Raddit.  Add this post Netscape.  Add this post Newsvine.  Add this post ma.gnolia.  Add this post Tailrank.

類似日誌:


隨機閱讀:





Write a Comment

* 因為本站有快取和防止廣告迴響的機制,所以您的留言可能稍後才會顯示在網頁上。