Prev: errore
Next: Onmouseup in select box affects scrollbars
From: VK on 28 Nov 2007 10:52 On Nov 28, 6:44 pm, Kailash Nadh <kailash.n...(a)gmail.com> wrote: > It is not possible to tamper with the Browse button for security > reasons. It is well possible to do using CSS/JavaScript or just CSS: see the link I posted. Also in IE7 input type="file" is now finally treated as two separate elements for styling: the input field and the button itself. But if one needs not just styling but a custom button label as well then he needs to stick to the linked solution. I personally would offend to any label changes from the usability point of view, but anyone is entitled to go to the hell by his own road :-)
From: VivianAranha on 28 Nov 2007 10:56 Here is what you are looking for http://www.quirksmode.org/dom/inputfile.html
From: Kailash Nadh on 28 Nov 2007 11:29 On Nov 28, 3:56 pm, VivianAranha <vivianara...(a)gmail.com> wrote: > Here is what you are looking for > > http://www.quirksmode.org/dom/inputfile.html Ah, quirksmode, I even remember trying that particular hack once. Sorry, totally lost it. -- Kailash Nadh | http://kailashnadh.name
From: Thomas 'PointedEars' Lahn on 29 Nov 2007 16:20
VivianAranha wrote: > Here is what you are looking for > > http://www.quirksmode.org/dom/inputfile.html However, that dirty hack does not conform to accessibility guidelines and legislation. PointedEars -- var bugRiddenCrashPronePieceOfJunk = ( navigator.userAgent.indexOf('MSIE 5') != -1 && navigator.userAgent.indexOf('Mac') != -1 ) // Plone, register_function.js:16 |