How can I override the input forms that viewing a site on mac adds? It displays like other inputs just fine in windows. Thanks :)
A:
You can create a javascript dropdown menu. Other than that, though, I'm not sure there's any way. It's a little like trying to format inputs of type 'file'. Here's how I'd probably do it:
<ul id="pulldown">
<span>One</span>
<li id="One" checked>One</li>
<li id="Two">Two</li>
<li id="Three">Three</li>
</ul>
ul {
display: block;
width: Xpx;
}
li {
display: none;
}
$('ul').click( function() {
$(this)
.children('li')
.show();
$(this)
.children('span')
.hide();
$(this).children('li').click( function() {
$('li').hide();
$('ul span')
.text($(this).text())
.show();
});
});
dclowd9901
2010-03-26 17:06:06
I feared I'd have to do that D:
Yawn
2010-03-26 17:20:11
Hey, circumventing what should be simple controls is fun! :|
dclowd9901
2010-03-26 17:47:06
A:
Different platforms have different standard controls. It will also look different, say, in Firefox on Ubuntu. If you want all your controls to have a particular look rather than taking on the standard appearance, you'll have to create that look yourself.
Chuck
2010-03-26 17:35:21