Friday 7 September 2012

How to decompress a javascript & HTML through online




How to decompress a javascript & HTML through online?


All of the source code is completely free and open, and we have a command-line version and a python library as well.

http://jsbeautifier.org/

Thursday 6 September 2012

How to use cufon css inside jquery


How to use cufon css inside jquery
Examples:1
<script>
jQuery("your css class name").hoverIntent(
     function() {
Cufon.replace(".classname",{fontSize:'38px'});
}
);
</script>
**********************************************************************************************************************
Use jQuery object inside Cufon
Example 2:
<script>
    jQuery("your css class name").hoverIntent(
function() {Cufon.replace(($(this).find('a')),{hover: true, color: '#fff'});});
</script>
*********************************************************************************
Multiple Cufon on a Single page
Example 3:
<script src="cufon.js" type="text/javascript"></script>
<script src="Aliquam_400.font.js" type="text/javascript"></script>
<script src="Helvetica_Neue_900.font.js" type="text/javascript"></script>
<script>
Cufon.replace("h1",{fontFamily: 'Aliquam'});
Cufon.replace("h2",{fontFamily: 'Helvetica_Neue'});
</script>
*********************************************************************************
Edit cufon canvas in css
Example 4:

ul.footer_menu_inner_list li cufon canvas {top:-4px!important;}
a.parent_active cufon canvas{left:-20px!important;}

*********************************************************************************