[ale] Konq + JS

Chris Fowler cfowler at outpostsentinel.com
Tue Mar 25 20:12:10 EST 2003


In my attempt to make a web site more universal browser friendly, I've
removed a majority of my java script code and allowed the CGI programs
to validate the froms.

However,  I'm still struggling with one page and I'm hoping some one
here might have some insight.  Below are two cuts to eliminate pasting
the whole page in this email.  The code in question is a collapsible
list.  What am I doing wrong?  Konq. does not even attempt to render the
collapsible list.

-- cut piece --
<head>
<LINK REL="stylesheet" href="../includes/styles.css" type="text/css">
<script type="text/javascript" src="ua.js"></script>
<script type="text/javascript" SRC="xbDOM.js"></script>
<script type="text/javascript" SRC="xbStyle.js"></script>
<script type="text/javascript" SRC="xbCollapsibleLists.js"></script>
<script type="text/javascript"><!--
function chgWindowStatus(message) {
	window.status =message;
}

function init() {

	var width = 180;
	var height = 22;
	var bgColor = "#FFFFD0";

	var l = new List(true, width, height+5, bgColor);
	l.setFont("<FONT COLOR='#000033' FACE='Arial,Helvetica'
SIZE=-1><B>","</B></FONT>");

	l.addItem("<H3>&nbsp</H3>");
	l.addItem("<h3><a href=../cgi-bin/pcommander.cgi target=main
style=text-decoration:none>Port Commander</a></h3>");

	var ss = new List(false, width, height, "#FFFFD0");
	ss.setFont("<FONT COLOR='white' FACE='Arial,Helvetica'
SIZE=-1>","<\/FONT>");


--- cut piece --
<body ONLOAD="init();return 1"  onresize="redo()">

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list