Posts Tagged jQuery

jQuery Fancy Custom Radio-button and Checkbox

Fancy Radio-button and Checkbox

Fancy Radio/ Checkbox

I have written a jQuery Plugin for Fancy Custom Checkbox and Radio-buttons. To make form elements visually more expressive. I required this for one of my project and later on I have rewritten it completely to make it more generic and easier for jQuery Lovers. I am great fan of jQuery and I am inspired by http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/ to write this plugin.

It's fairly easy to use just like any other jQuery plugin you just have to write couple of lines of javascript code and add some CSS to your html.

Javascript You need:

$(document).ready(function(){
	$(".radio").dgStyle();
	$(".checkbox").dgStyle();
});

Read the rest of this entry »

Tags: , , ,

jQuery 1.4 Released – jQuery UI has yet to achieve compatibility with it…

Last week jQuery 1.4 is released with a new website for the version. Lot of code has been rewritten to improve code and reduce function calls. I have been using jQuery since more than 2 years now and it is always good to upgrade to newer version of jQuery which brings more function to help us more speed and performance. There are more than dozens of new additions for developers and it will just help all of us to do things in better way with jQuery now..!

jQuery and jQuery-UI Compatibility:

The fact is jQuery and jQueryUI are not compatible, YES they are not. I tried to upgrade my application with jQuery1.4 but UI components are failed to work. I was using jQueryUI 1.7.2, later on I digg-in on the web to see how soon UI will support jQuery1.4 but seems like 1.7.x won't do that probably 1.8.x would.  So I tried looking at what is cooking with jQueryUI 1.8 but when I downloaded alpha release of UI1.8.a1 it had jQuery1.3.2 powering it...! Read the rest of this entry »

Tags: ,

Radio-buttons with Checkbox behavior – a jQuery Plugin 1.2.5

This is almost final release to a innovative plug-in which changes the basic behavior of any Radio-button in our form and makes it selectable or un-selectable just like a checkbox.

It includes some code improvements and stays compatible to latest version of jQuery 1.3.2 just like 1.2.4. It has been tested on Safari 4.x, Internet Explorer 7.0+, Firefox 3.x and will work on Chrome 2.x or 3.x as well.

I request any users to post back any problems/bugs they encounter or enhancements they need to be included.
Read the rest of this entry »

Tags: , ,

jQuery UI – 1.7.1 is released..

The good new is that jQuery UI - 1.7.1 is out... and things are looking quite well. But still lot more to go. I am still waiting for lot of official UI widgets and Navigation or Context Menu are in that list.

jQuery is one of my favorite Javascript framework and so I am hoping for better growth of it's UI part as well.

I know discussions and planning are going on the Wiki and I know everyone will have a wishlist like I have. There are lot of options available as an plugins but having them in official UI bundle is a more better. UI Team must be working hard and there is lot of things which needs to be done.. All the best to jQuery UI team for bringing in Good for the future.

I have some complaints as well..but may be sometime later.

Tags: ,

jQuery 1.2.5 released

jQuery 1.2.5 is available only after one day of jQuery's 1.2.4 release. jQuery 1.2.4 was a bad build probably. There were some patches missing and difference was small compared to the list of bugs fixed.

There is a huge bunch of tickets which is closed. Here is the list of tickets closed for jQuery 1.2.4 or 1.2.5. There were many browser compatibilities related issues and some are performance related and core improvements.

Good to see that our favourite Javascript framework is becoming more and more mature day by day.

Click here to see the reason behind rebuilding 1.2.4 as 1.2.5

Download jQuery 1.2.5

Tags: ,

Hacking jQuery Thickbox..!

Have you ever wished of doing something more with what you have been doing with jQuery thickbox? Now it has been more then 6 months that I am using jQuery on different projects. I have extended jQuery many a times during this period and to tell you one thing I have used jQuery for heavy-weight form processing for one of my very complicated project and it included processing of more then 1600 html controls with the help of great jQuery.

Now when it comes to Thickbox it gives nice functionality but many a times it leaves us hungry for more. For example here are the few situations where it will be difficult to use Thickbox without further modification.

  • It let's open window in a IFRAME and close that but what if you can't give 'class="Thickbox"' to any of your link?
  • What if you are not loading those links with page load? (If the links from which you are willing to open Thickbox windows is not available at the time of page load then Thickbox won't work. As Thickbox internally works in a way that it will search for all links with class = "Thickbox" at the time of page load and then customize their onclick events.)
  • What if you want to open second Thickbox window as someone close first one and that too without any user interaction?
  • What if you want to call any javascript function from the parent window? (parent window is the window from which parent window is getting opened.)

Read the rest of this entry »

Tags: , ,

jQuery Plugin – Radio button with Checkbox Behavior – Updated

I found some bugs in my jQuery plugin I have published recently. So here is the bugfix release for the same.

You can download it here.

See Demo Radio with Checkbox Behavior Live in Action here.

Following bugs/issues are resolved.

Change Log:
- Compatibility will be with jQuery 1.2.3 or newer.
- jQuery chain will not break.
- Bug related to multiple radios is solved.
- Now using data() function from jQuery 1.2.3
- If radios are checked while page is getting loaded then it was required to click twice to uncheck.
- Tested on IE, Firefox, Safari.
Download Here

Tags: , ,