Skip to content
Advertisement

Tag: javascript

Validating css color names

I’ve written a jQuery plugin that accepts css colors for some of its parameters. I want to validate them. If it was just a hex or rgb value I could do that with a regular expression, but how do I validate all 147 valid color names without bloating the plugin? I was wondering if there is some way of attempting

Image Enlarger Script

I am looking for one of those scripts that when you click a Thumbnail, it makes the picture englarge. I tried searching Google using a lot of terms, but cant find any. Where do I get these? Answer I believe one of these are what you are looking for. http://leandrovieira.com/projects/jquery/lightbox/ http://jquery.com/demo/thickbox/

Fixed Positioned Div Inside another Div

I have one div position:fixed; and my problem is that position fixed is relatively to all the page, I need that the fixed div stays inside other div that is centered in the page with margins in auto.(So when I scroll down the page I want to see always the div in the same position). I use the jquery plugin

Advertisement