Fordnox

Life is about trust

Subscribe to Fordnox
Technorati
del.icio.us
March-20-10

Hide password with jQuery

posted by Andrius
Simple javascript to toggle password visibility Your HTML structure nneded for this to work is as simple as:
my_secret_password
Add javascript
$(function() {
/**
* Hide password with bulets and make it toggle
*/
$("div.password").contents().wrap('<span class="pass" />');
$('span.pass').before('<span class="bullets">&bull;&bull;&bull;&bull;</span>').hide();
$("div.password").click(function(){
$('span.pass',this).toggle();
$('span.bullets',this).toggle();
});
});
And the result is:
my_secret_password
Tags:
February-10-10

Payment Gateways Sandboxes

posted by Andrius
January-10-10

Default Zend Framework Layout

posted by Andrius
< ?php echo $this->doctype() ?>
<html>
<head>
    < ?php echo $this->headTitle() ?>
    < ?php echo $this->headLink() ?>
    < ?php echo $this->headStyle() ?>
</head>
<body>
    < ?php echo $this->layout()->content ?>
    < ?php echo $this->headScript() ?>
</body>
</html>

December-16-09

Ubuntu notify message

posted by Andrius
Little useful Ubuntu terminal command:
notify-send "Computer Says" "Hi"
		
		
Tags: ,