Posted by
admin on
Feb 20th, 2010 |
no comments
More and more sites you visit seem to have some kind of lightbox script displaying a multitude of elements, images, videos, ajax inline content and external and internal webpages.
For those of you who may be unsure what a “lightbox” is, basically it is a script that allows you display large images using various modal dialogues utilizing libraries such as Prototype, MooTools and jQuery.
Recently...
Posted by
admin on
Sep 14th, 2009 |
1 comment
If you have spent anytime at all trying to add dynamics to your pages then you will know that you tend to follow a pattern selecting an element(s) and then adding functionality to these elements in the way of conditional statements. You make be hiding/showing an element, adding/removing a class, modifying an attribute or performing some additional task. Now using basic javascript or server-side coding...
Posted by
admin on
Sep 7th, 2009 |
no comments
I stumbled onto a nice File Management example from developer Cory S.N. LaViska, which is quite slick and can be useful in creating a content management interface. LaViska gives us the following overview:
jQuery File Tree is a configurable, AJAX file browser plugin for jQuery. You can create a customized, fully-interactive file tree with as little as one line of JavaScript code.
Currently, server-side...
Posted by
admin on
Aug 24th, 2009 |
no comments
Sliding menus are very effective in areas where we have limited space .
This is a sliding top menu built with JQuery which can be fired through the open & close buttons or with any tag with the related class name.
You can also use it as an info box, login area & more.
Below is the code that makes it happen:
<script type="text/javascript">
$(document).ready(function()...
Posted by
admin on
Jun 22nd, 2009 |
1 comment
JQuery is growing rapidly and becoming a house hold name in the field of user interaction frameworks. One quick example that I am sharing but also to document for future use, is that of the Links with URL Previewing capabilities. To make this work you will need a version of JQuery as well as the screen capture of the intended link target, in my example, I use two of my sites, this one (tommycraig.com)...
Posted by
admin on
Jun 15th, 2009 |
1 comment
How to make XHTML links that popup a new window and degrade gracefully using the jQuery JavaScript Library.
With the deprecation of the target attribute in XHTML Strict, opening links in new windows has become a bit trivial, if not annoying, to standardize. I always look for a consistent, unobtrusive approach that degrades gracefully; and since JQuery is becoming the scripting language of choice I...