Comments (9)
I don't get a tooltip on a regular select box even in chrome.
Could you post an example?
from jquery.customselect.
Sure, you just needed the submit button to submit the form (validation only occurs when you submit):
from jquery.customselect.
Ah, I see what you mean.
It is indeed the opacity issue you mentioned. I don't have an out-of-the box solution. We can probably built in something to listen for an invalid event or check for an invalid pseudo class or something. And then you can use :after content to display a custom message like so:
http://jsfiddle.net/adamco/2Kcbp/1/
from jquery.customselect.
This could work nicely, though it'd need other errors to be styled in the same way otherwise there would be consistency issues — probably not something this plugin would handle though.
from jquery.customselect.
Yeah.. you can restyle your message bubbles, but only in webkit for now http://jsfiddle.net/adamco/CJBAR/1/
Just curious, if you're going with HTML5 validation why not also just style your select boxes with pure css3?
http://jsfiddle.net/adamco/BaV96/ no plugin or js needed
from jquery.customselect.
It looks like changing opacity:0
to using appearance:none
does the trick as in the above fiddle (http://jsfiddle.net/adamco/BaV96/).
This could be used with some feature detection to fallback to opacity:0
as it's not supported in IE or Opera, but still not a solid solution.
from jquery.customselect.
something like this may work for you...
- wrap in label (or some other container)
- make label
overflow:hidden
- style label as if it were the select box. give it the width you want your box to be
- make select box
appearance:none
;backgound:none
- make select box wider than container label so that the arrow box is cut off
http://jsfiddle.net/adamco/Xbk2r/1/
from jquery.customselect.
I'll check that out. Do you know if it works on IE8+?
from jquery.customselect.
It should work in IE8.
Anyway, I'm going to leave this issue open in case Anyone has any ideas to resolve this
from jquery.customselect.
Related Issues (20)
- Uncaught TypeError: Cannot read property 'msie' of undefined
- Why not wrap everything in a container for responsive? HOT 3
- Unnecessary focus/blur on keyup.
- Have to click twice to get focus on input element
- Trigger render on resize
- jQuery 3 Compatibility
- How to remove unwanted padding on styled select in IE11/Windows 8 HOT 1
- Can't get selected option value for filtering
- Issue with js code on demo webpage - quick fix
- How to get selected value ? HOT 2
- Customize Options
- Option text is overlapping how we can fix this and how we can change drop down width and border color HOT 2
- Width to 100% not working HOT 3
- Dropdown doesn't open when adding pseudo elements in css HOT 2
- Easily fixable drop down size bug - With solution
- Weird width change at refresh
- Font size for Firefox and IE
- Safari Bug?
- Overrun in options
- CustomSelect breaks Twitter Boostrap tooltips
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.customselect.