0 Replies Latest reply on May 31, 2006 5:14 AM by Eric Chow

    Theme and Layout problem?

    Eric Chow Apprentice

      Hello,

      Where should I put my JavaScript if in a theme or layout?

      <script src="myscript.js"></script>
      



      As I want to create my own theme and layout, some JavaScript will be added to the page, but I don't knwo how I can do this.

      I download the samples for reference from PortletSwap, if I paste all the JavaScript contents into the block in the "index.jsp" and "maximized.jsp", it works. But how can I only link it into the page ?