Search this blog

Home Download Tips Our Stores About

Adbrite

Your Ad Here

Hot Offers


Masukkan Code ini K1-2BE745-X
untuk berbelanja di KutuKutuBuku.com

Visit Our Sponsor

Tuesday, July 6, 2010

How to change font size using Javascript  

var min=11;
var max=16;
function increaseFontSize() {
var p = document.getElementById('storyDiv');

if(p.style.fontSize) {
var s = parseInt(p.style.fontSize.replace("px",""));
} else {
var s = 12;
}
if(s!=max) {
s += 1;
}
p.style.fontSize = s+"px";

}


function decreaseFontSize() {
var p = document.getElementById('storyDiv');

if(p.style.fontSize) {
var s = parseInt(p.style.fontSize.replace("px",""));
} else {
var s = 12;
}
if(s!=min) {
s -= 1;
}
p.style.fontSize = s+"px";

}



Read more...

How to send parameter into include in PHP  

This will not work
include('communities.php?show=gated&where=naples');
?>

.

However this will
$_GET = array();
$_GET['show'] = 'gated';
$_GET['where'] = 'naples';
include('communities.php');
?>

Putting this on your page and nothing else will give the same result as
going to 'communities.php?show=gated&where=naples' but the URL can be
whatever you want it to be.



Read more...
Thursday, December 17, 2009

how to fix png transparent images in ie6  

First of all you need to download from here
How To Use
Copy and paste iepngfix.htc and blank.gif into your website folder.
Copy and paste this into your website's CSS or HTML:

Type your summary here.

Type rest of the post here

<style type="text/css">
img, div, a, input { behavior: url(style/iepngfix.htc) }
</style>


If your site uses subfolders, open the .HTC file in a text editor like
Windows Notepad and change the blankImg variable to include a correct path to blank.gif like so:
var blankImg = '/images/blank.gif';



DONE…


Read more...

Best Seller