Good grief that was damn quick!!!!!!!!!!
Many thanks for that, works a damn treat!!!!!
Cheers….
Always quick when you’re already using what’s being asked for. 😉
Fantastic – been looking for this. I’m using it on my blog also now.
Any idea how to do with without the aid of javascript? I want to use a submit button.
I’m using this with styles like at alexking.org but I don’t know how to make it look nice. Anybody know the general code I need to slip into the styles to adjust the width and color of this? Thanks.
No Javascript:
Nope. At least, I could show you how to use a submit button, but it too would have to use javascript. The reason is, the value for each archive option is an actual URL to the archive page, not a query argument that’s passed to PHP. Something has to interpret the value as a link that needs to be passed to the browser.
Style the form:
Assign the form a class, lets say “archiveform”, and set the various properties like this:
.archiveform form option {
width: 100px;
color: #000080;
}
Hey, thanks! I just dropped by looking for something like this to compress my archives list, and this is perfect. 😀
How do you assign a class?
Also, how do you change the position of it? When using the style found here, it gets pushed over and I don’t know why.
http://www.alexking.org/software/wordpress/styles/sample.php?wpstyle=diary
I want to change it without moving anything else in the menu.