Commit 0146b337 authored by claes's avatar claes

Java script orm menu

parent 7efee103
<!--
(Please keep all copyright notices.)
This frameset document includes the Treeview script.
Script found at: http://www.treeview.net
Author: Marcelino Alves Martins
Instructions:
- Through the style tag you can change the colors and types
of fonts to the particular needs of your site.
- A predefined block has been made for stylish people with
black backgrounds.
-->
<html>
<head>
<!-- if you want black backgound, remove this style block -->
<style>
BODY {background-color: 000066; margin-top: 30px}
TD {font-size: 8pt;
font-family: verdana,helvetica;
text-decoration: none;
white-space:nowrap;}
A {text-decoration: none;
color: white}
</style>
<!-- NO CHANGES PAST THIS LINE -->
<!-- Code for browser detection -->
<script src="../ua.js"></script>
<!-- Infrastructure code for the tree -->
<script src="../ftiens4.js"></script>
<!-- Execution of the code that actually builds the specific tree.
The variable foldersTree creates its structure with calls to
gFld, insFld, and insDoc -->
<script src="menu.js"></script>
</head>
<body topmargin=16 marginheight=16>
<!-- By making any changes to this code you are violating your user agreement.
Corporate users or any others that want to remove the link should check
the online FAQ for instructions on how to obtain a version without the link -->
<!-- Removing this link will make the script stop from working -->
<div style="position:absolute; top:0; left:0; "><table border=0><tr><td><font size=-2><a style="font-size:7pt;text-decoration:none;color:silver" href="http://www.treemenu.net/" target=_blank> </a></font></td></tr></table></div>
<!-- Build the browser's objects and display default view of the
tree. -->
<script>initializeDocument()</script>
<noscript>
A tree for site navigation will open here if you enable JavaScript in your browser.</noscript>
</html>
......@@ -19,7 +19,7 @@ vpath %.gif $(hw_source):$(os_source):$(co_source)
source_dirs := $(hw_source) $(os_source) $(co_source)
sources := $(sort \
gif_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
......@@ -28,10 +28,19 @@ sources := $(sort \
) \
)
gif_sources := $(filter %.gif,$(sources))
html_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.html) \
), $(notdir $(file)) \
) \
)
export_gif := $(patsubst %.gif,$(doc_dir)/orm/%.gif,$(gif_sources))
export_html := $(patsubst %.html,$(doc_dir)/orm/%.html,$(html_sources))
clean_gif := $(patsubst %.gif,clean_%.gif,$(gif_sources))
clean_html := $(patsubst %.html,clean_%.html,$(html_sources))
.SUFFIXES:
......@@ -40,6 +49,11 @@ $(doc_dir)/orm/%.gif : %.gif
@ $(cp) $(cpflags) $(source) $(target)
@ $(cp) $(cpflags) $(source) $(doc_dir)/help
$(doc_dir)/orm/%.html : ../../%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
@ $(cp) $(cpflags) $(source) $(doc_dir)/help
.PHONY : all init copy lib exe clean realclean \
$(clean_gif)
......@@ -47,7 +61,7 @@ all : init copy lib exe
init :
copy : $(export_gif) \
copy : $(export_gif) $(export_html)\
$(doc_dir)/orm/orm.css
lib :
......@@ -57,12 +71,18 @@ exe :
clean :
realclean : clean $(clean_gif) $(clean_c)
realclean : clean $(clean_gif) $(clean_html) $(clean_c)
$(clean_gif) : clean_%.gif : %.gif
@ $(rm) $(rmflags) $(doc_dir)/orm/$*.gif
$(clean_html) : clean_%.html : %.html
@ $(rm) $(rmflags) $(doc_dir)/orm/$*.html
$(doc_dir)/orm/orm.css : ../../orm.css
@ echo "copy $(source) $(target)"
@ cp $(source) $(target)
......@@ -12,9 +12,9 @@
<h1>pwr40</h1>
<b>Linux Debian package for development stations.</b><br><br>
<table><tr><td>
<a href="../../bld/pkg/pwr40_4.0.0-1_i386.deb">pwr40_4.0.0-1_i386.deb</a>
<a href="../../bld/pkg/pwr40_4.0.0-1_i386.deb">pwr40_4.1.0-1_i386.deb</a>
</td><td>
2003-12-14 16:31
2004-00-00 00:00
</td><td>
Beta release.
</td></tr>
......@@ -27,77 +27,13 @@
<table borer="1">
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-0_i386.deb">pwrrt_4.0.0-0_i386.deb</a>
<a href="../../bld/pkg/pwrrt_4.1.0-0_i386.deb">pwrrt_4.1.0-0_i386.deb</a>
</td><td width="120">
2004-04-23 15:30
2004-00-00 00:00
</td><td>
Beta release.
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-1_i386.deb">pwrrt_4.0.0-1_i386.deb</a>
</td><td width="120">
2004-06-17 17:48
</td><td>
Base release.
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-2_i386.deb">pwrrt_4.0.0-2_i386.deb</a>
</td><td width="120">
2004-06-29 11:24
</td><td>
Soft restart handled in rs_nmps_bck.
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-3_i386.deb">pwrrt_4.0.0-3_i386.deb</a>
</td><td width="120">
2004-07-01 10:51
</td><td>
Initial values in input and output signals.
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-4_i386.deb">pwrrt_4.0.0-4_i386.deb</a>
</td><td width="120">
2004-08-12 09:05
</td><td>
Object type for GetIp and GetIpToA changed.<br>
Java class ScaleTools replaced by Proportion. New export of all java frames is required.
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-5_i386.deb">pwrrt_4.0.0-5_i386.deb</a>
</td><td width="120">
2004-08-23 10:30
</td><td>
Qcom bugfix.<br>
Java classgraphs for signals and other objects.<br>
Improved xtt preformance.<br>
Xtt window to display system messages.<br>
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-6_i386.deb">pwrrt_4.0.0-6_i386.deb</a>
</td><td width="120">
2004-09-03 10:55
</td><td>
All users has access to start mozilla from xtt.<br>
PageDown and PageUp keys works in xtt.<br>
Ctrl replacements of PF keys in rtt.<br>
</td></tr>
<tr><td width="160">
<a href="../../bld/pkg/pwrrt_4.0.0-7_i386.deb">pwrrt_4.0.0-7_i386.deb</a>
</td><td width="120">
2004-09-07 10:55
</td><td>
QCOM bugfix.<br>
Menu entries to display volumes and nodes in xtt.<br>
Possibility to choose pixmap of menu entries in xtt.<br>
</td></tr>
</table>
</p></div>
......
This diff is collapsed.
......@@ -9,7 +9,7 @@
<tr>
<td width = "100">
<img src="ugglablack.gif" border="0" width="92" height="89" align="middle">
<td><font size="70">Proview &nbsp;&nbsp; v4.0</td>
<td><font size="70">Proview &nbsp;&nbsp; v4.1</td>
<td width = "70">
<a href="sv_se/index.html" target="_top"><img src="svflg.gif" border="0" align="middle" alt="Swedish"></a></td>
</td></tr></table>
......
......@@ -6,7 +6,7 @@
<frameset rows="90,*" frameborder="0">
<frame name="I1" frameborder="0" noresize scrolling="no" src="orm_h.html"></frame>
<frame name="I2" frameborder="0" src="orm.html"></frame>
<frame name="I2" frameborder="0" src="orm_index.html"></frame>
</frameset>
</html>
\ No newline at end of file
<html>
<head>
<title>Proview</title>
</head>
<frameset cols="17%,83%">
<frame name="left" src="orm/orm_menu.html">
<frame name="basefrm" src="orm_intro.html">
</frameset>
</html>
\ No newline at end of file
......@@ -407,7 +407,7 @@ mso-vertical-align-alt:auto'><span style='mso-bidi-font-size:12.0pt'><!--[if gte
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style='width:357.75pt;
height:78pt'>
<v:imagedata src="orm/orm_en1-7.gif" o:href="http://intern.oxelosund.ssab.se/pss/Proview_bas/v2.0/orm/en/html/orm_en1-7.gif"/>
<v:imagedata src="orm/orm_en1-7.gif" o:href="orm/orm_en1-7.gif"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=477 height=104
src="orm_intro-filer/image001.gif" v:shapes="_x0000_i1025"><![endif]><o:p></o:p></span></p>
......
// You can find instructions for this file here:
// http://www.treeview.net
// Decide if the names are links or just the icons
USETEXTLINKS = 1 //replace 0 with 1 for hyperlinks
// Decide if the tree is to start all open or just showing the root folders
STARTALLOPEN = 0 //replace 0 with 1 to show the whole tree
ICONPATH = '../' //change if the gif's folder is a subfolder, for example: 'images/'
HIGHLIGHT = 1
HIGHLIGHT_COLOR = '#FF9900'
HIGHLIGHT_BG = '#000066'
foldersTree = gFld("<b>Object Reference Manual</b>", "orm_intro.html")
aux1 = insFld(foldersTree, gFld("<b>pwrs</b>", "pwrs_index.html"))
pwrs(aux1)
aux1 = insFld(foldersTree, gFld("<b>pwrb</b>", "pwrb_index.html"))
pwrb(aux1)
aux1 = insFld(foldersTree, gFld("<b>nmps</b>", "nmps_index.html"))
NMps(aux1)
aux1 = insFld(foldersTree, gFld("<b>ssab</b>", "ssab_index.html"))
SSAB(aux1)
aux1 = insFld(foldersTree, gFld("<b>tlog</b>", "tlog_index.html"))
TLog(aux1)
......@@ -37,6 +37,15 @@ html_sources := $(sort \
) \
)
js_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.js) \
), $(notdir $(file)) \
) \
)
sv_se_html_sources := $(sort \
$(foreach file, \
$(foreach dir, \
......@@ -48,10 +57,12 @@ sv_se_html_sources := $(sort \
export_gif := $(addprefix $(doc_dir)/,$(gif_sources))
export_html := $(addprefix $(doc_dir)/,$(html_sources))
export_js := $(addprefix $(doc_dir)/,$(js_sources))
export_html_sv_se := $(addprefix $(doc_dir)/sv_se/,$(sv_se_html_sources))
clean_pwg := $(patsubst %.pwg,clean_%.pwg,$(sources))
clean_html := $(patsubst %.html,clean_%.html,$(sources))
export_doc := $(export_gif) $(export_html) $(export_html_sv_se)
clean_html := $(patsubst %.js,clean_%.js,$(sources))
export_doc := $(export_gif) $(export_html) $(export_js) $(export_html_sv_se)
clean_ge := $(clean_gif) $(clean_html)
.SUFFIXES:
......@@ -71,12 +82,15 @@ exe :
clean : $(clean_dox)
realclean : $(clean_html)
realclean : $(clean_html) $(clean_js)
$(clean_html) : clean_%.html : %.html
@ $(rm) $(rmflags) $(doc_dir)/dox/$*.html
$(clean_js) : clean_%.js : %.js
@ $(rm) $(rmflags) $(doc_dir)/dox/$*.js
$(doc_dir)/pcss.css : ../../pcss.css
@ echo "copy $(source) $(target)"
@ cp $(source) $(target)
......@@ -85,6 +99,10 @@ $(doc_dir)/sv_se/%.html : $(pwre_sroot)/doc/web/sv_se/%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(doc_dir)/%.js : $(pwre_sroot)/doc/web/src/%.js
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
......
/*
* $Log: ua.js,v $
* Revision 1.1 2004-10-13 13:18:20 claes
* Java script orm menu
*
* Revision 1.9 2002/07/22 14:06:21 bc6ix
* fix license path, change version reporting to use 2 digits for each level
*
* Revision 1.8 2002/07/07 08:23:07 bc6ix
* fix line endings
*
* Revision 1.7 2002/05/14 16:52:52 bc6ix
* use CVS Log for revision history
*
*
*/
/* ***** BEGIN LICENSE BLOCK *****
* Licensed under Version: MPL 1.1/GPL 2.0/LGPL 2.1
* Full Terms at http://bclary.com/lib/js/license/mpl-tri-license.txt
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Netscape code.
*
* The Initial Developer of the Original Code is
* Netscape Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): Bob Clary <bclary@netscape.com>
*
* ***** END LICENSE BLOCK ***** */
function xbDetectBrowser()
{
var oldOnError = window.onerror;
var element = null;
window.onerror = null;
// work around bug in xpcdom Mozilla 0.9.1
window.saveNavigator = window.navigator;
navigator.OS = '';
navigator.version = parseFloat(navigator.appVersion);
navigator.org = '';
navigator.family = '';
var platform;
if (typeof(window.navigator.platform) != 'undefined')
{
platform = window.navigator.platform.toLowerCase();
if (platform.indexOf('win') != -1)
navigator.OS = 'win';
else if (platform.indexOf('mac') != -1)
navigator.OS = 'mac';
else if (platform.indexOf('unix') != -1 || platform.indexOf('linux') != -1 || platform.indexOf('sun') != -1)
navigator.OS = 'nix';
}
var i = 0;
var ua = window.navigator.userAgent.toLowerCase();
if (ua.indexOf('safari') != -1)
{
i = ua.indexOf('safari');
navigator.family = 'safari';
navigator.org = 'safari';
navigator.version = parseFloat('0' + ua.substr(i+7), 10);
}
else if (ua.indexOf('opera') != -1)
{
i = ua.indexOf('opera');
navigator.family = 'opera';
navigator.org = 'opera';
navigator.version = parseFloat('0' + ua.substr(i+6), 10);
}
else if ((i = ua.indexOf('msie')) != -1)
{
navigator.org = 'microsoft';
navigator.version = parseFloat('0' + ua.substr(i+5), 10);
if (navigator.version < 4)
navigator.family = 'ie3';
else
navigator.family = 'ie4'
}
else if (ua.indexOf('gecko') != -1)
{
navigator.family = 'gecko';
var rvStart = ua.indexOf('rv:');
var rvEnd = ua.indexOf(')', rvStart);
var rv = ua.substring(rvStart+3, rvEnd);
var rvParts = rv.split('.');
var rvValue = 0;
var exp = 1;
for (var i = 0; i < rvParts.length; i++)
{
var val = parseInt(rvParts[i]);
rvValue += val / exp;
exp *= 100;
}
navigator.version = rvValue;
if (ua.indexOf('netscape') != -1)
navigator.org = 'netscape';
else if (ua.indexOf('compuserve') != -1)
navigator.org = 'compuserve';
else
navigator.org = 'mozilla';
}
else if ((ua.indexOf('mozilla') !=-1) && (ua.indexOf('spoofer')==-1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera')==-1)&& (ua.indexOf('webtv')==-1) && (ua.indexOf('hotjava')==-1))
{
var is_major = parseFloat(navigator.appVersion);
if (is_major < 4)
navigator.version = is_major;
else
{
i = ua.lastIndexOf('/')
navigator.version = parseFloat('0' + ua.substr(i+1), 10);
}
navigator.org = 'netscape';
navigator.family = 'nn' + parseInt(navigator.appVersion);
}
else if ((i = ua.indexOf('aol')) != -1 )
{
// aol
navigator.family = 'aol';
navigator.org = 'aol';
navigator.version = parseFloat('0' + ua.substr(i+4), 10);
}
else if ((i = ua.indexOf('hotjava')) != -1 )
{
// hotjava
navigator.family = 'hotjava';
navigator.org = 'sun';
navigator.version = parseFloat(navigator.appVersion);
}
window.onerror = oldOnError;
}
xbDetectBrowser();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment