Some java script questions

Status
Not open for further replies.

afroman

Baseband Member
Messages
61
I need few answers -

I use MS frontpage, for designing my web, but I dont really know HTML code (I mean I know it but it is just not enought) - anyway...

For instaling some java scripts it says:

"Add the onLoad event handler into the BODY tag"
Can somebody explane me what is this, how to define it and make it work?

How to make java script as an external file, so that you can call it from between the <head>&</head> tags of the parent page. Is it possible for any java script?
I need step by step description from creating JS to placing "call" into head.

Also I need simple java script counter - if there is.

Thanks
 
Is there java script that will disable saving and downloading my web page to visitors computer?
 
As I wrote - I'm not advanced HTML and script user - so.....

If it says (for instaling JS):

1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document

How to create external Java Script from this (is it possible)? What of these 3 steps goes to external script and what to HTML of the page?
I know that I must put in: <SCRIPT language="JavaScript" src="filename.js" type="text/javascript"> in the HEAD of the page.
 
1.) put the script they gave you and copy it in between the head tags.
2.) add onLoad= to the body tag, <body onLoad=method(args)>
3.) change method(args) above to the method you want to execute
 
Status
Not open for further replies.
Back
Top Bottom