A nice vertical scrolling news ticker plugin using jQuery


Are you looking for Facebook style vertical scrolling news ticker application which shows updates from friends? It creates a smooth vertical scrolling effect which consequently attracts visitors to any news update because of its animation effect. This is a tutorial, which is very suitable for beginers. Even people having less knowledge in jQuery / Javascript can also implement this into their website.

Almost all modern web browsers supports this plugin. Hence you won’t have to worry about compatibility.

The tutorial contains one one html file and one js files including  jQuery plugin.

– index.htm
– newsticker.js (Small javascript file to create the news ticker)

   

Continue reading

19+ Excellent Collection of Free JavaScript Date Pickers


 19+ Excellent Collection of Free JavaScript Date Pickers

A date picker is an easy process to introduce a date/time into an input field. It will give a professional impression to your forms by simplifying the process of selecting a specific date or a range of dates.

The following list may help you in selecting a script that will offer a better experience to your website’s visitors. JQuery and MooTools are some of the well known libraries used to create the date pickers.

1.JQuery UI Datepicker

jquery-datepicker  It  is an excellent script that supports multiple themes and can be used in particular formats. Here are some examples:

  • date range restriction
  • alternate field population
  • display month and year menus
  • display button bar
  • display multiple months
  • show datepicker when clicking a date icon

[Go to Project Page | View Demo]

2. jQuery Datepicker

jquery-datepicker-one  It is a plugin that attaches a popup calendar to your input fields or shows an inline calendar for selecting dates. It’s a simplified version of the JQuery UI Datepicker.

Features include:

  •               works as a popup for an input field or inline in a div/span
    •   full keyboard equivalents
    •   Predefined date formats are available. You can even define your own format.
    •   Minimum/Maximum date restriction
    •   Update an alternate field with the date in a different format
    •   Select a range of dates
    •   Show week of the year / days from other months
    •   Callbacks on hover, change of month/year, selection and closure
    •   CSS Customizable
    •   Language selector

[Go to Project Page | View Demo]

3. The JQuery Date Picker Plugin

jquery-datepicker-two  It is a flexible and unnoticeable  calendar component. It helps you to easily add date inputting functionality to your web forms and pages. This script, as the previous mentioned one, can work in many ways. Here are some examples:

  • simple datePicker with today selected
  • simple datePicker with dates in the past selectable
  • simple datePicker with ONLY dates in the past selectable
  • datePicker with multiple months visible at once
  • datePicker with multiple select
  • renderCalendar with callbacks

[Go to Project Page | View Demo]

4. Date Picker

jquery-datepicker-threeIt is a JQuery Plugin with a lot of features and easy to implement in your web applications:

  • Flat Mode – as element in page
  • Multiple calendars
  • Single, multiple or range selection
  •  Dates can be marked as special, weekends, special days
  •  The look can be easily customizable through CSS
  •  Localization for months’ and days’ names
  •   Custom day to start the week
  •   Fits into the viewport

5. jQuery Date Input

jquery-date-inputIt  is a small, fast and pretty date picker .

Features include:

  •  CSS customization
  • Language selector
  • Specify the first day of the week
  • Date formatting

[Go to Project Page | View Demo]

6.  Unobtrusive Date-Picker Widget V4

unobtrusive-javascript-date-picker-widgit  It is an excellent script which is accessible using the keyboard, requires no embedded JavaScript blocks, requires no pop-up windows and is suitable for use in within documents served as application/xhtml+xml.

Features:

  •  full keyboard accessible
  •   Support for multiple date formats and date dividers
  •   nameSpace friendly and unobtrusive
  •   Customizable via CSS
  •   Upper and lower dates limits can be set
  •   Certain days of the week can be disable
  •   “Smart” localization
  •   Bespoke days of the week can be highlighted
  •   It is free to use, even commercially, being released under a CC share-alike license

[Go to Project Page | View Demo]

7. Fancy Mootools Date Picker

fancy-mootools-date-picker It  is a nice script that can be customized using CSS.

Features:

  •  The number of characters for the day names abbreviation can be specified
  •   The total number of days can be set for each month
  •   The date format is editable (default value used: ‘mm/dd/yyyy’). A regular expression is used to replace the value with a date
  •   You can specify the first day of the week (1 – Monday, 7 – Sunday)
  • Year Range is supported (from start year + number of years to add)
  • The order of the years from the dropdown can be either ascendant (‘asc’) or descendant (‘desc’) – from start year to end year or reverse.

[Go to Project Page | View Demo]

8. Calendar

calendar-mootools  It is a JavaScript class written for MooTools that adds accessible and unobtrusive date pickers to your form elements.

Features:

  •   Style-able and semantic XHTML
  •   Highly configurable use of inputs and selects
  •   Variable navigation options
  •   Future / past calendar restrictions (and more)
  •   Multi-calendar support (with padding)
  •   Multi-lingual and fancy date formatting

[Go to Project Page | View Demo]

9.  Vista-like Ajax Calendar (vlaCalendar)

vista-like-ajax-calendar  The version 2 that uses the well-known library framework MooTools is a unobtrusive web version of the slick and profound Windows Vista taskbar calendar.

Features include:

  •   Authentic Vista Look and Feel
  •   CSS Customizable
  •   Easily changeable date labels
  •   Easily stylable
  •   Both normal and datepicker calendar can be instantiated multiple times
  •   Lightweight

[Go to Project Page | View Demo]

10.DatePickerControl v1.1.6

date-picker-control  This transforms your input text control into a date-picker control.

Features include:

  •  Automatic input control conversion by setting a single attribute in the ‘input’ tag, or using a special ‘id’ attribute.
  •   Multiple date formats
  •   Layered calendar (no annoying pop-up windows)
  •   Navigation through mouse and keyboard
  •   First day of week can be defined
  •   Day Limits (Min and Max)
  •   CSS Support
  •   LGPL License

[Go to Project Page | View Demo]

11. jsCalendar

jscalendarIt is a nice DHTML Date Picker that is easy to setup (in either flat or pop-up mode) and it’s compatible with most popular browsers, being created using web standards.

Features include:

  •   Multiple date formats are supported
  •   Keyboard navigation
  •   Fast setup
  •   Select multiple dates
  •   Highlight special dates

[Go to Project Page | View Demo]

12. Yahoo! UI Library: Calendar

yahoo-calendar-script It is a UI control that enables users to choose one or more dates from a graphical calendar presented in a single or a multi month interface.

Some important features:

  •   multi-select calendar
  •   multi-page calendar
  • Minimum/Maximum Dates
  •   Calendar navigator
  •   CSS Customizable

[Go to Project Page | View Demo]

13. Jason Moon’s Calendar Script

jason-moon-calendar It is a date picker simple and easy to integrate in the pages of your website that supports multiple date formats and works in most modern browsers.

Features include:
* the look of the calendar can be easily changed by editing the calendarDateInput.js file: font, size and style; background color; cell dimensions; top row background color; highlighted day background color
* multiple date pickers can be used in a single page
* specify number of seconds until the calendar disappears

[Go to Project Page | View Demo]

14. JavaScript Calendar Script/Date Picker Widget

openjs-date-pickerIt is a simple & unobtrusive script from OpenJS.

Features:

  •   Simple
  •   Multiple calendars can be added on the same page
  •   Self Contained (it doesn’t require an external library)
  •   Unobtrusive
  •   CSS Customizable

[Go to Project Page | View Demo]

15. dhtmlxCalendar

dhtmlxcalendarIt  is a lightweight cross-browser JavaScript calendar which can be configured either as a popup date picker or a flat calendar. It’s a fully customizable and easy to use script.

Features include:

  •   JavaScript API Full Control
  •   Select between a range of dates
  •   Inactive dates (User is unable to select inactive date)
  •   Double calendar
  •   Easy connection to the text field
  •   Multi language support – Language and settings can be switched on the fly
  •   Custom holidays can be set

[Go to Project Page | View Demo]

16. Simple Calendar Widget

simple-calendar-widget  It is a flexible, simple and fully commented calendar script that works across most modern browsers.

Features include:

  •   Customizable for date format, colors, language and year range
  •   A date is accepted as an input
  •   The first day of the week can be chosen for the display
  • Specific dates can be disabled
  •   Week numbering
  •   Dynamic language selection
  •   Draggable (optionally)

[Go to Project Page | View Demo]

17. Rich Calendar

rich-calendarIt is a cross-browser JavaScript datepicker script that implements the appropriate functionality with many advanced options widely extending fields of its applications.

Features include:

  •   No Window Pop-Ups
  •   Skinnable – CSS Customizable
  •   Multilingual
  • Language dependent date formats
  •   Multiple calendars in a single page
  •   Positioning can be relative or absolute
  •   User-defined behavior

[Go to Project Page | View Demo]

18. jsDatePick

javascript-calendarIt  is a nice date picker that uses DOM techniques to generate its HTML code.

Features include:

  •   Appear as a popup for an input field or inline in a DIV / SPAN
  •   Limit the possible picking days to today’s date
  •   Swap the colors of the date’s cells from a wide range of colors
  •   Set the limits for the years enabled in the calendar

[View Demo | Download]

19. Xin Calendar Mods

xin-calendar-mods It is a collection of the core scripts (calendars from Xin Calendar) and their mod scripts.

Features include:

  •   In-Page and Pop-up calendar
  •   Advanced Date range
  • Long date formats supported
  •   Two Digit Years
  •   Calendar Title (in your own format)
  • Month/Year List
  •   Date Link
  •   Journal
  •   Date Tips
  •   Special Days

[Go to Project Page | View Demo]

7+ Useful jQuery Techniques For URLs, Querystrings and Hash Parameters


Normally we use Server side scripts like PHP, ASP, C# to retrieve the information required about our Page URL, QueryString and Hash Parameter. But amazingly it can also be done using Javascript or jQuery too. It can be very handy considering the speed of program as well as ease in programming.
The following are examples of useful code snippets which we can directly use.

1. Get the Current Page URL

A very simple snippet, which stores the current page URL in a variable:

// Retrieve current URL
var url = document.URL;

2. Get the Current Page Root URL

A very simple snippet, which stores the root URL in a variable:

// Retrieve root URL
var root = location.protocol + '//' + location.host;

3. Highlight Current Menu Item

Rather than manually modify navigation menus to add an “active” class to the current page we can use jQuery to identify which link contains the current URL which will save a lot of programming time:

var url = document.URL;
$('#menu a[href="'+url+'"]').addClass('active');

 

4. Page Redirect Using Javascript
If you need to redirect a page using jQuery:

// Redirect - insert required URL
window.location.href = "https://itswadesh.wordpress.com/";

5. Get Querystring Parameters of the Current Page

If the URL contains a querystring with multiple parameters the following snippet will parse each parameter and store the array as a variable:

var vars = [], hash;
var q = document.URL.split('?')[1];
if(q != undefined){
q = q.split('&');
for(var i = 0; i < q.length; i++){
hash = q[i].split('=');
vars.push(hash[1]);
vars[hash[0]] = hash[1];
}
}

To use any of the parameters you can access the value using the parameter name. E.g. if the URL contains the querystring “?a=3&b=2&c=1″ you can access the value for “a” using:

// Will alert the value of parameter a
alert(vars['a']);

6. Get the URL Hash Parameter

Retrieve a hash parameter and store in a variable:

// Get # parameter
var param = document.URL.split('#')[1];

7. Change Browser Address Bar Hash Parameter

In the example below we replace the hash parameter, which we get from the clicked link. Useful for adding bookmarking capabilities when using AJAX:

// update browser address bar URL
$('a.demo-link').click(function(){
var hash = $(this).attr('href');
location.hash = hash;
});

8. Check If Link Contains External URL

The following snippet will check if a clicked link contains a URL to an external web page and if so, open in a new browser window:

var root = location.protocol + '//' + location.host;
$('a').not(':contains(root)').click(function(){
this.target = "_blank";
});

7+ jQuery Modal Popup Window Plugins With Tutorials, Demo and Downloads


1. jQuery Speedo Popup

speedo

Features:

  • Its good for all requirement
    • a popup Plugin
    • a Notification Plugin
    • a Lightbox Plugin
    • an Alert Box Plugin

2. Simple jQuery Modal Window Tutorial

Features:

  • Able to search the whole html document for A tag NAME=”modal” attribute, so when users click on it, it will display the content of DIV #ID in the HREF attribute in Modal Window.
  • A mask that will fill the whole screen.
  • Modal windows that is simple and easy to modify.

3. Popup Modal Window Using the jQuery Reveal Plugin

It is a simple little modal window, perfect perhaps for small confirmation messages as seen in the preview. And no, there is no excuse for ever using Comic Sans.


4. SimpleModal – Lightweight jQuery Modal Dialog

SimpleModal is a lightweight jQuery plugin that provides a simple interface to create a modal dialog. The main aim of SimpleModal is to facilitate developers with a cross-browser overlay and container that will be populated with data provided.

5. ColorBox-A lightweight customizable lightbox plugin for jQuery

  • Supports photos, grouping, slideshow, ajax, inline, and iframed content.
  • Lightweight: 10KB of JavaScript (less than 5KBs gzipped).
  • Appearance is controlled through CSS so it can be restyled.
  • Can be extended with callbacks & event-hooks without altering the source files.
  • Completely unobtrusive, options are set in the JS and require no changes to existing HTML.
  • Preloads upcoming images in a photo group.
  • Well vetted. ColorBox is one of the top jQuery plugins.

6.NyroModal v2 :: jQuery Plugin

nyroModal

  • Ajax Call
  • Ajax Call with targeting content
  • Single Image
  • Images Gallery with arrow navigating
  • Gallery with any kind of content
  • Form
  • Form in iframe
  • Form with targeting content
  • Form with file upload
  • Form with file upload with targeting content
  • Dom Element
  • Manual Call
  • Iframe
  • Stacked Modals
  • Many embed element through Embed.ly API / Demos
  • Error handling
  • Modal will never goes outside the view port
  • Esc key to close the window
  • Customizable animation
  • Customizable look
  • Modal title
  • W3C valid HTML (Transitionnal)

7.boxy – Facebook-like dialog/overlay, with frills

Example dialog box

Boxy is a flexible, Facebook-style dialog box for jQuery with support for dragging and size tweening. It differs from other overlays I’ve seen by providing an object interface to control dialogs after they’ve been created. And for simple usage scenarios, boxy also provides a jQuery plugin for automatically hooking up links and forms, as well as an ask() helper for presenting multiple choices to the user.

8.ThickBox 3.1

ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.

Top 10 Collection of jQuery Tutorials Inspired from Facebook


Top 10 Collection of jQuery Tutorials Inspired from Facebook at itswadesh.wordpress.com

  1. Facebook type vertical navigation menu created with jquery
  2. How to create a facebook style activity notification plugin using jQuery and PHP – facebook beeper
  3. Free gmail, facebook type chat application using CSS, jQuery and PHP
  4. Facebook Style CSS JQuery drop down menus
  5. Create A Vertical Scrolling News Ticker With jQuery and jCarousel Lite
  6. Facebook Style Alert Confirm Box with jQuery and CSS
  7. How to track online status of a user in my website like facebook
  8. Creating a Simple Photo Album with jQuery Similar to Facebook
  9. Facebook like red notification simple css technique
  10. Facebook Style Footer Admin Panel

How to Add Syntax Highlighter to Blogger or Blogspot Blog


I run a web programming blog with tutorials. Where programming code has got the most importance. Hence i needed my code in any tutorial to be highlighted with colors. I searched throughout. I landed into the SyntaxHighlighter plugin for WordPress. Which easily integrates into WordPress.

But my requirement was to embed SyntaxHighlighter into Bloggeras i run my blog on Blogger.com. The following steps may help.

Step 1: Backup your blogger template

 

In your left side navigation menu click on Template. Then at the very top-right corner you can find a button to “Backup/Restore” your blogger template design.

 

Step 2:  Edit Blogger Template in New Blogger Interface

 

 

Navigate to Blogger dashboard > Layout > Edit HTML  and Expand Widget Templates. Search for <head> and replace it with the below code

<head>

<link href='https://sites.google.com/site/itswadesh/codehighlighter/shCore.css' rel='stylesheet' type='text/css'/>

<link href='http://sites.google.com/site/itswadesh/codehighlighter/shThemeDefault.css' rel='stylesheet' type='text/css'/>

<script src='http://sites.google.com/site/itswadesh/codehighlighter/shCore.js' type='text/javascript'/>

<script src='http://sites.google.com/site/itswadesh/codehighlighter/shBrushCss.js' type='text/javascript'/>

<script src='http://sites.google.com/site/itswadesh/codehighlighter/shBrushJScript.js' type='text/javascript'/>

<script src='http://sites.google.com/site/itswadesh/codehighlighter/shBrushXml.js' type='text/javascript'/>

<script type='text/javascript'>

SyntaxHighlighter.all()

</script>

Step 3: Write Your Programming Code inside <pre> Tag

 

Whenever you publish a post with Programming Code, include the code within the <pre> section

<pre class=”brush: js”>
Your script here
</pre>

Example:

<pre class="brush: js">
$(document).bind('click', function(e) {

            var $clicked = $(e.target);
            if (! $clicked.parents().hasClass("staticMenu")){
                $(".staticMenu dd ul").hide();
                $(".staticMenu dt a").removeClass("selected");
            }        });

</pre>

top 13 collection of jquery digital clock with demo and downloads


No 1. A Colorful jquery digital clock – By tutorialzine.com

A nicely thought and designed digital clock using jQuery and CSS. The circles are inspired from Google Plus. The whole design makes it a nice looking clock. Specially helpful to create your countdown timer.

No 2. jquery css3 digital clock – By css-tricks.com

Very finly designed analog clock created using jQuery and CSS. It makes us remember those school day clocks.  It is created using the new feature of CSS3 which lets us scale, skew and translate (move) objects in our web page.

No 3. jquery sliding digital clock – By comcast.net

No 4. jquery vonholdt digital clock – By comcast.net

No 5. Super Simple CSS3 Pendulum Digital Clock Using Pure CSS ( without Jquery or Javascript)

The power of CSS3 allows us to even animate some HTML elements without using jQuery or Javascript.

The following pendulum clock is a cool example of the above nice feature.

No 6. jQuery Digital World Clock – By Dan Ott

A very innovative clock where the digits are represented using words.

No 7. jQuery Analogue Clock – By Paul Hayes

Simple CSS3 Roman clock created by using -webkit-transition and -webkit-transform  properties.

 

 

No 8. jQuery / CSS3 Digital Clock – By Alessio Atzeni

 

A simple, easy to use jquery + CSS3 digital clock with nice animation which includes both date and time.

 

 

No 9. jQuery Colour Clock – By joelpeterson.com

The HTML color clock is a brilliant idea which represents HTML colors as hexadecimal values as time passes. It has been built using jQuery and CSS.

 

 

No 10.  coolclock – a jQuery Clock Written using CSS – By randomibis.com

 

CoolClock is a customisable javascript analog clock

 

 

No 11. jQuery digital clock with calendar and weather

jDigiClock is a jQuery plugin inspired from HTC Hero Clock Widget. Where as such a complex looking plugin it is surprisingly easy to install

 

 

No 12. A simple goodlooking jQuery Digital Clock – By tutorialpot.com

Here simply a clock image in photoshop has been created and different images are provided for each hand. A jQuery script will update the rotate position every 1000 millisecond, therefore it creates a rotating effect on each of the three hands.

 

 

No13. A big analog clock using jquery

 

A JQuery and a plugin named jQueryRotate has been used to create the big analogue clock. The main idea behind making this watch is to rotate the three images according to the actual time tt/mm/ss.