This commit is contained in:
selmer 1998-04-09 04:07:52 +00:00
Родитель 29a162b238
Коммит aae9412c46
7 изменённых файлов: 390 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,140 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
var sizeArray = null;
var showArray = null;
window.captureEvents( Event.MOUSEUP| Event.MOUSEDOWN| Event.MOUSEDRAG );
function go( msg )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
{
}
return true;
}
function checkData()
{
return true;
}
function loadData()
{
}
function saveData()
{
}
function savePositions()
{
sizeArray = new Array;
showArray = new Array;
allisp = document.layers[ "allisp" ];
for ( i = 0; i < allisp.layers.length; i++ )
{
sizeArray[ i ] = allisp.layers[ i ].document.height
showArray[ i ] = true;
}
}
function tabIndex( tab )
{
allisp = document.layers[ "allisp" ];
for ( i = 0; i < allisp.layers.length; i++ )
{
if ( tab.name == allisp.layers[ i ].name )
return i;
}
return -1;
}
function toggleTab( tab )
{
allisp = document.layers[ "allisp" ];
if ( tab )
index = tabIndex( tab );
if ( index != -1 )
{
height = sizeArray[ index ];
if ( showArray[ index ] == true )
{
showArray[ index ] = false;
tab.clip.bottom = tab.clip.top + 54;
for ( i = index + 1; i < allisp.layers.length; i++ )
{
layerToMove = allisp.layers[ i ];
layerToMove.moveBy( 0, - ( height - 54 ) );
}
}
else
{
showArray[ index ] = true;
for ( i = index + 1; i < allisp.layers.length; i++ )
{
layerToMove = allisp.layers[ i ];
layerToMove.moveBy( 0, ( height - 54 ) );
}
tab.clip.bottom = height;
}
}
}
function toggle( tabName )
{
allisp = document.layers[ "allisp" ];
toggleTab( allisp.layers[ tabName ] );
}
function checkTab( x, y )
{
allisp = document.layers[ "allisp" ];
for ( var i = 0; i < allisp.layers.length; i++ )
{
checkLayer = allisp.layers[ i ];
if ( ( x >= i.pageX ) && ( x <= ( i.pageX + 300 ) ) &&
( y >= i.pageY ) && ( y <= ( i.pageY + 16 ) ) )
return checkLayer;
}
return false;
}
function checkClick( e )
{
possibleTab = checkTab( e.pageX, e.pageY );
if ( possibleTab )
toggleTab( possibleTab );
}
function donothing()
{
}
window.onmousedown = checkClick;
// end hiding contents from old browsers -->

Просмотреть файл

@ -0,0 +1,96 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" SRC="compare.js"></SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js"></LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="compare100">
<!-- The layer below contains the Account Setup identifier. -->
<ILAYER NAME="tagtext" LEFT=420 TOP=0 VISIBILITY=SHOW ID="compare101">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR>
<TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD>
</TR>
</TABLE>
</ILAYER>
<!-- The layer below contains the headline and text of this screen -->
<P CLASS="title"><B>Compare Internet Service Providers</B></P>
<BR>
<!--
<TABLE WIDTH="100%" >
<TR>
<TD><B><FONT SIZE=+2>Internet Service Providers</FONT></B></TD>
<TD WIDTH="30%" BACKGROUND="images/tag.gif">
<B>&nbsp;<NOBR>Internet Account Creation</NOBR></B>&nbsp;
</TD>
</TR>
</TABLE>
-->
<CENTER>
<TABLE WIDTH="100%">
<TR>
<TD COLSPAN="4">
<B>Provider Highlights:&nbsp;<IMG SRC="metadata/images/feature1.gif" BORDER=0 HEIGHT=16 WIDTH=16></B>
<B><FONT SIZE=-1>Free Account Time!&nbsp;</FONT></B>&nbsp;<IMG SRC="metadata/images/feature2.gif" HEIGHT=16 WIDTH=16>
<FONT SIZE=-1>Phone Bill Billing&nbsp;<IMG SRC="metadata/images/feature3.gif" HEIGHT=16 WIDTH=16></FONT>
<FONT SIZE=-1>Web Page Hosting</FONT>
</TD>
</TR>
</TABLE>
</CENTER>
<LAYER NAME="allisp" LEFT=0 VISIBILITY="show" ID="compare102">
<ILAYER NAME="level1isp" LEFT=0>
<HR size=4>
<CENTER><P><A HREF="javascript:window.donothing()" onClick="toggle( 'level1isp' ); return false;" ID="compare103">Level 1</A></P></CENTER>
<P CLASS="body">
<ILAYER NAME="level1display" LEFT=0 VISIBILITY=SHOW>
###level1###
</LAYER>
</P>
</LAYER>
<ILAYER NAME="level2isp" LEFT=0>
<CENTER><P><A HREF="javascript:window.donothing()" onClick="toggle( 'level2isp' ); return false;" ID="compare104">Level 2</A></CENTER></P>
<P CLASS="body">
<ILAYER NAME="level2display" LEFT=0 VISIBILITY=SHOW>
###level2###
</LAYER>
</P>
</LAYER>
</LAYER>
<SCRIPT LANGUAGE="JavaScript1.2" ID="compare103">
savePositions();
allisp.visible = "show";
</SCRIPT>
</BODY>
</HTML>

Просмотреть файл

@ -0,0 +1 @@
LEVEL=0

Просмотреть файл

@ -0,0 +1,64 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<LAYER NAME="@@@ISP_DISPLAY_NAME@@@" LEFT=0 HEIGHT=0 WIDTH=400 VISIBILITY=SHOW>
<LAYER NAME="moreinfobutton" LEFT=5 TOP=10 VISIBILITY=SHOW>
<A HREF="isp/@@@isp_dir@@@/html/sales.html"><IMG SRC="metadata/images/nexts_sml.gif" HEIGHT=15 WIDTH=15></A>
</LAYER>
<LAYER NAME="moreinfotext" LEFT=0 TOP=30 WIDTH=30 VISIBILITY=SHOW>
<CENTER><B><FONT SIZE=-2><A HREF="isp/@@@isp_dir@@@/html/sales.html">More Info</A></FONT></B></CENTER>
</LAYER>
<LAYER NAME="ispname" LEFT=60 TOP=12 VISIBILITY=SHOW>
<B><FONT SIZE=+1>@@@ISP_DISPLAY_NAME@@@</FONT></B>
</LAYER>
<LAYER NAME="feature1" LEFT=320 TOP=10 VISIBILITY=@@@feature1@@@>
<IMG SRC="metadata/images/feature1.gif" HEIGHT=16 WIDTH=16>&nbsp;
</LAYER>
<LAYER NAME="feature2" LEFT=340 TOP=10 VISIBILITY=@@@feature2@@@>
<IMG SRC="metadata/images/feature2.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature3" LEFT=360 TOP=10 VISIBILITY=@@@feature3@@@>
<IMG SRC="metadata/images/feature3.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature4" LEFT=380 TOP=10 VISIBILITY=@@@feature4@@@>
<IMG SRC="metadata/images/feature4.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature5" LEFT=400 TOP=10 VISIBILITY=@@@feature5@@@>
<IMG SRC="metadata/images/feature5.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature6" LEFT=420 TOP=10 VISIBILITY=@@@feature6@@@>
<IMG SRC="metadata/images/feature6.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature7" LEFT=440 TOP=10 VISIBILITY=@@@feature7@@@>
<IMG SRC="metadata/images/feature7.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature8" LEFT=460 TOP=10 VISIBILITY=@@@feature8@@@>
<IMG SRC="metadata/images/feature8.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="isplogo" LEFT=540 TOP=30 VISBILITY=SHOW>
<IMG SRC="isp/@@@isp_dir@@@/image/logo.gif" HEIGHT=50 WIDTH=82>
</LAYER>
<LAYER NAME="descriptivetext" LEFT=60 TOP=40 VISIBILITY=SHOW>
<FONT SIZE=-1>@@@ISP_DESC_LINE_1@@@</FONT>&nbsp;<BR>
<FONT SIZE=-1>@@@ISP_DESC_LINE_2@@@</FONT>&nbsp;<BR>
<FONT SIZE=-1>@@@ISP_DESC_LINE_3@@@</FONT>&nbsp;
</LAYER>
</LAYER>

Просмотреть файл

@ -0,0 +1 @@
LEVEL=1

Просмотреть файл

@ -0,0 +1,63 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<LAYER NAME="@@@ISP_DISPLAY_NAME@@@" LEFT=0 HEIGHT=0 WIDTH=400 VISIBILITY=SHOW>
<LAYER NAME="moreinfobutton" LEFT=5 TOP=10 VISIBILITY=SHOW>
<A HREF="isp/@@@isp_dir@@@/html/sales.html"><IMG SRC="metadata/images/nexts_sml.gif" HEIGHT=15 WIDTH=15></A>
</LAYER>
<LAYER NAME="moreinfotext" LEFT=0 TOP=30 WIDTH=30 VISIBILITY=SHOW>
<CENTER><FONT SIZE=-2><A HREF="isp/@@@isp_dir@@@/html/sales.html">More Info</A></FONT></CENTER>
</LAYER>
<LAYER NAME="ispname" LEFT=60 TOP=12 VISIBILITY=SHOW>
@@@ISP_DISPLAY_NAME@@@
</LAYER>
<LAYER NAME="feature1" LEFT=320 TOP=10 VISIBILITY=@@@feature1@@@>
<IMG SRC="metadata/images/feature1.gif" HEIGHT=16 WIDTH=16>&nbsp;
</LAYER>
<LAYER NAME="feature2" LEFT=340 TOP=10 VISIBILITY=@@@feature2@@@>
<IMG SRC="metadata/images/feature2.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature3" LEFT=360 TOP=10 VISIBILITY=@@@feature3@@@>
<IMG SRC="metadata/images/feature3.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature4" LEFT=380 TOP=10 VISIBILITY=@@@feature4@@@>
<IMG SRC="metadata/images/feature4.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature5" LEFT=400 TOP=10 VISIBILITY=@@@feature5@@@>
<IMG SRC="metadata/images/feature5.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature6" LEFT=420 TOP=10 VISIBILITY=@@@feature6@@@>
<IMG SRC="metadata/images/feature6.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature7" LEFT=440 TOP=10 VISIBILITY=@@@feature7@@@>
<IMG SRC="metadata/images/feature7.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="feature8" LEFT=460 TOP=10 VISIBILITY=@@@feature8@@@>
<IMG SRC="metadata/images/feature8.gif" HEIGHT=16 WIDTH=16>
</LAYER>
<LAYER NAME="isplogo" LEFT=540 TOP=30 VISBILITY=SHOW>
<IMG SRC="isp/@@@isp_dir@@@/image/logo.gif" HEIGHT=50 WIDTH=82>
</LAYER>
<LAYER NAME="descriptivetext" LEFT=60 TOP=40 VISIBILITY=SHOW>
<FONT SIZE=-2>@@@ISP_DESC_LINE_1@@@</FONT>&nbsp;<BR>
<FONT SIZE=-2>@@@ISP_DESC_LINE_2@@@</FONT>&nbsp;<BR>
<FONT SIZE=-2>@@@ISP_DESC_LINE_3@@@</FONT>&nbsp;
</LAYER>
</LAYER>

Просмотреть файл

@ -0,0 +1,25 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH=..\..\..\..\..
JAVA_DESTPATH=$(MOZ_SRC)\ns\dist\classes
PACKAGE=netscape\asw
!include <$(DEPTH)\config\rules.mak>
export::
copy compare.tmpl $(JAVA_DESTPATH)\$(PACKAGE)\compare.htm
copy compare.js $(JAVA_DESTPATH)\$(PACKAGE)\.