[BlueBream] Javascript

Paul Harouff pharouff at gmail.com
Tue Mar 23 22:00:49 EDT 2010


I have ported an index.html file over to blubream index.pt file. Three
files, ietm.css, ietm.js, and TBE_icon_small.png, are also in the
src/csdb/main folder.

When I restart the server, I can open @@index, but it does not appear
to be loading ietm.css and ietm.js when they are referenced in
index.pt.

Below is a snippet of the top of the file (it is pretty huge). When I
open the page, the formatting isn't even close to what is specified in
the CSS. The logo at the top of the page is missing. And the Firefox
error console says it is complaining it can't find the function
pageLoad() which is the very first function in the ietm.js file.

What am I doing wrong? Does bluebream need me to do something more
than just placing these files in the same folder?

Paul


[CODE]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>

<HEAD>
	
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
	<TITLE>TEST PAGE</TITLE>
    <LINK rel="stylesheet" href="ietm.css" type="text/css" media="screen">

</HEAD>

<BODY LANG="en-US" DIR="LTR" BGCOLOR="#FFFFFF" onResize="pageLoad();">
    <!-- On loading, fit content columns to window height -->
    <SCRIPT for="window" event="onload" >pageLoad();</SCRIPT>
    <!-- Load event handler, pop-up menu, resizable table, and tree
navigation scripts -->
    <SCRIPT type="text/javascript" src="ietm.js"></SCRIPT>

    <!-- HEADER -->
    <DIV id="header">
        <TABLE id="headertable" width="100%" border="0" rules="none"
frame="none" cellspacing="0" bgcolor="#E8E8E8">
            <TR>
                <TD width="69px" bgcolor="#FFFFFF" align="center"
valign="middle" >
                    <!-- Guide Post Logo and Context Menu Container -->
                    <DIV id="guidepost"
onmouseover="this.style.cursor='pointer';" onmouseup="showMenu()">
                        <IMG src="TBE_icon_small.png">
[/CODE]


More information about the bluebream mailing list