http://ping.fm/7TGNo
styofa doing anything
$LAYYYTER
Xuebing Du
Show & Tell

if i look back, i am lost

JVL
Mike Driver
d e v o n
No title available
trying on a metaphor

blake kathryn

No title available

Janaina Medeiros
sheepfilms

oozey mess
No title available
No title available
Sweet Seals For You, Always

Product Placement

izzy's playlists!
seen from United States

seen from United States

seen from Singapore

seen from Germany
seen from United Kingdom
seen from Germany
seen from Italy
seen from United Kingdom

seen from T1
seen from United States
seen from Sweden
seen from France
seen from United States

seen from United Kingdom
seen from United States

seen from Singapore
seen from United States
seen from United States
seen from United States

seen from Malaysia
@jqwidgets-blog
http://ping.fm/7TGNo
Slider with Tooltip
In this post we will show you how to display a tooltip over the slider thumb when we drag it. We’ll skip the initialization of the jqxSlider and will move to the tooltip implementation.
1. Add the CSS style settings for the tooltip.
<style type="text/css"> .tooltip { position: absolute; width: 20px; height: 15px; background: black; color: white; font-size: 13px; z-index: 20; padding: 3px; text-align: center; } </style>
2. The ‘createTooltip’ function below will create the tooltip and add it to the document’s body.
function createTooltip() { var tooltip = $('<div />'); $(document.body).append(tooltip); tooltip.css('visibility', 'hidden'); tooltip.fadeTo(0, 0.6); tooltip.addClass('jqx-rc-all'); tooltip.addClass('tooltip'); return tooltip; }
3. The ‘refreshTooltip’ function updates the tooltip’s position and text.
function refreshTooltip(value) { var thumb = $($('#slider').find('.jqx-slider-slider')[1]), thumbX = thumb.offset().left, thumbY = thumb.offset().top; tooltip.css('left', thumbX - (tooltip.outerWidth(true) - thumb.outerWidth(true)) / 2); tooltip.css('top', thumbY - tooltip.outerHeight(true) - 3); tooltip.text(value); }
Let’s see how it works:
At first, we find the thumb’s position. Then we save the ‘left’ and ‘top’ position in the thumbX and thumbY fields. After that we position the tooltip. Finally, we set the tooltip’s text to the slider value.
4. Now, it is time to implement the logic when the tooltip should be visible or hidden. We will trigger the ‘mousedown’, ‘mousemove’ and ‘mouseup’ events. In the ‘mousedown’ handler, we will show the tooltip and set its text and position. The ‘mousemove’ handler will update the position and text. In the ‘mouseup’ handler, we will hide the tooltip.
var thumb = $($('#slider').find('.jqx-slider-slider')[1]), tooltip = createTooltip(), tooltipActive = false; thumb.bind('mousedown', function (event) { tooltip.css('visibility', 'visible'); refreshTooltip($('#slider').jqxSlider('value')); tooltipActive = true; }); $(document).bind('mousemove', function (event) { if (tooltipActive) { refreshTooltip($('#slider').jqxSlider('value')); } }); $(document).bind('mouseup', function () { tooltip.css('visibility', 'hidden'); tooltipActive = false; });
jqxSlider improvements coming in jQWidgets 1.3
In jQWidgets 1.3, the jqxSlider plugin will be enriched with a new feature that will allow you to set the slider’s display orientation to ‘horizontal’ or ‘vertical’. Of course, by default the slider will be displayed with ‘horizontal’ orientation. To change the orientation to vertical, simply set the ‘orientation’ property to ‘vertical’.
Here’s how to do it:
$(‘#jqxSlider’).jqxSlider({ orientation: ‘vertical’});
Populate jqxListBox with items from html select element
In this post we will show you how to add jqxListBox to your page and populate it with from a Select element.
To display a jqxListBox on a page, you need to add a DIV element to the HTML markup and set its id:
<div id='jqxListBox'></div>
After that, initialize the listbox with the script below:
$("#jqxListBox").jqxListBox({ width: '200px', height: '250px'});
Now, you are ready to populate the listbox with items from a Select element.
Here’s a simple Select element.
<select style='height: 250px; width: 200px; ' size='2' id='select'> <option>Affogato</option> <option>Americano</option> <option>Bicerin</option> <option>Breve</option> <option>Café Bombón</option> <option>Caffé Corretto</option> <option>Café Crema</option> <option>Caffé Latte</option> </select>
jqxListBox has a function named ‘loadFromSelect’. This function allows you to load the data from a Select element and display it into the listbox. You just need to pass the ‘id’ of the Select element as parameter to the ‘loadFromSelect’ function and that’s all.
$("#jqxListBox").jqxListBox('loadFromSelect', 'select');
jquery splitter
jqxSplitter is a jQuery plug-in which will be come with jQWidgets 1.3 and allow you to create any UI look you want. This jQuery plugin will help you to develop professional and flexible web sites with dynamic and complex layouts. Using the splitter you will be able to horizontally or vertically layout multiple elements, resize them within automatic or specified limits and collapse or expand elements by clicking a collapsing trigger. We know that it is very important for a modern web site to work well on every device and we develop the jqxSplitter keeping in mind that it should be completely functional on touch-enabled devices. Some of the most important and planned features are: saving and loading of the layout, option to persist the layout after reloading the page, expand, collapse and resize of the split panels and completely configurable visual appeal and animation effects.
Adding jqxExpander to your web page
In this post we will show you how to add a jqxExpander to your web page.
1. Add the JavaScript files.
Create a “scripts” directory in the root directory of your webpage.
Copy the jqxexpander.js file into your scripts folder.
Copy the jqxcore.js file into your scripts folder.
Copy the jQuery.js file into your scripts folder.
Append the following code to the Head tag of your webpage:
<script src="./scripts/jquery.js" type="text/javascript"></script> <script src="./scripts/jqxcore.js" type="text/javascript"></script> <script src="./scripts/jqxexpander.js" type="text/javascript"></script>
2. Add the CSS stylesheet file(s).
Create “styles” directory in the root directory of your website.
Copy jqx.base.css in the styles folder.
Include the jqx.base.css in your web page’s Head tag.
<link rel="stylesheet" type="text/css" href="./styles/jqx.base.css" />
3. Add the HTML markup for jqxExpander.
Create a DIV element in the document’s body with id=”expander”. The DIV must have two inner DIV elements – one for the head section and one for the content section.
<div id="expander"> <div>Head</div> <div>Content</div> </div>
Add the jqxExpander Header content in the first DIV element. Add any content that you want to display in the second DIV element.
4. Initialize jqxExpander using the script below:
<script type="text/javascript"> $(document).ready(function () { $('#expander').jqxExpander({ width: 250, height: 100 }); }); </script>
Building jQuery Menus with jQWidgets
jqxMenu is a jQuery plugin that let’s you add a beautiful Menu to your web site. In this post, we will expore how to set up a menu from an existing UL.
Let’s start with a simple ‘DIV’ element with ‘UL’ as a child element.
<div id='jqxMenu'> <ul> <li><a href="#">Home</a></li> <li>About Us <ul> <li><a href="#">History</a></li> <li><a href="#">Our Vision</a></li> <li><a href="#">The Team</a> <ul> <li><a href="#">Brigita</a></li> <li><a href="#">John</a></li> <li><a href="#">Michael</a></li> <li><a href="#">Peter</a></li> <li><a href="#">Sarah</a></li> </ul> </li> <li><a href="#">Clients</a></li> <li><a href="#">Testimonials</a></li> <li><a href="#">Press</a></li> <li><a href="#">FAQs</a></li> </ul> </li> <li>Services <ul> <li><a href="#">Product Development</a></li> <li><a href="#">Delivery</a></li> <li><a href="#">Shop Online</a></li> <li><a href="#">Support</a></li> <li><a href="#">Training & Consulting</a></li> </ul> </li> <li>Products <ul> <li><a href="#">New</a> <ul> <li><a href="#">Corporate Use</a></li> <li><a href="#">Private Use</a></li> </ul> </li> <li><a href="#">Used</a> <ul> <li><a href="#">Corporate Use</a></li> <li><a href="#">Private Use</a></li> </ul> </li> <li><a href="#">Featured</a></li> <li><a href="#">Top Rated</a></li> <li><a href="#">Prices</a></li> </ul> </li> <li><a href="#">Contact Us</a> <ul> <li><a href="#">Enquiry Form</a></li> <li><a href="#">Map & Driving Directions</a></li> <li><a href="#">Your Feedback</a></li> </ul> </li> </ul> </div>
The next step is to include the required javascript files and CSS styles. We will use the ‘Summer’ visual style, so we need to include the jqx.summer.css file after jqx.base.css.
<link rel="stylesheet" href="styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="styles/jqx.summer.css" type="text/css" /> <script type="text/javascript" src="jquery-1.6.2.min.js"></script> <script type="text/javascript" src="jqxcore.js"></script> <script type="text/javascript" src="jqxmenu.js"></script>
Now, let’s render the Menu using this script:
$("#jqxMenu").jqxMenu({ width: '600', height: '30px', theme: 'summer' });
Here is how the Menu looks after rendering.
jQuery Slider is coming in the next release
jQuery Slider
It is about time to give you an update on what is planned for the next release. With our new jQWidgets release, we will introduce a brand new jQuery Slider widget which we named jqxSlider. jqxSlider represents a flexible jQuery Slider that lets the user select from a range of values by moving a thumb along a track. The widget is completely customizable in terms of appearance and offers numerous configuration options like mouse wheel and keyboard support, smooth or step-based slider and support for range sliders. In range slider mode, you will be able to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.
For more information visit: http://www.jqwidgets.com
jQuery ComboBox Widget
jQuery ComboBox Widget
Since the latest release of the jQWidgets Tookit, we have a powerful jQuery ComboBox which we named jqxComboBox. In this post we will share some details about the features of this jQuery widget. A good jQuery ComboBox should be able to render more than simple strings. jqxComboBox allows you to render any kind of HTML you may want to have in the drop down list. In addition, it supports filtering which allows end users to search among the items and has full autocomplete support. While you type into the input area, the combobox will automatically select the first matching item. jqxComboBox has inbuilt keyboard navigation support and end users may use the keyboard arrows to navigate through the items and open or close the dropdown by using the Alt + Down/Up arrow key combination.
See the widget in action: jquery widgets demo
Documentation: jquery widgets documentation
For more information visit: http://www.jqwidgets.com
jQuery Window Widget
jQuery Window Widget
The upcoming release of jQWidgets toolkit features a new jQuery Window widget. jqxWindow represents a highly configurable window widget which enables you to display a modal dialog or non-modal window inside a web page. Some of the features coming with the first version of jqxWindow are: ‘resizing, dragging which will work even on your tablet device, capability to show multiple windows on a web page at the same time, customizable header content and pin/unpin mode. All styles and themes already available in the suite will be supported, too.
For more information visit: http://www.jqwidgets.com
jQuery Tree
jQuery Tree
One of the newest widgets in our product is the jqxTree. It represents a highly configurable jQuery Tree widget that displays hierarchical data, such as a table of contents in a tree structure. jqxTree can be generated from lists and standard anchor tags, which are properly recognized by search engines. As a result, all content accessible through this widget will be automatically indexed and ranked with no extra effort required from the web developer. The Tree widget comes with built-in keyboard navigation, animated expand and collapse, customizable toggle mode, flexible API and professional themes. You can also display a checkbox next to each tree item and check or uncheck all sub-items whenever the parent tree item is checked or unchecked respectively. An indeterminate state of the checkbox indicates that some child objects in the collection are checked while others are not.
See the widget in action: jquery widgets demo
Documentation: jquery widgets documentation
For more information visit: http://www.jqwidgets.com
jQuery Tabs Widget
jQuery Tabs Widget
jqxTabs cuts your development time and helps you create better looking web site navigation. The widget comes with built-in keyboard navigation, animated scrolling, selection with built-in ‘lava lamp’ effect and google chrome-like tabs reorder behavior. With jqxTabs, you can easily display a close button in each tab and even lock the selection of specific tabs. As all of our products, jqxTabs comes with support for all major desktop and mobile web browsers – Internet Explorer 7.0+, Firefox 2.0+, Safari 3.0+, Opera 9.0+, Google Chrome, IE Mobile, Android, Opera Mobile, Mobile Safari(IPhone, IPad).
See the widget in action: jquery widgets demo
Documentation: jquery widgets documentation
For more information visit: http://www.jqwidgets.com
jQuery NavigationBar Widget
jQuery NavigationBar Widget
This post is about the jQuery NavigationBar(Accordion) widget and will show you how to add it to your page. The NavigationBar widget is a set of collapsible panels that can store a large amount of content in a compact space. Site visitors hide or reveal the content stored in the widget by clicking the header of the panel. The panels of the widget expand or collapse accordingly as the visitor clicks different headers. In a classical jQuery Accordion widget implementation, only one content panel is open and visible at a given time, but we decided that it would be useful to add a feature to our NavigationBar which allows multiple content panels to be visible at the same time.
See the widget in action: jquery widgets demo
Documentation: jquery widgets documentation
For more information visit: http://www.jqwidgets.com
jQuery Navigation Bar
This post is about the jQuery NavigationBar(Accordion) widget and will show you how to add it to your page. The NavigationBar widget is a set of collapsible panels that can store a large amount of content in a compact space. Site visitors hide or reveal the content stored in the widget by clicking the header of the panel. The panels of the widget expand or collapse accordingly as the visitor clicks different headers. In a classical jQuery Accordion widget implementation, only one content panel is open and visible at a given time, but we decided that it would be useful to add a feature to our NavigationBar which allows multiple content panels to be visible at the same time.
jQuery ScrollBar
Sometimes its important to consider the basics. ScrollBars are used everywhere. You may have them on this page (depending on your screen size). There’s no question that we need a jQuery ScrollBar widget. Yet a couple of months ago we were amazed to see how hard it was to find a good jQuery ScrollBar. Our search resulted in finding different implementations (some of them quite weird) but overall not quite what we think developers need. We decided to implement a high quality jQuery ScrollBar widget from scratch and we called it jqxScrollBar. It’s small (only 12.9kb), simple and very easy to use. You can add it to any HTML page and start processing scroll events by binding to the ‘valuechange’ event.