WebSphere Portal Server - How to include javascripts in theme?I have a release tomorrow-

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > February 2007 > How to include javascripts in theme?I have a release tomorrow-





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to include javascripts in theme?I have a release tomorrow-

2007-02-28, 7:22 am

I have used the following syntax to include javascripts files

<script language="JavaScript" src="./js/init.js"></script>

When I try to use this theme the js files are not included to the page I apply the theme.In the javascipt console I get syntax error for the js files included.

2007-02-28, 1:18 pm

Try to use the following syntax
<link href='<wps:urlFindInTheme file="/[js folder]/init.js"/>' rel="styleSheet" type="text/css">
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com