Pages: 1

  2008-08-14 23:49:00

R-A-M-O-N-help
» FTalker
FTalk Level: zero
148
0
1969-12-31

[quote]Maybe the viewers are having a hard time reading your about me, blogs and etc...This trick will solves your viewer's problems...It will alert the viewer and will ask if he/she want to enlarge t

[quote]Maybe the viewers are having a hard time reading your about me, blogs and etc...This trick will solves your viewer's problems...It will alert the viewer and will ask if he/she want to enlarge the font... [b]PREVIEW[/b] :arrow: [b][url=http://profiles.friendster.com/ramonhelp]MY TEST PAGE[/url][/b] :arrow: [b]SCREENSHOT[/b] [img]http://img107.mytextgraphics.com/photolava/2008/08/15/confirm-4biyh032t.png[/img] :arrow: simply put this code on your compile js... [spoiler]var tgs = new Array( 'div','td','tr'); var szs = new Array( 'xx-small','x-small','small','medium','large','x-large','xx-large' ); var startSz = 2; function ts( trgt,inc ) { 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 ]; } } var r=confirm("[b]Do you want to enlarge the font so you can see it clearly?[/b]"); if (r==true) { location.href="javascript:ts('body',[b][color=blue]1[/color][/b])"; } else { document.write(""); }[/spoiler] Change the [b]bold[/b] part with your message you like then the [color=blue]blue[/color] part if you want more bigger font, higher is bigger... <-------------------------------------------------------------------------------------------> [align=center]Hope you'll like this trick.... :D[/align][/quote]

Last edited by R-A-M-O-N-help (2009-01-31 05:49:17)

Pages: 1

Board footer

© 2024 F Talk

Current time is 23:26

[ 13 queries - 0.018 second ]
Privacy Policy