Category: Javascript


Toggle effect for fade – with jQuery

Write the below function first: jQuery.fn.fadeToggle = function(speed, easing, callback) { return this.animate({opacity: ‘toggle’}, speed, easing, callback); }; After that you can do as usual like: $(“.main”).click(function () { $(“.child”).fadeToggle(“slow”); });

Javascript Image reflection 0

Javascript Image reflection

Download reflection.js and place it in ur web site folder so that u can include this file to your site, Way to include reflection.js to ur site <script language=”javascript” src=”reflection.js” type=”text/javascript”> </script> You need...

CSS Dock Menu 3

CSS Dock Menu

CSS Dock Menu In between the HTML <head> </head>tag, add the following code <script type=”text/javascript” src=”js/jquery.js”></script> <script type=”text/javascript” src=”js/interface.js”></script> <link href=”style.css” rel=”stylesheet” type=”text/css” /> <!–[if lt IE 7]> <style type=”text/css”> .dock img { behavior:...

Disable right click in the Browser 0

Disable right click in the Browser

This is a script helps you to disable the right click function in the browser. for this you have to do only copy paste the below script between the <body> </body> tag [sourcecode language=’javascript’]...

Javascript Status Bar Scroll 0

Javascript Status Bar Scroll

Javascript Status Bar Scroller This Script will help you to enhance your webpage attractive. A scroller is text which scrolls on the status bar of the browser. follow the steps below Copy and paste...

Accordion Javascript 0

Accordion Javascript

Light weight Accordion Javascript One of the smallest accordion script which is extremely simple and easy to integrate. Does