April 11, 2004

MuNu Pull Down Menu

Now updated for automatic updates.

Copy this into the Between <head> and </head>

<SCRIPT LANGUAGE="JavaScript">
<!--
function which(form)
{
var order=form.jump.selectedIndex
if (form.jump.options[order].value != 0)
{
location=form.jump.options[order].value;
}
}
//-->
</SCRIPT>


Copy this after the <body> tag where you want the menu to appear

<form name=form1>
<select name=jump onchange=which(this.form)>
<option value=0 selected>THE LIST</option>

<?php include "http://blogroll.mu.nu/pulldownd.i"; ?>

</select>
</form>

NOTE: This will give you the list in the date added format. If you want the alphabetical list use pulldown.i

Posted by Stephen Macklin at April 11, 2004 07:50 PM
Comments
#1

I should probably add this to the standard MuNu scripts...

Posted by Pixy Misa at April 11, 2004 09:24 PM
#2

thanks for sharing this bit with us Stepen :) i've been looking for ways to tidy up my side bar and your post came just in time.

Posted by breanagh at April 12, 2004 03:42 AM
#3

Yes, with the continuing addition of new munivians, it is nice, but if you have to handcode the new arrivals, it would always be a work in process unless it could incorporate the existing code created list as well.

Posted by Mr Mouse at April 12, 2004 06:12 AM
#4

I don't know if it would with with the Ecosystem, either. Which would be a shame. :(

Posted by Pixy Misa at April 12, 2004 07:34 AM
#5

Mouse - I've always hand coded new arrivals (and all the links on my sidebar) so I didn't even look into that. I suppose it is probably possible.

Posted by Stephen Macklin at April 12, 2004 11:11 AM
#6

Is this the same setup Jim used at Snooze Button Dreams?

IIRC, if the scripting is turned off then the 'broke' list is automatically extended, which is good.

And I think Jim confirmed that the links in the list count on the Ecosystem. Or did I remember that completely backwards?

Posted by Ted at April 12, 2004 12:43 PM
#7

Ted,

Don't know if it the same one Jim has. I Googled for a pull down menu script and picked what seemed to be the simplest one. As for the ecosystem, I have no idea if they work or not.

Posted by Stephen Macklin at April 12, 2004 01:14 PM
#8

Nice script you found there Me Macklin! Thanks for sharinf it with us.

This is a different drop down list than Jim's. Jim's script will drop down a list that is "sticky" when you click the heading. It will stay "stuck" until you click on the heading again.

What is it with this script that makes the names in the drop down list display in all capitals? I didn't see anything in the script that would trigger that, or did you just code it in caps on your site?

Posted by Madfish Willie at April 12, 2004 02:58 PM
#9

Blech, hand-coding new arrivals. So many these days, how can you keep up?

Posted by Jennifer at April 12, 2004 03:36 PM
#10

Willie - Not sure about the caps. It doesn't show that way on mine. The Div on the sidebar is coded as caps in the CSS, but none of the css formating seems to appear on my browser.

Jennifer - I think its OCD. The obsession is that in my warped view, the links are just as much a part of the content as the posts.

Posted by Stephen Macklin at April 12, 2004 06:47 PM
#11

I used to be like that about the patch of lawn that is my sidebar. Then I gave in and let the weeds grow. I trim it and maintain the landscaping about once a month.

Posted by Jennifer at April 12, 2004 07:09 PM
#12

Strange, I feel the same way about the patch of lawn that is in front of my house.

Posted by Stephen Macklin at April 12, 2004 08:25 PM
#13

Mr Macklin... I'm using Mozilla 1.6 and it's all caps and looks like some em spacing between the letters. I'll check in IE later to see if it's the same there.

Posted by Madfish Willie at April 12, 2004 09:23 PM
#14

Since I handcoded all mine previously, I don't think adding any new additions will be too terrible.
I took Stephen's basic MuNu list and tweaked it around for all my links, because I like it that way.
Thanks, Mr. M.

Posted by LeeAnn at April 13, 2004 02:36 AM
#15

I think the Bear is parsing for anchors so this likely wouldn't work with the Ecosystem. :-(

On the other hand, it works phenominally for the category list at ZeroIntelligence.net. Thanks, Steven!

Posted by Jim at April 16, 2004 02:01 AM
#16

And the collapsable lists are confirmed working with the Ecosystem.

Posted by Jim at April 16, 2004 02:02 AM
#17

Another great method to create a complete list of all your favourites is with this great program :

http://www.lorriman.com/software/urlshortcutstoclipboard/urlshortcutstoclipboard.htm

Take a look. It's easy to understand. And even easier to use.

No, I don't get a commision. I just believe its the simplest way to hand-code your favourites together.

Posted by Zervoid at April 26, 2004 05:50 PM
#18

Is there a way to define the width of the scroll down menu...For those of us who have narrow sidebars?

Posted by Lynn at August 14, 2004 02:07 AM
#19

I asked the same question Lynn. Turns out that I had to massage the blog titles to get them to fit. Bleah.

Posted by physics geek at August 16, 2004 08:24 PM
#20

Hmmm...surely there's someone who has altered this solution to pull from the mu.js or nu.js items that keep the lists updated.

I also have questions about positioning and width. Any quick answers?

Posted by MRN aka "The Husband" at December 8, 2004 06:23 PM
#21

Bah! Someone please delete that! I thought it would paste with the formatting. :/ Sorry.

Posted by MRN aka "The Husband" at December 8, 2004 11:59 PM
#22

I took care of the comment you wanted deleted but I think only Pixy can rebuild the site and make it go away.

I will get the newest names added tonight or tomorrow. I have to edit a 580Mb PhotoShop file so we'll have to wait and see.

Posted by Stephen Macklin at December 9, 2004 12:04 AM
#23

Actually, just posting a comment will rebuild it :)

Stephen, take a look at the "Pull-Down Thingy" template in the Blogroll blog. It should generate the list part of your pulldown thingy automatically. It can be included (for people using PHP) with <?php include "http://blogroll.mu.nu/pulldown.i"; ?>

Posted by Pixy Misa at December 9, 2004 01:17 AM
#24

I had a go at it. rebuilt my site to php. replaced list with the ?php include statement but it didn't seem to work.

I tried a few variations of keeping vs deleting the code portions of the list

and the closing tags but none of them seemed to work. could the problem be with the code in the header portion? or is it just operator error?

Posted by Stephen Macklin at December 9, 2004 02:46 AM
#25

Well, I didn't actually test it... :(

I will test it now and find out.

Posted by Pixy Misa at December 9, 2004 08:21 AM
#26

I have tested it now and it works. :)

Don't know what happened when you tried it. Hmm, no confused smiley, darn it.

Posted by Pixy Misa at December 12, 2004 03:02 AM
#27

Ok, I got the pull down to work just fine in FireFox...but IE pukes it. Double checked the code everything seeems to be in order? Any ideas?

Posted by Guy S at May 14, 2005 08:08 PM
#28

just saw og's comment about removing the script from the except for the php code....works ok in Firefox and *spit*IE6*spit* now. hope that helps just to verify og's sucess.

Posted by Guy S at May 15, 2005 05:06 AM
#29

Well, I must be dense because I can't get the drop down to work in IE and I can't find the comments that say how to fix it in this post or any others. If anyone can help me with this I would be highly appreciative. Thanks

Posted by Contagion at May 26, 2005 04:06 AM
Live Comment Preview
Post a comment









Remember personal info?