In my html files i have put this in...
<script type=text/javascript src=myfile.js></script>
Then in the myfile.js i have wrote...
document.write("hey");
And in the html file it puts in "hey".
But my question is how do i put all of the following html code below into a javascript .js file ?
<div id="left_col"> <div> <div class="text_menu_title">News:</div> <div class="text_menu"> » <a href="n">Newest</a></div> <div class="text_menu"> » <a href="a">Adventure</a></div> <div class="text_menu"> » <a href="f">Fun</a></div> <div class="text_menu"> » <a href="r">Reviews</a></div> <div class="text_menu_adds_title">Adverts:</div> <div class="text_menu_adds"> » <a href="s">Starlinkuk Hosting</a></div> <div class="text_menu_adds"> » <a href="c"></a><a href="t">Things 4 / Great Gifts</a></div> <div class="text_menu_adds"> » <a href="hh">Advertise Here?</a></div> </div> </div>