We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
Our readers asks: how to make popunder like at http://allswingersclubs.org/ (some adult website with reviews of swingers clubs)?
I did research and found the readable code which this website use:
It’s a quite inoffensive kind of advertisement which I recommend to use at websites where you pushed to use such kind of ads.
Why it’s good:
it’s a popUNDER. Means it’s not interfere with a major website, user will see it after she finished work with the major website. Of course, best ads is no ads, but as I said before if you have to use any kind of popping ads – you better stick with popunders
it’s places the cookie with the mark and don’t open another popunder for a some timeout. In the example it’s a 1000*60*60 ms (1 hr), you can set any timeout you want. Means user will not be gouged by ads which opens with every click on page, instead it will be opened per 1 click per 1 hour
Again I understand and want you to understand that any popping ads is quite offensive technic. But I can imagine that some website owners, like a guy who run that swingers clubs website are desperated to survive/monetize their properties and if you want to use such ads – follow this case as the best practice.
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
JavaScript has the largest developer community but Rust was the fastest growing in the past year.
JavaScript remains by a long way the most popular programming language with 13.8 million developers, according to SlashData, a UK firm that studies developer communities.
The company estimates in its State of the Developer Nation 20th edition that in the first quarter of this year the JavaScript community accounted for a big chunk of the estimated 24.3 million active developers worldwide.
SlashData’s survey reached over 19,000 respondents from 155 countries and offers a slightly different take on other language-popularity rankings from GitHub, RedMonk, Stack Overflow, and Tiobe.
SlashData estimates the next three largest developer communities are using C/C++ (7.3 million), Microsoft’s C# (6.5 million), and PHP (6.3 million). Other large groups of developers are fans of Kotlin, Swift, Go, Ruby, Objective C, Rust and Lua.
The company reckons JavaScript has gained 4.5 million developers in the community since 2017, while Python has gained 1.6 million developers over the past year.
Python is the fastest growing language with more than six million developers, according to SlashData, and 70% of developers focussed on machine learning (ML) report using it, likely due to ML libraries like Google-developed TensorFlow, Facebook’s PyTorch, and NumPy. But Python is also widely used for backend systems automation.
“For perspective, only 17% use R, the other language often associated with data science,” SlashData notes.
SlashData, however, notes that Rust and Lua were the two fastest growing programming language communities in the past 12 months, albeit from a lower base than Python.
Rust isn’t widely used but this year its community stepped out of Mozilla’s shadow and created its own Rust Foundation that’s backed by Amazon Web Services, Microsoft Azure, Google and Mozilla.
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
In our free time we support our friends swingers clubs directory – http://allswingersclubs.org/ . The owner had lost of issues with modifying even simple things with his CMS. He did a wrong choice at the times of hype of Django and ordered development of CMS on Python/Django. At the first glance it was a good idea – much better than, for example, use of pure PHP+Javascript or Python+Javascript. But then it’s became nightmare.
As WordPress is the most used CMS in the world and has a set of modules, which covers all basic needs, we recommended the owner of the All Swingers Clubs to move to WP.
The main thing we worked on… You will not guess what… Is the ability to combine such modules to avoid any coding/scripting. We built some stack with such modules:
Toolset Types + Views
Astra PRO Theme
YOAST SEO
W3Cache
iThemes Security
VaultPress + UpdraftPlus
+several less important plugins
In next posts we will show you more details on process of developing of All Swingers Club new CMS.
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
This time, I want to list some jQuery plugins that work with images or manipulate images some how. I didn’t consider scripts for slide shows or image viewer.
You may be also interested in the following posts,
Image reflection is a common technique that designers use for a visual appeal. This jQuery plugin can create the reflection automatically for images. It is very light & faster because it uses the Canvas object in supported browsers and DirectX filters in Internet Explorer.
Features
Light weight (Less than 2KB)
Easy to use
Customizable
DEPENDENCIES
jQuery 1.2.3 +
SIZE
Less than 2KB
RESTRICTIONS
None
COMPATIBLE BROWSERS
IE 6+,Firefox 1.5+, Opera 9+, Safari 2+, Camino and Google Chrome
It is a good script to zoom into some part of an image. The idea is to use two images. A smaller image which shows initially and a high resolution copy of that image which will be shown (part of the image corresponding to the mouse position).
Open in new window
DEPENDENCIES
jQuery 1.2.6 +
SIZE
Less than 9KB
RESTRICTIONS
None (GPL)
COMPATIBLE BROWSERS
Firefox 2+, Opera 9+, IE6+, Safari 2+, Google Chrome
This script is useful if we need to show a high resolution image in a a small area. Using this script, user can pan around the images using a small thumbnail view (like google map).
It can be used to draw a selection inside an image. Then this data can be used to crop that image in server side. A very good interface that matches to professional image cropping applications. Probably it is useful in a CMS or for web based image manipulation.
Open in new window
DEPENDENCIES
jQuery 1.2.6 +
SIZE
10KB (Compressed)
RESTRICTIONS
None (MIT)
COMPATIBLE BROWSERS
Firefox 3, Opera 9.5, IE6+, Safari 3, Google Chrome
This script creates a 360 degree panoramic view of any objects using an array of images. The script is simple to use. Shoot the photos of the object in all possible angles and give it as an array to the script. The image preloader will load all images. Can be activated in mouse move or click.
It can create a spherical panorama from given images. It will need a lot of images and those are handled well using a good loading animation. All the process are explained well in their site (It is in French, I have given a google translated link).
This is a good script for creating panoramic views with hot spots. The animation is good and there are controls which pops up on mouse over to control the direction or pause. We only need to give the image and the hotspots can be given using image maps.
It is a jQuery plugin that sets a division to rotate between images as if they were on the faces of a cube.
The image cube functionality can easily be added to a division with appropriate default settings. It then displays the images contained within the targetted division in a cycle every two seconds. A random rotation is chosen each time to move to the next image. Highlights and shadows are used to enhance the 3D effect.
jqPuzzle lets you easily create sliding puzzles for your web page. Select an image, put it in your page, and add some magic – jqPuzzle will automagically turn it into a full-blown sliding puzzle! If you want, you can highly customize and style your sliding puzzle according to your needs. The interface is available in several languages, and you can add your own texts on the fly.
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
Prototype is one of the earliest new generation javascript libraries (or javascript frame work) like jQuery & Mootools. Coupled with Script Aculous, it is a powerful library and many extensions/plugins are available for it. The one downside to this library is, it is rather huge and requires script aculous even for basic animations. Size is okay when compressed, but it is not easy to find a compressed version and if compress via javascript compressors, it might produce some errors.
Here is a collection of the most useful prototype plugins grouped in to categories so that you can find your script based on your needs. Includes scripts for image galleries, lightbox, in place editors, form validation, modal windows, image manipulation, auto complete, table sorting etc.
It is an excellent script which can show images, movies, flash or iframe content in an overlay effect. It supports slideshow mode for images and auto detection of media using file name extension.
This is not yet complete and is not available for download. But the demos are worth watching and looks promising. It is aimed to be a complete gallery script with support for XML based galleries width different viewing options, thumbnail zoom etc.
Prototype UI is a javascript library based on Prototype (1.6) and Script.aculo.us (1.8). It’s a library of User Interface components, based on a common fundation classes, which could be easily used by various web applications.
phototype is a client/server-side library, based on prototype. On the server side the library is powered by PHP(with GD library) that renders the image. With phototype, you are able to rotate, resize, flip and do some other cool effects to images.
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
In the previous post, I discussed about jQuery plugins for showing image gallery. This time, I checked for Mootools alternative. Like jQuery, I was able to found gallery plugins which have similar functionality. Listing 10 of them. Pick one that suits your need.
It is a simple and easy to use (provided, you’re using PHP) gallery plugin which supports thumbnail images with carousel view. It is supplied with a php file which can scan a specified folder for images and it can create the gallery automatically.
It is a simple gallery plugin with support for thumbnails with paging. The transition effects are simple. The latest version is based on MooTools 1.2. There is also an older version for MooTools 1.1
It is a light weight plugin which supports thumbnails and image captions. As it uses a carousel like view for thumbnails, it can be implemented in less space.
NoobSlide is a multipurpose script which can also be used as a gallery. Lots of different styles are supported. It can also be used as a content slider. The animation is also good. There are lots of examples provided in their site. You can also find a version for MooTools 1.1.
It is an unconventionally styled gallery. Thumbnails are listed with a zoom effect on hover. Once you click the image, the view is switched to a 3d looking carousel of thumbnails + the main image. The animations are also good.
Features
Automatic resizing of images
Handles broken image links
Mouse wheel scrolling
Support for captions with animation effect (Fancy Caption)
MooFlow is a script that emulates the famous CoverFlow of Apple’s. Interestingly it supports full screen option like a flash player which fills the browser viewable area. Mouse wheel and keyboard navigation is supported.
Features
Easy to setup
Automatic resizing of images with full size viewer (popup)
It is an advanced imaged gallery with excellent transition effects. It supports cross fading of images and Ken Burns effect. The scripts are separate for core functionality and different transitions so that you only need to include the transitions you want.
Features
Excellent transitions – cross fading & Ken Burns
Good styles
Slideshow mode
Auto scrolling thummbnails (Examples for vertical thumbnails provided)
Support for image caption
Lots of examples provided
DEPENDENCIES
MooTools 1.2
SIZE
Less than 35(Including core 26KB (Uncompressed) and transitions)
It is another excellent script which can be used to show image galleries as well. The thumbnails are shown inside the images and auto scrollable. In the new version transition effects are also supported.
smooth gallery Features
Controls & thumbnails are placed inside the main image, which enables it to be placed in a small area.
Auto scrolling thumbnails
Image Caption
Images are linkable, which makes it suitable for a featured content gallery
When comparing features, Slide Show2 is the best script for showing an image gallery. It supports different types of transitions, customizable options and provides a lot of examples in their website.
Smooth Gallery is also good. It takes less space in a web page and can be used as a featured content slider.
Mootools Vs jQuery In the previous post, I’ve listed 10+ image gallery plugins for jQuery. Finding plugins for both jQuery & Mootools is a fairly easy job. Also, both libraries have plugins which matches in functionality. So I think, it is just a matter of choice. If you are comfortable with jQuery use it, or use Mootools otherwise.
Anyway, I think Slideshow 2 & Smooth Gallery are excellent scripts which lacks alternative in jQuery. jQuery has CrossSlide which has transition effects similar to Slide Show 2, but it is not complete as a gallery plugin as Slide Show 2 is. And for Smooth Gallery, I couldn’t find a jQuery alternative. Hope someone will port it to jQuery.
Edit: Links corrected, missing image for Smooth Gallery added
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
An image gallery is part of the modern web 2.0 design. There are many ways to show it. For eg: thumbnail listing of images – clicking will show the corresponding large image in an overlay div – like lightbox. The other method is, list images inline – no popups.
Here I’ve listed 10 jQuery plugins which can be used for this type of gallery. All these plugins can show images with some transition effects. I didn’t consider lightbox like (popup) scripts. But you may be interested in the following articles.
Galleria is a javascript image gallery written in jQuery. It loads the images one by one from an unordered list and displays thumbnails when each image is loaded. It will create thumbnails for you if you choose so, scaled or unscaled, centered and cropped inside a fixed thumbnail box defined by CSS.
The core of Galleria lies in it’s smart preloading behaviour, snappiness and the fresh absence of obtrusive design elements. Use it as a foundation for your custom styled image gallery.
Though it is not limited to showing images, it is still an option to show images. Read more
Slide Viewer
slideViewer is a lightweight (1.5Kb) jQuery plugin wich allows to instantly create an image gallery by writing just few lines of HTML such as an unordered list of images
InnerFade is a small plugin for the jQuery-JavaScript-Library. It’s designed to fade you any element inside a container in and out.These elements could be anything you want, e.g. images, list-items, divs.
The jQuery Cycle Plugin is a lightweight slideshow plugin. It supports pause-on-hover, auto-stop, auto-fit, before/after callbacks, click triggers and many transition effects. It also supports, but does not require, the Metadata Plugin and the Easing Plugin.
DEPENDENCIES
jQuery 1.2
SIZE
18 KB (With all transition effects – Core plugin 9KB)
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
Say “Good Bye!” to the old, plain looking forms. Using jQuery we can create more interactive and stylish forms. What we need to do is, replace form fields that are difficult to style. jQuery provides lot of plugins which can imitate the behavior of these fields.
Then we need to add some interactivity to forms using auto complete, dynamic validation etc.
Replacing checkbox and radio button
Checkbox and radio buttons were a big problem for designers as the implementations were different in different browsers and it could not be styled. Now we can use simple jQuery plugins to imitate the behavior of checkbox and radio buttons. And these are fully stylable using css. Most of these plugins uses images for different states of checkbox button and hence it can be customized anyway. Recommended plugins
Another browser dependent thing. Some browser supports basic styling but we need more customization. This plugin replaces select box with a normal input field styled with background image. As it is an image, it is customizable by changing the image.
Again, browser dependent thing which is almost impossible to style. Using Flash or Iframe, an Ajax effect can be achieved here. jQuery Plugins for Ajax upload
If we need some inputs in certain format, don’t rely on the user to input in that specific way. Instead restrict them to input only in that form. Less error in input.
Instead of throwing errors after form submission, validating the form dynamically as the user types in and showing messages adds more interactiveness to form. User will know what is wrong as soon as he types in some thing. The best plugin to use is,
The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use AJAX. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. Both of these methods support numerous options which allows you to have full control over how the data is submitted. Submitting a form with AJAX doesn’t get any easier than this!
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
Most of the web2.0 design allows the user to change the font size of the main content area. This is indeed a good usability. So I thought, I should contribute something here. The result is a small jQuery code which can be used to generate a font size changer interface.
Only thing you need to make is a holder element for the controller and then call the function like
fontSize("#holder", "#content", 9, 12, 20);
// holder is the id of the element where the font size controller interface will be shown// content is the id of the element where the font size changes will take place.// The next three arguments are Minimum font size, Default font size and Maximum font size respectively
Yes, all done and it will automatically generate all required buttons. It also supports jquery cookie plugin. So when you open the page again, the preferred font size will be restored automatically. (Cookie plugin is not required, but recommended)
After the function is called, the controllers will be generated in the specified area like the following.
Advantages
Small size, built on jQuery
Fully skinnable using css
Multiple interface can be used in the same page for two different content areas
Support jQuery Cookie plugin for remembering the preferred font size
Very easy to use
The logic
The function will be called with the holder element and target element with default, maximum and minimum font size
Create three elements for decreasing, default and increasing font size
Style the elements using CSS so that it will be fully skinnable
Upon clicking read the current font size for the target and calculate the new font size. Then apply it to target element
Save the modified font size value to cookie, so that the preferred font size can be saved and restored
The CSS
We need some buttons for the backgrounds and the best places to search is Icon look, Icon Finder and Icon Let as usual. I found the above images, but you can use another or design yours.
Now we need to style the elements. Mainly we need 5 styles – Button for smaller font, default font and larger font. We need two more styles for the disabled state of buttons. (If current font size is the minimum or maximum allowed, we need to show a disabled state).
.smallFont {
outline: none; /*for making it look nice in FF */background: url(images/font-down.png);
text-indent: -9999px;
display: block;
float: left;
width: 32px;
height: 32px;
}
.defaultFont {
/*if you want to hide the default font button, use display:none */background: url(images/font-default.png);
text-indent: -9999px;
outline: none;
display: block;
float: left;
width: 32px;
height: 32px;
}
.largeFont {
background: url(images/font-up.png);
outline: none;
text-indent: -9999px;
display: block;
float: left;
width: 32px;
height: 32px;
}
.ldisabled,.sdisabled { /*Styles for disabled buttons*/
opacity: 0.3;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
/*This is for IE8 */
filter: alpha(opacity = 30);
}
As you can see I’ve used three background images for the three buttons. Need to set the display:block property as the buttons are of 32px height. I could have optimized the css more by applying common styles to elements. For eg: For the three styles only background is different, so it could’ve declared like the following.
But I didn’t use that because it will be easier to declare as is now, if you want to use different sized images or different styles for each button.If you want to have multiple styles in the same page, just use the CSS scope
Now for the disabled state I used same style for all buttons. Using opacity filter is the easiest way to imitate a disabled button. Here for IE8, I have used an extra style after googling around.
The jQuery function
I didn’t write it as a jQuery plugin because I didn’t find it useful to have the chainable functionality.
function fontSize(container, target, minSize, defSize, maxSize) {
/*Editable settings*/var minCaption = "Make font size smaller"; //title for smallFont buttonvar defCaption = "Make font size default"; //title for defaultFont buttonvar maxCaption = "Make font size larger"; //title for largefont button//Now we'll add the font size changer interface in container
smallFontHtml = "<a href='javascript:void(0);' class='smallFont' title='" + minCaption +"'>" + minCaption + "</a> ";
defFontHtml = "<a href='javascript:void(0);' class='defaultFont' title='" + defCaption +"'>" + defCaption + "</a> ";
largeFontHtml = "<a href='javascript:void(0);' class='largeFont' title='" + maxCaption +"'>" + maxCaption + "</a> ";
$(container).html(smallFontHtml + defFontHtml + largeFontHtml);
//Read cookie & sets the fontsizeif ($.cookie != undefined) {
var cookie = target.replace(/[#. ]/g,'');
var value = $.cookie(cookie);
if (value !=null) {
$(target).css('font-size', parseInt(value));
}
}
//on clicking small font button, font size is decreased by 1px
$(container + " .smallFont").click(function(){
curSize = parseInt($(target).css("font-size"));
newSize = curSize - 1;
if (newSize >= minSize) {
$(target).css('font-size', newSize);
}
if (newSize <= minSize) {
$(container + " .smallFont").addClass("sdisabled");
}
if (newSize < maxSize) {
$(container + " .largeFont").removeClass("ldisabled");
}
updatefontCookie(target, newSize); //sets the cookie
});
//on clicking default font size button, font size is reset
$(container + " .defaultFont").click(function(){
$(target).css('font-size', defSize);
$(container + " .smallFont").removeClass("sdisabled");
$(container + " .largeFont").removeClass("ldisabled");
updatefontCookie(target, defSize);
});
//on clicking large font size button, font size is incremented by 1 to the maximum limit
$(container + " .largeFont").click(function(){
curSize = parseInt($(target).css("font-size"));
newSize = curSize + 1;
if (newSize <= maxSize) {
$(target).css('font-size', newSize);
}
if (newSize > minSize) {
$(container + " .smallFont").removeClass("sdisabled");
}
if (newSize >= maxSize) {
$(container + " .largeFont").addClass("ldisabled");
}
updatefontCookie(target, newSize);
});
function updatefontCookie(target, size) { //Private function for setting cookieif ($.cookie != undefined) { //If cookie plugin available, set a cookievar cookie = target.replace(/[#. ]/g,'');
$.cookie(cookie, size);
}
}
}
I think the code is self explanatory. If you’ve any doubt in code, please feel free to ask here
Usage
Include the css file, then after including jQuery include this script like the following (Don’t forget to change the path as required. Also, you need to copy the images in correct folder as specified in CSS file or edit the CSS file to make it correct.
We are ethical swinger javascript coders. That means - we are people who practice the swinging lifestyle and support/advocate it. 10% of our time we support swingers related websites - swingers clubs directories, social networks, events lists and do it for free. If you didn't get into our 10% window and you are representing any alternative relationship/sex lifestyle (polyamory, swing, kink, BDSM, casual sex) - we would be glad to serve you by 50% of market prices. Also, we doing an effort to spread the information about lifestyle and anything related to it. At this blog, we would make posts sometimes about our swingers related projects. One of project which we support is https://allswingersclubs.org/ - pls, support it either - visit it, comment, add your clubs.
A color picker allows the users to preview the color and select it by clicking on it. It is useful when you want to provide some customization for the user (for eg: select a background color, letter color etc). But I think is a very useful piece of code in the admin side of a CMS site (Select font color, theme color or anything that you can imagine). There are simple scripts which generates a simple web safe color palette to advanced ones which generates a color palette like Adobe Photoshop.
Here are some cool color picker scripts that can be used. Some of them are written using plain javascript – means you don’t need any javascript library like jQuery, Mootools. And some of them are written specifically for jQuery, Mootools or Prototype (Here the advantage is a smaller footprint. If you’re already using a javascript library like jQuery or Mootools, use the one particularly written for that library). There are more than 10 scripts to choose from.
Plain Javascript scripts for Color picker
There were lot of scripts using plain javascript. Some are larger in size and some uses a popup window interface which is not Web 2.0 standard (It will be considered as an advertisement popup and will be blocked by most of the browsers). I selected three of them which are smaller in size and has the DHTML style popup or inine popup.
Use any of the following if you are not using a javascript library like jQuery or Mootools.
DHTML color picker from Free-color-picker.com
It can handle web safe colors and grays. Triggering can be customized in many ways. Files can be downloaded separately according to your needs. It also supports popup window. It is a small script – just around 8KB. But if you wan to show more colors, you can’t use it. Also, the license states that it should not be modified and the link to the site should not be altered.
DEPENDENCIES
None
SIZE
8KB
RESTRICTIONS
License states that script should not be altered. Also, the link should not be removed.
It is the smallest of them all – just 3.5KB. Also this site has two other pickers Color Picker v2 and Color Sphere . Choose one that matches your required style.
jQuery is a wonderful javascript library and the number of available plugins are growing rapidly. If you’re already using jQuery, choose a color picker from here.
Farbtastic color picker plug-in
Farbtastic: jQuery color picker plug-in
Farbtastic is a jQuery plug-in that can add one or more color picker widgets into a page through JavaScript. Each widget is then linked to an existing element (e.g. a text field) and will update the element’s value when a color is selected. Farbtastic uses layered transparent PNGs to render a saturation/luminance gradient inside of a hue circle. No Flash, no pixel sized divs.
It is a simple color picker which is useful when you want to show a defined set of colors and the user should select only from them (For eg: To select a theme color in web sites).
The Color Picker displays a Hue selection bar Saturation/Value selection box, Text fields for entering HSV and RGB fields. The dialog for the color picker is drag-able and there are many actions that you can attach function calls to in order to allow your application to respond to events in the Color Picker. The size of the Hue Bar and the SV Box can be set to any size using options. The elements of the Color Picker can be styled to match the design of your site.
It supports two types of interface – a popup layer type and an in-place color picker