Hi all,
I've a small js application based on jquery and other third party libraries. At the moment
I've built a simple html page for it, but I'd like to integrate it in a drupal site.

What is the best why ?
Cut and pasting it in a node is not an option (AFAIK) as the filter will remove any js .

Shall I just create a module for it ? This way I can easily add/remove css and js in the header page.
It seems to be a bit overkilling thoug. Is there a module or an easier way ?

thanks :)

Comments

nevets’s picture

A module would be one way and is not really overkill. From what you say all you will need is the menu hook and a callback function to produce the page. You can of course embed it in a page, just use the php code filter and the js will not be stripped.