You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Dudley Butt@i-Commerce" <Du...@za.didata.com> on 2001/06/07 10:20:11 UTC
HOW TO INCLUDE JAVASCRIPT FILE.js in your struts jsp page?
Does anyone have an example of this?
Re: HOW TO INCLUDE JAVASCRIPT FILE.js in your struts jsp page?
Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi, there folks , Firstly regarding Cascade Style Sheets it worked by
moving it to were web apps was looking at top level. My next problem i
have scripted a infoscroll script (window status in JavaScript for our
Index.jsp , thus it works on my personnal site albeit not my conpanies
prototype.
I have scripted before with JavaScript in html elements only and works
fine any suggestions
<html>
<!--Below is a JSP expression that is not hidden from browser-->
<!-- JSP Name:index.jsp Written by Chuck Amadi IT Systems
Programmer.This page was executed
on <%=new java.util.Date()%>-->
<head>
<title>Brecon Beacons National Park</title>
<body background="#ffffff">
<meta name="generator" content="Brecon Beacons National Park Authority
site generator">
<meta name="keywords" content="brecon beacons national park recreation
travel walking climbing access">
<!-- reference standard bbnpa cascade style sheet -->
<link rel="stylesheet" href="css/bbnpa.css"
charset="ISO-8859-1" type="text/css"> //create scrolling
window status
<script LANGUAGE="JavaScript">
<!-- hide js code
function infoscroll(seed,looped)
{
dont need to bore u with the rest of the body script!!!
}
// end js code -->
<!--
infoscroll(100,1)
// -->
</script>
cheers chuck
"Dudley Butt@i-Commerce" wrote:
> Does anyone have an example of this?
--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at it@breconbeacons.org) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal â rhoi gwybod i
ni (yn it@breconbeacons.org) ac yna dilëwch bob copi.