Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Monday, September 10, 2012

jQuery UI

Three ways of downloading or install jQuery UI :


1  default package:
You can download the jQuery UI 1.8.4 ( zip ~1 MB ) which contains the complete set of all jQuery UI 1.8 components and the Smoothness theme.
Just click http://jqueryui.com/download/jquery-ui-1.8.4.custom.zip
2 customize package :
You can download the customize package in which you can select the following option :
  • UI core
  • Interactions
  • Widgets
  • Effects
  • Theme
  • Version
After selecting these option you have to click the 'download ' button and you'll get a customized zip file containing everything you selected.
After downloading you'll get a zip containing the following files:
  • /css/
  • /development-bundle/
  • /js/
  • index.html
Adding jQuery UI on web page :
<link type="text/css" href="css/themename/jquery-ui-1.8.4.custom.css" 
      rel="Stylesheet" /> 
<script type="text/javascript" src="js/jquery-1.4.2.min.js">
</script>
<script type="text/javascript" src="js/jquery-ui-1.8.4.custom.min.js">
</script>

 
:
By adding google api url :
For example , we can add jQuery UI on web page as :
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js">
</script>

Wednesday, March 2, 2011

Breadcumb links for web

Use JavaScript to read where your page is in the site folder structure and build back links to the pages higher up in the hierarchy. If you're trying to add breadcrumb links to PHP pages, you might try our PHP breadcumb links script instead.

Download the .zip archive of the script from: MPBackLinks.js
There are a few variables near the top of the MPBackLinks.js file that you can also customize to better control the appearance and behavior.
Using the Script in HTML
<script type="text/javascript" src="MPBackLinks.js"></script>
You can customize the styling of your menu using CSS. The menu is created inside a
with a class assigned named "mp_backlinks". You can create a new CSS class sytle named "mp_backlinks" and assign whatever style settings you want.