Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing styles on a page

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
If you go to the following page on ESPN's site they have a section down the page on the right called ESPN Tools. One of the tools lets you choose the font and font size of the text in the story. I am currious how they do this? Anyone have a good example or tutorial?



Scott
 
It's JavaScript, scott.

Go to the page.. click on the view menu in your browser and then source.
In the notebook window that appears go to the edit menu and Find "espn tools"

the javascript is about 10 lines below that....it starts like this

<!-- END TOOLS -->
<script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;>
<!--
document.write('<strong>Readability<\/strong><br>');

hope that helps

luds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top