Chasing the Wind

News. Faith. Nonsense.


Dropdown Blogroll List

This is for the webgeeks out there, not for the regular visitors. 🙂

Based on a suggestion by Podz, I’ve changed the way the Blogroll is displayed. Blogrolling by default gives you a long listing of all the blogs, but that’s gotten way too cumbersome. I wanted some sort of collapsible, dropdown menu.

There are currently 10 blogrolls on the left sidebard, all nicely condensed. Here’s the code snippet that goes inside the sidebar div:


<div id="sidebar">
<ul>

<!-- My Favorite Blogrolls -->
<li><h2><a href="#" onclick="return kadabra('m10');"><img src="/Images/buttonfavoriteblogs.png" border=0 /></a></h2>
<ul id="m10">
<li>
<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=ac55c2faa913a1118a1fb12c225c37d8"></script>
</li>
</ul>
</li>

</ul>
</div>

And then this goes in your style.css:

/* kadabra javascript */
#m10, #m11, #m12, #m13 {
display: none;
}

In the example above, I’m only using #m10, but you need to call out each dropdown in as a separate item (#m11, #m12, etc) and label it separately in the style sheet.



4 responses to “Dropdown Blogroll List”

  1. to collapse her blogroll. I did a little digging and here are some links that may be useful. If someone reading this knows how to make your blogroll sit in a nice little drop-down box just like my Archives menu, please share. Flooble Here’s anotherOne more Dynamic Drive

    Like

  2. LoL.

    Well, hey, I had to write it somewhere.

    Like

Leave a comment

About Me

Michael, a sinner saved by grace, sharing what the good Lord has shared with me.

Solomon, in the book of Ecclesiastes, said, “I have seen all the things that are done under the sun; all of them are meaningless, a chasing after the wind.”

If you’re not living for the glory of God, then what you’re doing is meaningless, no matter what it is. Living for God gives life meaning, and enjoying a “chasing after the wind” is a gift from God. I’m doing what I can to enjoy this gift daily.

Got questions? I’m not surprised. If you have any questions about Chasing the Wind, you can email me at chasingthewind@outlook.com.

Recent Posts

  • Finding Wisdom
    I.             Introduction An old friend once told me a story that every married man understands. His wife tried on a new dress and asked, “Does this dress make me look fat?” He answered with complete honesty. It was true – and it was also unwise. Later he said something I have never forgotten: truth and… Read more: Finding Wisdom
  • Confession, Reconciliation, Celebration
    I.             Icebreaker — Stories of Reconciliation Before we turn to Nehemiah, let me connect us to where we’ve been the past couple of weeks. Two weeks ago, Tommy used home renovation shows—things like Property Brothers—to help us think about rebuilding. That fit Nehemiah well, because Nehemiah quite literally asks the king for permission to rebuild… Read more: Confession, Reconciliation, Celebration
  • God Protects Us
                 I.      Introduction We all arrived safely at the office today. Raise your hand if you’re not here. We don’t always stop to think about it, but even something as ordinary as getting to work safely is evidence of God’s care. Scripture reminds us that our steps are ordered by the Lord, and His protection… Read more: God Protects Us
  • Esther: Queen of the Darkest Night
    I.             Introduction Israel had long been warned that disobedience would lead to captivity. Jerusalem fell, many were exiled, and empires changed hands. Daniel not only foretold the rise of Persia—he also lived through the transfer of power as God’s people remained in exile. Esther takes place in the Persian Empire after Babylon fell, when many… Read more: Esther: Queen of the Darkest Night
  • God’s Plan: A New Year, A New You
                 I.      Jeremiah the Prophet It’s a new year—time to change the page on the calendar… unless, like me, you use a digital calendar. Then you don’t change the page; you press a button. Either way, it feels like a fresh start. But Scripture reminds us that “new” isn’t mainly about the calendar. The Bible’s… Read more: God’s Plan: A New Year, A New You

Newsletter