home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Archived / Internet / jvscript116beta / JvScript / !JvScript / Resources / Scripts / Display / 3 < prev    next >
Encoding:
Text File  |  1999-08-24  |  1.4 KB  |  33 lines

  1. #newformat
  2. # © Geoff Youngs, 1999
  3. _title:'TV Screen' Engine
  4. _description:TV Screen display engine
  5. _Author: Geoff Youngs
  6. _Source: http://www.dyoungs.clara.net/jvscript/
  7. _Explanation: This script is based on the rollover images one that is included in HTML³.
  8.  
  9. _insert-in:inhead
  10. <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"><!-- 
  11. function tvshow(imgName, varName)
  12. {if (document.images)
  13. document[imgName].src = eval(varName + 'on.src')}
  14. function tvfuzz(imgName, varName)
  15. {if (document.images)
  16. document[imgName].src = eval(varName + 'off.src')}
  17. // -->
  18. </SCRIPT>
  19. _end-insert:
  20.  
  21. _insert-in:inbody
  22. <!-- You will need the 'Xtras.tv' directory for this -->
  23. <!-- This is the tv screen, xtra screens should be 100x75 pixels-->
  24. <TABLE WIDTH=120 CELLPADDING=0 CELLSPACING=0>
  25. <TR><TD WIDTH=120 COLSPAN=3><IMG SRC="tv/top.gif" ALT="Top" WIDTH="120" HEIGHT="10" BORDER="0" HSPACE="0" VSPACE="0"></TD></TR>
  26. <TR><TD WIDTH=10><IMG SRC="tv/side.gif" ALT="Side" WIDTH="10" HEIGHT="75" BORDER="0" HSPACE="0" VSPACE="0"></TD>
  27. <TD WIDTH=100>
  28. <IMG SRC="tv/screens/fuzz.gif" ALT="Fuzz" WIDTH="100" HEIGHT="75" BORDER="0" HSPACE="0" VSPACE="0" NAME="tvscreen"><BR CLEAR="all"></TD>
  29. <TD WIDTH=10><IMG SRC="tv/side.gif" ALT="Side" WIDTH="10" HEIGHT="75" BORDER="0" HSPACE="0" VSPACE="0"></TD></TR>
  30. <TR><TD WIDTH=120 COLSPAN=3><IMG SRC="tv/bottom.gif" ALT="Bottom" WIDTH="120" HEIGHT="25" BORDER="0" HSPACE="0" VSPACE="0"></TD></TR>
  31. </TABLE>
  32. <!-- Bottom of Screen -->
  33. _end-insert: