Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 525
  • Last Modified:

How to change this font change code ?

Hi, Experts:
I have this code is working fine. However, I can only change font size px by px. I also need to set the defult font size to the 14px. So the font can change from 14px down to 11px or 14px up to 17px. I would like to ask. how am I be able to change the font based on the current page font size, page defult font could be 12px ( so I don't need to set the defult size to 14px). Also, if there are different page fonts in one page (Ex. maybe 12px and 13px at same page). How can I change these different font to be smaller or larger at same time.....

Sincerely,

The example code is at below:
<html>
<head>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers
myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
thisPic = 3
imgCt = myPix.length -1

function processPrevious(trgt,inc)
{if (document.images && thisPic > 0) {
                  thisPic--
                  document.myPicture.src=myPix[thisPic]

   
    if (!document.getElementById) return
 var d = document,cEl = null,sz = startSz,i,j,cTags;

 sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

 if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

 cEl.style.fontSize = szs[ sz ];

 for ( i = 0 ; i < tgs.length ; i++ ) {
 cTags = cEl.getElementsByTagName( tgs[ i ] );
 for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
 }
}
}
function processNext(trgt,inc)
{
    if (document.images && thisPic < imgCt) {
                  thisPic++
                  document.myPicture.src=myPix[thisPic]
   
    if (!document.getElementById) return
 var d = document,cEl = null,sz = startSz,i,j,cTags;

 sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

 if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

 cEl.style.fontSize = szs[ sz ];

 for ( i = 0 ; i < tgs.length ; i++ ) {
 cTags = cEl.getElementsByTagName( tgs[ i ] );
 for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
 }
}
}

//Specify affected tags. Add or remove from list:
 var tgs = new Array( 'div','td','tr');

 //Specify spectrum of different font sizes:
 var szs = new Array( '11px','12px','13px','14px','15px','16px','17px' );
 var startSz = 3;
//---------->
</SCRIPT>      
<style type="text/css">
<!--
.style2 {font-family: Arial; font-size: 14px; }
-->
</style>
</head>
<body>
<table width="329" border="0">
<tr>
<td width="117" align="right">Change font size</td>
<td width="48" align="right"><A HREF="javascript:processPrevious('body',-1)"><IMG SRC="arrows/reverse.gif" width="40" height="20" BORDER=0></a></td>
<td width="98" align="center"><IMG SRC="dots/digital4.gif" NAME="myPicture" width="81" height="20"></td>
<td width="48" align="left"><A HREF="javascript:processNext('body',1)"><IMG SRC="arrows/forward.gif" width="40" height="20" BORDER=0></a></td>
</tr>
</table>
<div class="style2">This is body text</div>
</body>
</html>
0
Brian Lin
Asked:
Brian Lin
  • 21
  • 14
  • +1
1 Solution
 
ZylochCommented:
Hi mingchih,

Well, you can change it based on the current page font-size by doing:

startSz = document.body.style.fontSize (I'm not sure)

You can set the starting out text like this:

<style type="text/css">
body {font-size:14px;}
</style>

You can change different parts of the page, let's say you have two <div>:

<div style="font-size:14px;">Hi!</div>
<div style="font-size:18px;">Boo!</div>

Regards,
Zyloch
0
 
Brian LinDesignerAuthor Commented:
Hi:
I try the code. But the 18px will change back to 14px. It will not change begin from 18px....

Sincerely,
0
 
ZylochCommented:
Does your Javascript have a szc array?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Brian LinDesignerAuthor Commented:
yes, var szs = new Array( '11px','12px','13px','14px','15px','16px','17px' );

0
 
ZylochCommented:
Change it to this:

var szs = new Array(document.body.style.fontSize ,document.body.style.fontSize+1, document.body.style.fontSize+2, document.body.style.fontSize+3, document.body.fontSize+4, document.body.fontSize+5, document.body.fontSize+6);

And to make sure, I would recommend you to set the font-size:

<style type="text/css">

body {font-size:18px;}

</style>
0
 
Brian LinDesignerAuthor Commented:
hi, it is not really working. I am post change code at below

<html>
<head>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers
startSz = document.body.style.fontSize
myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
thisPic = 3
imgCt = myPix.length -1

function processPrevious(trgt,inc)
{if (document.images && thisPic > 0) {
                  thisPic--
                  document.myPicture.src=myPix[thisPic]

   
    if (!document.getElementById) return
 var d = document,cEl = null,sz = startSz,i,j,cTags;

 sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

 if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

 cEl.style.fontSize = szs[ sz ];

 for ( i = 0 ; i < tgs.length ; i++ ) {
 cTags = cEl.getElementsByTagName( tgs[ i ] );
 for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
 }
}
}
function processNext(trgt,inc)
{
    if (document.images && thisPic < imgCt) {
                  thisPic++
                  document.myPicture.src=myPix[thisPic]
   
    if (!document.getElementById) return
 var d = document,cEl = null,sz = startSz,i,j,cTags;

 sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

 if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

 cEl.style.fontSize = szs[ sz ];

 for ( i = 0 ; i < tgs.length ; i++ ) {
 cTags = cEl.getElementsByTagName( tgs[ i ] );
 for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
 }
}
}

//Specify affected tags. Add or remove from list:
 var tgs = new Array( 'div','td','tr');

 //Specify spectrum of different font sizes:
var szs = new Array(document.body.style.fontSize,document.body.style.fontSize+1, document.body.style.fontSize+2, document.body.style.fontSize+3, document.body.fontSize+4, document.body.fontSize+5, document.body.fontSize+6);
var startSz = 3;
//---------->
</SCRIPT>      
<style type="text/css">
<!--
body{font-size:18px;}
-->
</style>
</head>
<body>
<table width="329" border="0">
<tr>
<td width="117" align="right">Change font size</td>
<td width="48" align="right"><A HREF="javascript:processPrevious('body',-1)"><IMG SRC="arrows/reverse.gif" width="40" height="20" BORDER=0></a></td>
<td width="98" align="center"><IMG SRC="dots/digital4.gif" NAME="myPicture" width="81" height="20"></td>
<td width="48" align="left"><A HREF="javascript:processNext('body',1)"><IMG SRC="arrows/forward.gif" width="40" height="20" BORDER=0></a></td>
</tr>
</table>
<div style="font-size:14px;">This is body text</div>
<div style="font-size:18px;">This is body text</div>
</body>
</html>
0
 
ZylochCommented:
You'd probably also want this:

var startSz = 3; to be var startSz = document.body.style.fontSize;
0
 
Brian LinDesignerAuthor Commented:
ok, i did it. still not change.... I wonder about write second var szs = new Array( '11px','12px','13px','14px','15px','16px','17px' ); for other font size ?
0
 
ZylochCommented:
If the changes I make apply to both the previous and next functions, I guess you should do them for both.

Try changing this:
sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

to

sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > startSz+6 ) sz = startSz;
 startSz = sz;
0
 
Brian LinDesignerAuthor Commented:
hi, still not change, i am post the new code below, thanks


<html>
<head>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers
startSz = document.body.style.fontSize
myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
thisPic = 3
imgCt = myPix.length -1

function processPrevious(trgt,inc)
{if (document.images && thisPic > 0) {
thisPic--
document.myPicture.src=myPix[thisPic]

if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;

sz += inc;
if ( sz < 0 ) sz = 0;
if ( sz > startSz+6 ) sz = startSz;
startSz = sz;

if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

cEl.style.fontSize = szs[ sz ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}
}
function processNext(trgt,inc)
{
if (document.images && thisPic < imgCt) {
thisPic++
document.myPicture.src=myPix[thisPic]

if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;

sz += inc;
if ( sz < 0 ) sz = 0;
if ( sz > startSz+6 ) sz = startSz;
startSz = sz;

if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

cEl.style.fontSize = szs[ sz ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}
}

//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div','td','tr');

//Specify spectrum of different font sizes:
var szs = new Array(document.body.style.fontSize,document.body.style.fontSize+1, document.body.style.fontSize+2, document.body.style.fontSize+3, document.body.fontSize+4, document.body.fontSize+5, document.body.fontSize+6);

var startSz = document.body.style.fontSize;
//---------->
</SCRIPT>
<style type="text/css">
<!--
body{font-size:18px;}
-->
</style>
</head>
<body>
<table width="329" border="0">
<tr>
<td width="117" align="right">Change font size</td>
<td width="48" align="right"><A HREF="javascript:processPrevious('body',-1)"><IMG SRC="arrows/reverse.gif" width="40" height="20" BORDER=0></a></td>
<td width="98" align="center"><IMG SRC="dots/digital4.gif" NAME="myPicture" width="81" height="20"></td>
<td width="48" align="left"><A HREF="javascript:processNext('body',1)"><IMG SRC="arrows/forward.gif" width="40" height="20" BORDER=0></a></td>
</tr>
</table>
<div style="font-size:14px;">This is body text</div>
<div style="font-size:18px;">This is body text</div>
</body>
</html>
0
 
ZylochCommented:
Wait, I'm not too sure what your'e trying to do right now. I think you should undo what you did in my last step though. This is a sort of picture rotating script?
0
 
Brian LinDesignerAuthor Commented:
ok, this is font change code. It is not picture rotating script. I did combine the font change code with cycling image code because I want to be able to use cycling image to show about font change ( has some dots to show which font they are change). thanks
0
 
Brian LinDesignerAuthor Commented:
by the way, i undo the last step
sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > startSz+6 ) sz = startSz;
 startSz = sz;

back to

sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

0
 
ZylochCommented:
Try this:

<html>
<head>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers
startSz = document.body.style.fontSize
myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
thisPic = 3
imgCt = myPix.length -1

function changeSize(num) {
   document.body.style.fontSize=num;
}

function processPrevious(trgt,inc)
{if (document.images && thisPic > 0) {
thisPic--
document.myPicture.src=myPix[thisPic]
changeSize(document.body.style.fontSize-1);
if (document.body.style.fontSize<1) {
   document.body.style.fontSize=18;
}

if (!document.getElementById) return
var d = document,cEl = null,i,j,cTags;
if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}
}
function processNext(trgt,inc)
{
if (document.images && thisPic < imgCt) {
thisPic++
document.myPicture.src=myPix[thisPic]

changeSize(document.body.style.fontSize+1) {
if (document.body.style.fontSize>18) {
   document.body.style.fontSize=1;
}

if (!document.getElementById) return
var d = document,cEl = null,i,j,cTags;

if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}
}

//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div','td','tr');
//---------->
</SCRIPT>
<style type="text/css">
<!--
body{font-size:18px;}
-->
</style>
</head>
<body>
<table width="329" border="0">
<tr>
<td width="117" align="right">Change font size</td>
<td width="48" align="right"><A HREF="javascript:processPrevious('body',-1)"><IMG SRC="arrows/reverse.gif" width="40" height="20" BORDER=0></a></td>
<td width="98" align="center"><IMG SRC="dots/digital4.gif" NAME="myPicture" width="81" height="20"></td>
<td width="48" align="left"><A HREF="javascript:processNext('body',1)"><IMG SRC="arrows/forward.gif" width="40" height="20" BORDER=0></a></td>
</tr>
</table>
<div>This is body text</div>
<div>This is body text</div>
</body>
</html>
0
 
Brian LinDesignerAuthor Commented:
mm, not working...... also, can you make two different font size to change at same time ? thanks
0
 
ZylochCommented:
Well, we should work on one part at a time. You're clicking on the links right?
0
 
Brian LinDesignerAuthor Commented:
Do you think it is possible to add second  var szs = new Array( '11px','12px','13px','14px','15px','16px','17px' ); for another font size ??
0
 
Brian LinDesignerAuthor Commented:
yes, click on the right image ( reverse.gif ) -- Font will getting larger. Click on the left image ( foward.gif ) -- font will getting smaller
0
 
Brian LinDesignerAuthor Commented:
sorry, foward.gif is getting larger and reverse.gif is getting smaller
0
 
ZylochCommented:
It should work. Try some debugging. Change the function:

function changeSize(num) {
   document.body.style.fontSize=num;
   alert(document.body.style.fontSize);
}
0
 
Brian LinDesignerAuthor Commented:
I put it on the last script you post.....
0
 
ZylochCommented:
Did anything happen?
0
 
Brian LinDesignerAuthor Commented:
mm, no, but there is some error script
Expected ";" in

changeSize(document.body.style.fontSize+1) {
if (document.body.style.fontSize>18) {
document.body.style.fontSize=1;
}
0
 
ZylochCommented:
Ah, make it this:

changeSize(document.body.style.fontSize+1);
if (document.body.style.fontSize>18) {
   document.body.style.fontSize=1;
}

What I meant above was to change the function changeSize
0
 
Brian LinDesignerAuthor Commented:
oh, i am not saying that you are wrong, it is what browser said....i click on the little yellow sign....
0
 
ZylochCommented:
Yes, I know. Are you putting the alert inside the function?
0
 
Brian LinDesignerAuthor Commented:
ok, there is new one coming up....it said Object required in

myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
0
 
Brian LinDesignerAuthor Commented:
yes, I put alarm....nothing show up...

function changeSize(num) {
document.body.style.fontSize=num;
alert(document.body.style.fontSize);
}
0
 
Brian LinDesignerAuthor Commented:
alert,....
0
 
Brian LinDesignerAuthor Commented:
ok, another error show up....
1. when I click on the forward.gif, it said " thisPic" is undefined in
if (document.images && thisPic < imgCt) {
thisPic++
document.myPicture.src=myPix[thisPic]

 and
 " thisPic" is undefined in
{if (document.images && thisPic > 0) {
thisPic--
document.myPicture.src=myPix[thisPic]
changeSize(document.body.style.fontSize-1);
if (document.body.style.fontSize<1) {
document.body.style.fontSize=18;
}
0
 
Brian LinDesignerAuthor Commented:
this is overall script:

<html>
<head>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers
startSz = document.body.style.fontSize
myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
thisPic = 3
imgCt = myPix.length -1

function changeSize(num) {
document.body.style.fontSize=num;
alert(document.body.style.fontSize);
}

function processPrevious(trgt,inc)
{if (document.images && thisPic > 0) {
thisPic--
document.myPicture.src=myPix[thisPic]
changeSize(document.body.style.fontSize-1);
if (document.body.style.fontSize<1) {
document.body.style.fontSize=18;
}

if (!document.getElementById) return
var d = document,cEl = null,i,j,cTags;

if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}
}

function processNext(trgt,inc)
{if (document.images && thisPic < imgCt) {
thisPic++
document.myPicture.src=myPix[thisPic]
changeSize(document.body.style.fontSize+1);
if (document.body.style.fontSize>18) {
document.body.style.fontSize=1;
}

if (!document.getElementById) return
var d = document,cEl = null,i,j,cTags;

if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}
}

//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div','td','tr');
//---------->
</SCRIPT>
<style type="text/css">
<!--
body{font-size:18px;}
-->
</style>
</head>
<body>
<table width="329" border="0">
<tr>
<td width="117" align="right">Change font size</td>
<td width="48" align="right"><A HREF="javascript:processPrevious('body',-1)"><IMG SRC="arrows/reverse.gif" width="40" height="20" BORDER=0></a></td>
<td width="98" align="center"><IMG SRC="dots/digital4.gif" NAME="myPicture" width="81" height="20"></td>
<td width="48" align="left"><A HREF="javascript:processNext('body',1)"><IMG SRC="arrows/forward.gif" width="40" height="20" BORDER=0></a></td>
</tr>
</table>
<div>This is body text</div>
<div>This is body text</div>
</body>
</html>
0
 
ZylochCommented:
Then it's your image changing script. Here's a simple script demonstrationg font changing:

<html>
<head>
<title>Font Size Changer</title>
<script language="javascript">
<!--

function changeSize(sz,end) {
   if (!end) {end="px";}
   document.body.style.fontSize=sz+"."+end;
}

//-->
</script>
<style type="text/css">
body {font-size:14pt;}     /* Here, I'm using pt to demonstrate the changeSize function end portion */
</style>
</head>
<body>
<a href="#" onclick="changeSize(14);">Change to 14PX</a> | <a href="#" onclick="changeSize(14,'pt');">Change to 14PT</a> | <a href="#" onclick="changeSize(4,'em');">Change to 4EM</a><br>
<input type="text" id="nsz" size="10" value="Number">.<input type="text" id="nend" size="3" value="End">&nbsp;
<input type="button" value="Change Font!" onclick="changeSize(document.getElementById('nsz').value,document.getElementById('nend').value);"><br><br><br>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam vitae ante. Curabitur eu lorem a libero hendrerit sollicitudin. Curabitur quis purus eget risus consectetuer luctus. Suspendisse wisi elit, commodo quis, euismod vitae, mollis dictum, pede. Aliquam massa erat, porttitor vel, vestibulum ac, faucibus ac, mauris. Sed odio urna, vulputate mattis, nonummy ac, auctor eget, lectus. Suspendisse pede. Fusce malesuada, sapien vel euismod semper, pede justo pulvinar mi, et tempus diam eros ut leo. Sed nibh leo, ornare nec, ullamcorper vitae, venenatis quis, urna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Nulla ornare dignissim nunc. Donec ullamcorper, mi nec tincidunt gravida, nulla est euismod metus, dapibus tincidunt erat sem non ante. Proin tempor elit quis urna. Maecenas lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed turpis sem, pulvinar a, auctor ut, porttitor vel, justo. Donec tempor wisi eget est. Suspendisse faucibus eros a purus. Proin vel lectus eu magna commodo consectetuer.
</body>
</html>
0
 
Brian LinDesignerAuthor Commented:
so, is there are any way that change my original script ? thanks
0
 
ZylochCommented:
You're original code is a bit confusing. It's not mainly the font changing code as the image cycling code. I would probably rewrite it
0
 
Brian LinDesignerAuthor Commented:
Could you kindly show me the re-write version ? thanks
0
 
RoonaanCommented:
About the image cycling part: couldn't you use an animated gif89a instead?
What about this one for the css part:
<style type="text/css">
body.f12 {font-size:12px;}
body.f14 {font-size:14px;}
body.f16 {font-size:16px;}
body.f18 {font-size:18px;}
</style>
<body class="f14">
<a href="#" onclick="document.body.className='f12';return false;">Font size 12</a>
<a href="#" onclick="document.body.className='f14';return false;">Font size 14</a>
<a href="#" onclick="document.body.className='f16';return false;">Font size 16</a>
<a href="#" onclick="document.body.className='f18';return false;">Font size 18</a>
</body>
0
 
raj3060Commented:
Ever thought of using css to make life easier. You will be writing tons of javaScript to do something which you can do with one line of CSS.
-Raj
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 21
  • 14
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now