Zoom Text Javascript highlights the particular text on your web page by increasing the font size.
Features
a) Give zoom effect to any part of the text on your web page.
b) Simple script to highlight the title of web page without flash effect.
c) Animate multiple text using this zoom effect javascript.
d) Independent script for various platform and browsers.
<!-- Script by hscripts.com -->
<script type="text/javascript">
var s=0;//Minimum Font size
var i=0;
var m=100;//maximum font size
var d=1500;//delay Time
//---------------write Your Text-------------
var msg=new Array();
msg[0]="Welcome to"
msg[1]="Hscripts.com"
msg[2]="JavaScripts Tutorial"
msg[3]="PHP Tutorial"
msg[4]="Css Tutorial"
msg[5]="Scripts"
msg[6]="and much more..."
//---------------write Your Text-------------
function changeMsg()
{
if (i>=msg.length)
{
location.href=('http://www.hscripts.com');// url to redirect after last zoom
return true;
}
txt=document.getElementById("cont");
txt.innerHTML=msg[i];
s=0;
zoomTxt();
i++;
setTimeout("changeMsg()",d);
}
function zoomTxt(){
if(s<m){
txt.style.fontSize = s;
s+=5;
setTimeout("zoomTxt()", 30);
}
}
function ctck()
{
var sds = document.getElementById("dum");
if(sds == null){
alert("You are using a free package.\n You are not allowed to remove the tag.\n");
}
var sdss = document.getElementById("dumdiv");
if(sdss == null){
alert("You are using a free package.\n You are not allowed to remove the tag.\n");
}
}
document.onload ="ctck()";
</script>
<!-- Script by hscripts.com -->
For customization of this script or any script development, contact us at support@hscripts.com
Usage
a) Copy and paste the script into your web page.
b) Modify the size of zoom text according to your needs.
License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.