Thursday, March 27, 2008

Pulldown Menu

How to makes archives blog in one menu in the form of pull-down at classic template???? This is very easy :
(1) logging to blogger. com with your id
(2) click template
(3) at part sidebar your blog in part archives, there code html as follows:


<BloggerArchives>

<a href=’<$BlogArchiveURL$>’><$BlogArchiveName$></a>

</BloggerArchives>


(4) change code above with code html hereunder:

<select name="archivemenu" onchange=

"document.location.href=this.options[this.selectedIndex].value;">


<option selected>- Archives -</option>

<BloggerArchives>

<option value="<$BlogArchiveURL$>"><$BlogArchiveName$></option>

</BloggerArchives>

</select>


(5) when finished, click save changes. when done, click republish.
(6) finished.


if you want to make previousposts pull-down, at part sidebar your blog in part previousposts, there code html as follows:

<BloggerPreviousItems>

<li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>

</BloggerPreviousItems>



change code above with code html hereunder:


<select name="Previousmenu" onchange=

"document.location.href=this.options[this.selectedIndex].value;">

<option selected>- PreviousPosts -</option>

<BloggerPreviousItems>

<option value="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></option>

</BloggerPreviousItems>

</select>



For Indonesia Language please visit This My World

Add to Technorati Favorites

0 comments: