RU beehive logo ITEC dept promo banner
ITEC 325
2011fall
ibarland

homelectsexamshws
breeze (snow day)

quiz01
quiz01

It is common to have tags in an html file that refer to a javascript file:

<html>
  <head>
    <title>Some Stuff</title>
    
    <script src='foo/bar.js'></script>
    <script src='../lib/frob.js'></script>
  </head>
  <body>
  Blah blah
  </body>
</html>
    
Write a php function that, given the name of a file, returns the text to be used as a script tag.
Optional: Also give php/html code which generates the head above, calling your function.

For reference, we'll also show the blend function from the notes.

homelectsexamshws
breeze (snow day)


©2011, Ian Barland, Radford University
Last modified 2011.Sep.12 (Mon)
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Powered by PLT Scheme