How to encrypt JavaScript code?

Trouble making css apply to html code made in Javascript?

  • I wrote a Javascript code that creates a calendar and I use CSS to modify it. When I have the CSS and JS code in one html file then everything works perfectly. When I create a seperate document for each language and link them into the html file, the entire CSS code stops working. I was wondering if someone could write a simple html code that links a CSS file and a Javascript file into a HTML document and executes the JS code when the page is loaded. (This is what I really need) It would also be nice if you could explain to me what is happening in the html code.

  • Answer:

    cant get u

Nameo 0 at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Just link your css to the html file in the head section. <link href="stylesheet.css" rel="stylesheet" type="text/css" media="screen> ...

D

Just link your css to the html file in the head section. <link href="stylesheet.css" rel="stylesheet" type="text/css" media="screen> ...

GuyOnEarth

cant get u

Punitha J

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.