Hi!
I have a page that has javascript in between the <body> </body> tags.
I put the code below in the body (raikyng helped me with this):
<script language="javascript">
//fuc can be any function name in your external js file...
func();
</script>
I placed this in between the head tags:
<script language="javascript" src="filename.js"></script>
My problems is this:
When I call the javascript to appear within a <div> tag it ends up in the wrong location on the screen (top left hand corner of the browser window).
When the script isn’t in a <div> tag it displays wherever I’ve placed it.
Does anyone know why this is happening?
Here's where I got the script:
Thank you,
Jenny
I have a page that has javascript in between the <body> </body> tags.
I put the code below in the body (raikyng helped me with this):
<script language="javascript">
//fuc can be any function name in your external js file...
func();
</script>
I placed this in between the head tags:
<script language="javascript" src="filename.js"></script>
My problems is this:
When I call the javascript to appear within a <div> tag it ends up in the wrong location on the screen (top left hand corner of the browser window).
When the script isn’t in a <div> tag it displays wherever I’ve placed it.
Does anyone know why this is happening?
Here's where I got the script:
Thank you,
Jenny