Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <script language="JavaScript" type="text/javascript" src="/js/jquery-1.7.1.js"></script>
- <script language="JavaScript" type="text/javascript" src='/js/test.js'></script>
- </head>
- //Just did a test function, but I cant seem to get it to work. When trying <script>testing()</script> in <body> nothing happens
- //testing() just get a red underline.
- in test.js:
- function testing(){
- document.write("<h1>This is a heading</h1>");
- document.write("<p>This is a paragraph.</p>");
- document.write("<p>This is another paragraph.</p>");
- }
- $(function(){
- var contentHeight = $('#content').height();
- $('#menu').height(contentHeight
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement