I can't see the text in Design Mode but it shows fine in Preview

G

Guest

I inherited managing this website from a professional. I am not a
professional. Here's my problem and any help would be appreciated.

On one page there is a list of items in a drop down menu (kind of like the
way Lotus Notes did it, where you click and it expands). Problem is nothing
shows when I am in design mode, but it shows fine in Preview mode. I can
even edit the code and can add menu items. But, I am stumped as to why it
doesn't show in design mode.

There seems to be one layer in there, but it seems empty. When I move the
layer around the menu does move when I preview it.

Thanks in advance.

Bob
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

Try previewing it by: File | Preview in Browser
 
G

Guest

Hi Rob,

Yes, that works fine, as does the regular Preview. Any thoughts?

Bob


======================================
 
G

Guest

The following code is cut and pasted directly from the page I reference. I
tried creating a new page and pasted the code in and got the same behavior.
Can someone please tell me what's causing this strange behavior?
Thanks

Bob
===================================================

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">

<title>MRE Documents</title>
<script>
<!-- Beginning of JavaScript -

var menublock=new Array()
var plus_i=0

menublock[0]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Declaration & By-Laws|#|;"+ // text|URL|target of mainlink
"Condo Declaration|CondoDeclaration.htm|main;"+ // text|URL|target of
first sublink
"Condo By-Laws|By-Laws.htm|main;" // text|URL|target of second sublink

menublock[1]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Heat & Weather|#|;"+ // text and URL of first
mainlink
"Heat Guidelines|heat-guidelines.htm|main;"+ // text|URL|target of
mainlink
"Letter to Directors|heatlettertodirectors.htm|main;"+ //
text|URL|target of first sublink
"Letter to Neighbors|heatlettertoneighbors.htm|main;"+ //
text|URL|target of second sublink
"License Agreement|heatlicenseagree.htm|main;"+ // text|URL|target of
third sublink
"Winter Conditions|coldrules.htm|main;" // text|URL|target of fourth
sublink

menublock[2]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines & Regulations|#|;"+ // text and URL of
first mainlink
"Guidelines and Regulations|Guidelines2002.htm|main;" // text|URL|target
of mainlink

menublock[3]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Memoranda|#|;"+ // text and URL of first mainlink
"Painting Update|mreownerresp081400.htm|main;" // text|URL|target of
mainlink

menublock[4]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Leasing|#|;"+ // text and URL of first mainlink
"Lease Application|RentalApplication.htm|main;" // text|URL|target of
mainlink

menublock[5]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines|#|;"+ // text and URL of first mainlink
"Satellite Dish Guidelines|Satellitedishguidelines.htm|main;" //
text|URL|target of mainlink

menublock[6]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Water Quality Report|#|;"+ // text and URL of first
mainlink
"Water Quality Report|MREC-WaterQualityReport2001.pdf|main;" //
text|URL|target of fifth sublink

menublock[7]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Vendor List / Important Phone Numbers |#|;"+ //
text and URL of first mainlink
"Vendor List / Important Phone Numbers|MREVendorList.htm|main;" //
text|URL|target of fifth sublink


var menusplit
var urlsplit
var font_weight_main
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="images/minus131.gif"

var plusimg=new Image()
plusimg.src="images/plus131.gif"

var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
showsubmenus=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
plusminusimg=plusimg.src
}

function openandclose(visi) {
showsubmenus[visi]=(-1)*showsubmenus[visi]
var menucontent=""
if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
menucontent+="<table border=0>"
for (i=0;i<=menublock.length-1;i++) {
menusplit=menublock.split(";")
urlsplit=menusplit[8].split("|")
if (menusplit[3]==1) {font_weight_main="<b>"}
if (menusplit[3]==0) {font_weight_main=""}
if (menusplit[7]==1) {font_weight_sub="<b>"}
if (menusplit[7]==0) {font_weight_sub=""}
menucontent+="<tr><td>"


if (menusplit[9].length==0) {
menucontent+="</td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[0]+" color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
plus_i++
}

if (menusplit[9].length!=0) {
var thismainmenu=i+plus_i
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<img src='"+plusminusimg+"' border=0></a></td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<font face="+menusplit[0]+" color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"

if (showsubmenus==1) {
for (ii=9;ii<=menusplit.length-1;ii++) {
urlsplit=menusplit[ii].split("|")
menucontent+="<tr><td></td><td>"
menucontent+=font_weight_sub
menucontent+="<a href="+urlsplit[1]+"
target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[4]+"
color="+menusplit[6]+" size="+menusplit[5]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
}
}
}
}
menucontent+="</table>"
if (document.all) {
menu.innerHTML=menucontent
}
if (document.layers) {
document.menu.document.write(menucontent)
document.menu.document.close()
}
}


// - End of JavaScript - -->
</script>
<style>
A {
text-decoration:none;
}
</style>
<base target="_self">
</head>
<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px; width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>
<html></html>
 
M

Murray

A suggestion - when you change the subject line of a post within a thread,
that post then comes up as if it were a new thread. Please don't do that.

Next, your page has invalid code on it -

</html>
<html></html>

Note the redundant <html></html> at the bottom.

Finally, your page has no content (other than a bunch of empty <p> tags) to
show you in design view -

<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px; width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>

All of the menus are being written to the page dynamically at run time in
the browser. This is but one of the many reasons why I dislike such
all-javascript menus intensely.

--
Murray
============

BobH said:
The following code is cut and pasted directly from the page I reference.
I
tried creating a new page and pasted the code in and got the same
behavior.
Can someone please tell me what's causing this strange behavior?
Thanks

Bob
===================================================

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">

<title>MRE Documents</title>
<script>
<!-- Beginning of JavaScript -

var menublock=new Array()
var plus_i=0

menublock[0]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Declaration & By-Laws|#|;"+ // text|URL|target of mainlink
"Condo Declaration|CondoDeclaration.htm|main;"+ // text|URL|target of
first sublink
"Condo By-Laws|By-Laws.htm|main;" // text|URL|target of second sublink

menublock[1]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Heat & Weather|#|;"+ // text and URL of first
mainlink
"Heat Guidelines|heat-guidelines.htm|main;"+ // text|URL|target of
mainlink
"Letter to Directors|heatlettertodirectors.htm|main;"+ //
text|URL|target of first sublink
"Letter to Neighbors|heatlettertoneighbors.htm|main;"+ //
text|URL|target of second sublink
"License Agreement|heatlicenseagree.htm|main;"+ // text|URL|target of
third sublink
"Winter Conditions|coldrules.htm|main;" // text|URL|target of fourth
sublink

menublock[2]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines & Regulations|#|;"+ // text and URL of
first mainlink
"Guidelines and Regulations|Guidelines2002.htm|main;" // text|URL|target
of mainlink

menublock[3]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Memoranda|#|;"+ // text and URL of first mainlink
"Painting Update|mreownerresp081400.htm|main;" // text|URL|target of
mainlink

menublock[4]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Leasing|#|;"+ // text and URL of first mainlink
"Lease Application|RentalApplication.htm|main;" // text|URL|target of
mainlink

menublock[5]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines|#|;"+ // text and URL of first mainlink
"Satellite Dish Guidelines|Satellitedishguidelines.htm|main;" //
text|URL|target of mainlink

menublock[6]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Water Quality Report|#|;"+ // text and URL of first
mainlink
"Water Quality Report|MREC-WaterQualityReport2001.pdf|main;" //
text|URL|target of fifth sublink

menublock[7]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Vendor List / Important Phone Numbers |#|;"+ //
text and URL of first mainlink
"Vendor List / Important Phone Numbers|MREVendorList.htm|main;" //
text|URL|target of fifth sublink


var menusplit
var urlsplit
var font_weight_main
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="images/minus131.gif"

var plusimg=new Image()
plusimg.src="images/plus131.gif"

var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
showsubmenus=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
plusminusimg=plusimg.src
}

function openandclose(visi) {
showsubmenus[visi]=(-1)*showsubmenus[visi]
var menucontent=""
if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
menucontent+="<table border=0>"
for (i=0;i<=menublock.length-1;i++) {
menusplit=menublock.split(";")
urlsplit=menusplit[8].split("|")
if (menusplit[3]==1) {font_weight_main="<b>"}
if (menusplit[3]==0) {font_weight_main=""}
if (menusplit[7]==1) {font_weight_sub="<b>"}
if (menusplit[7]==0) {font_weight_sub=""}
menucontent+="<tr><td>"


if (menusplit[9].length==0) {
menucontent+="</td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[0]+"
color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
plus_i++
}

if (menusplit[9].length!=0) {
var thismainmenu=i+plus_i
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<img src='"+plusminusimg+"'
border=0></a></td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<font face="+menusplit[0]+"
color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"

if (showsubmenus==1) {
for (ii=9;ii<=menusplit.length-1;ii++) {
urlsplit=menusplit[ii].split("|")
menucontent+="<tr><td></td><td>"
menucontent+=font_weight_sub
menucontent+="<a href="+urlsplit[1]+"
target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[4]+"
color="+menusplit[6]+" size="+menusplit[5]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
}
}
}
}
menucontent+="</table>"
if (document.all) {
menu.innerHTML=menucontent
}
if (document.layers) {
document.menu.document.write(menucontent)
document.menu.document.close()
}
}


// - End of JavaScript - -->
</script>
<style>
A {
text-decoration:none;
}
</style>
<base target="_self">
</head>
<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px; width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>
<html></html>
 
G

Guest

Hi Murray,

Thanks for your response. I won't change the subject line again, I didn't
realize it had that behavior.

So, I guess what you're saying is that this thing is running javascript and
the only way to edit it is to edit the code directly?

Bob

Murray said:
A suggestion - when you change the subject line of a post within a thread,
that post then comes up as if it were a new thread. Please don't do that.

Next, your page has invalid code on it -

</html>
<html></html>

Note the redundant <html></html> at the bottom.

Finally, your page has no content (other than a bunch of empty <p> tags) to
show you in design view -

<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px; width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>

All of the menus are being written to the page dynamically at run time in
the browser. This is but one of the many reasons why I dislike such
all-javascript menus intensely.

--
Murray
============

BobH said:
The following code is cut and pasted directly from the page I reference.
I
tried creating a new page and pasted the code in and got the same
behavior.
Can someone please tell me what's causing this strange behavior?
Thanks

Bob
===================================================

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">

<title>MRE Documents</title>
<script>
<!-- Beginning of JavaScript -

var menublock=new Array()
var plus_i=0

menublock[0]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Declaration & By-Laws|#|;"+ // text|URL|target of mainlink
"Condo Declaration|CondoDeclaration.htm|main;"+ // text|URL|target of
first sublink
"Condo By-Laws|By-Laws.htm|main;" // text|URL|target of second sublink

menublock[1]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Heat & Weather|#|;"+ // text and URL of first
mainlink
"Heat Guidelines|heat-guidelines.htm|main;"+ // text|URL|target of
mainlink
"Letter to Directors|heatlettertodirectors.htm|main;"+ //
text|URL|target of first sublink
"Letter to Neighbors|heatlettertoneighbors.htm|main;"+ //
text|URL|target of second sublink
"License Agreement|heatlicenseagree.htm|main;"+ // text|URL|target of
third sublink
"Winter Conditions|coldrules.htm|main;" // text|URL|target of fourth
sublink

menublock[2]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines & Regulations|#|;"+ // text and URL of
first mainlink
"Guidelines and Regulations|Guidelines2002.htm|main;" // text|URL|target
of mainlink

menublock[3]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Memoranda|#|;"+ // text and URL of first mainlink
"Painting Update|mreownerresp081400.htm|main;" // text|URL|target of
mainlink

menublock[4]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Leasing|#|;"+ // text and URL of first mainlink
"Lease Application|RentalApplication.htm|main;" // text|URL|target of
mainlink

menublock[5]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines|#|;"+ // text and URL of first mainlink
"Satellite Dish Guidelines|Satellitedishguidelines.htm|main;" //
text|URL|target of mainlink

menublock[6]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Water Quality Report|#|;"+ // text and URL of first
mainlink
"Water Quality Report|MREC-WaterQualityReport2001.pdf|main;" //
text|URL|target of fifth sublink

menublock[7]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Vendor List / Important Phone Numbers |#|;"+ //
text and URL of first mainlink
"Vendor List / Important Phone Numbers|MREVendorList.htm|main;" //
text|URL|target of fifth sublink


var menusplit
var urlsplit
var font_weight_main
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="images/minus131.gif"

var plusimg=new Image()
plusimg.src="images/plus131.gif"

var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
showsubmenus=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
plusminusimg=plusimg.src
}

function openandclose(visi) {
showsubmenus[visi]=(-1)*showsubmenus[visi]
var menucontent=""
if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
menucontent+="<table border=0>"
for (i=0;i<=menublock.length-1;i++) {
menusplit=menublock.split(";")
urlsplit=menusplit[8].split("|")
if (menusplit[3]==1) {font_weight_main="<b>"}
if (menusplit[3]==0) {font_weight_main=""}
if (menusplit[7]==1) {font_weight_sub="<b>"}
if (menusplit[7]==0) {font_weight_sub=""}
menucontent+="<tr><td>"


if (menusplit[9].length==0) {
menucontent+="</td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[0]+"
color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
plus_i++
}

if (menusplit[9].length!=0) {
var thismainmenu=i+plus_i
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<img src='"+plusminusimg+"'
border=0></a></td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<font face="+menusplit[0]+"
color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"

if (showsubmenus==1) {
for (ii=9;ii<=menusplit.length-1;ii++) {
urlsplit=menusplit[ii].split("|")
menucontent+="<tr><td></td><td>"
menucontent+=font_weight_sub
menucontent+="<a href="+urlsplit[1]+"
target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[4]+"
color="+menusplit[6]+" size="+menusplit[5]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
}
}
}
}
menucontent+="</table>"
if (document.all) {
menu.innerHTML=menucontent
}
if (document.layers) {
document.menu.document.write(menucontent)
document.menu.document.close()
}
}


// - End of JavaScript - -->
</script>
<style>
A {
text-decoration:none;
}
</style>
<base target="_self">
</head>
<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px; width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>
<html></html>

 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

A suggestion - when you change the subject line of a post within a thread,
that post then comes up as if it were a new thread.<

It does? - doesn't appear that way here.
 
T

Tom Pepper Willett

Well, when you change the subject, drop the Re: and don't have a snippet of
the original post, and people don't save all of their read posts, it appears
that way.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
A suggestion - when you change the subject line of a post within a thread,
that post then comes up as if it were a new thread.<

It does? - doesn't appear that way here.
 
M

Murray

I normally read these forums with OE set to Hide Read Messages. That way a
reply to a post that is well down in the list will show at the top. With
read messages hidden, when a post like this comes in, I have to search by
poster name to find the parent post, mark that as unread, and then things
pop back to the top. It's just a pain, not anything broken, really.
 
M

Murray

Yes - you would have to edit that huge bolus of javascript in the head
(which is ANOTHER reason I hate these menus - way way too high a code to
payoff ratio).

--
Murray
============

BobH said:
Hi Murray,

Thanks for your response. I won't change the subject line again, I didn't
realize it had that behavior.

So, I guess what you're saying is that this thing is running javascript
and
the only way to edit it is to edit the code directly?

Bob

Murray said:
A suggestion - when you change the subject line of a post within a
thread,
that post then comes up as if it were a new thread. Please don't do
that.

Next, your page has invalid code on it -

</html>
<html></html>

Note the redundant <html></html> at the bottom.

Finally, your page has no content (other than a bunch of empty <p> tags)
to
show you in design view -

<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px; width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>

All of the menus are being written to the page dynamically at run time in
the browser. This is but one of the many reasons why I dislike such
all-javascript menus intensely.

--
Murray
============

BobH said:
The following code is cut and pasted directly from the page I
reference.
I
tried creating a new page and pasted the code in and got the same
behavior.
Can someone please tell me what's causing this strange behavior?
Thanks

Bob
===================================================

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">

<title>MRE Documents</title>
<script>
<!-- Beginning of JavaScript -

var menublock=new Array()
var plus_i=0

menublock[0]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Declaration & By-Laws|#|;"+ // text|URL|target of mainlink
"Condo Declaration|CondoDeclaration.htm|main;"+ // text|URL|target of
first sublink
"Condo By-Laws|By-Laws.htm|main;" // text|URL|target of second sublink

menublock[1]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Heat & Weather|#|;"+ // text and URL of first
mainlink
"Heat Guidelines|heat-guidelines.htm|main;"+ // text|URL|target of
mainlink
"Letter to Directors|heatlettertodirectors.htm|main;"+ //
text|URL|target of first sublink
"Letter to Neighbors|heatlettertoneighbors.htm|main;"+ //
text|URL|target of second sublink
"License Agreement|heatlicenseagree.htm|main;"+ // text|URL|target of
third sublink
"Winter Conditions|coldrules.htm|main;" // text|URL|target of fourth
sublink

menublock[2]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines & Regulations|#|;"+ // text and URL of
first mainlink
"Guidelines and Regulations|Guidelines2002.htm|main;" //
text|URL|target
of mainlink

menublock[3]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Memoranda|#|;"+ // text and URL of first mainlink
"Painting Update|mreownerresp081400.htm|main;" // text|URL|target of
mainlink

menublock[4]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Leasing|#|;"+ // text and URL of first mainlink
"Lease Application|RentalApplication.htm|main;" // text|URL|target of
mainlink

menublock[5]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Guidelines|#|;"+ // text and URL of first mainlink
"Satellite Dish Guidelines|Satellitedishguidelines.htm|main;" //
text|URL|target of mainlink

menublock[6]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Water Quality Report|#|;"+ // text and URL of
first
mainlink
"Water Quality Report|MREC-WaterQualityReport2001.pdf|main;" //
text|URL|target of fifth sublink

menublock[7]="Arial;"+ // font mainlink
"3;"+ // fontsize mainlink
"660000;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Arial;"+ // font sublinks
"2;"+ // fontsize sublinks
"008241;"+ // fontcolor sublinks
"1;"+ // fontweight sublinks, 1 means bold, 0 means normal
"Vendor List / Important Phone Numbers |#|;"+ //
text and URL of first mainlink
"Vendor List / Important Phone Numbers|MREVendorList.htm|main;" //
text|URL|target of fifth sublink


var menusplit
var urlsplit
var font_weight_main
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="images/minus131.gif"

var plusimg=new Image()
plusimg.src="images/plus131.gif"

var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
showsubmenus=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
plusminusimg=plusimg.src
}

function openandclose(visi) {
showsubmenus[visi]=(-1)*showsubmenus[visi]
var menucontent=""
if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
menucontent+="<table border=0>"
for (i=0;i<=menublock.length-1;i++) {
menusplit=menublock.split(";")
urlsplit=menusplit[8].split("|")
if (menusplit[3]==1) {font_weight_main="<b>"}
if (menusplit[3]==0) {font_weight_main=""}
if (menusplit[7]==1) {font_weight_sub="<b>"}
if (menusplit[7]==0) {font_weight_sub=""}
menucontent+="<tr><td>"


if (menusplit[9].length==0) {
menucontent+="</td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href="+urlsplit[1]+"
target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[0]+"
color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
plus_i++
}

if (menusplit[9].length!=0) {
var thismainmenu=i+plus_i
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<img src='"+plusminusimg+"'
border=0></a></td>"
menucontent+="<td>"
menucontent+=font_weight_main
menucontent+="<a href='javascript:blush:penandclose("+i+")'>"
menucontent+="<font face="+menusplit[0]+"
color="+menusplit[2]+"
size="+menusplit[1]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"

if (showsubmenus==1) {
for (ii=9;ii<=menusplit.length-1;ii++) {
urlsplit=menusplit[ii].split("|")
menucontent+="<tr><td></td><td>"
menucontent+=font_weight_sub
menucontent+="<a href="+urlsplit[1]+"
target="+urlsplit[2]+">"
menucontent+="<font face="+menusplit[4]+"
color="+menusplit[6]+" size="+menusplit[5]+">"
menucontent+=urlsplit[0]
menucontent+="</font></a></td></tr>"
}
}
}
}
menucontent+="</table>"
if (document.all) {
menu.innerHTML=menucontent
}
if (document.layers) {
document.menu.document.write(menucontent)
document.menu.document.close()
}
}


// - End of JavaScript - -->
</script>
<style>
A {
text-decoration:none;
}
</style>
<base target="_self">
</head>
<body onLoad="openandclose(1000)" background="images/bg1.jpg">
<div id="menu" style="position:absolute;top:21px;left:12px;
width:244px;
height:45px"></div>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

</body>
</html>
<html></html>

 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

OH...now I see.
Have you guys ever tried OE-QuoteFix? It helps a little
 
M

Murray

I tried it and didn't like it. 8(

--
Murray
============

in message OH...now I see.
Have you guys ever tried OE-QuoteFix? It helps a little
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top