<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I do understand what you mean exactly.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>function loadmenu(</FONT></DIV>
<DIV><FONT face=Arial size=2> if (window.unregmenu1)
</FONT></DIV>
<DIV><FONT face=Arial size=2>
return;</FONT></DIV>
<DIV><FONT face=Arial size=2>window.menu1 = new Menu("root",121,16,"Arial,
Verdana, Helvetica,
sans-serif",14,"#000000","#000000","#5D7AB1","#9DB5D1","left","middle",3,0,1000,-5,7,true,true,true,0,true,true); </FONT></DIV>
<DIV><FONT face=Arial size=2><BR> var status1=' asdasd';<BR> var
link="<a class=M
href='/vic4a/modules/visitor/contractsignup.php?visnme="<BR>
+visnme<BR>
+"&mailid="<BR> +mailid<BR> +"&tntid="<BR> +tntid<BR> +"&flag="<BR>
+flag<BR> +"'"<BR>
+"onmouseover='window.status=\"asdasd\" ' "<BR>
+"onmouseout='window.status=\"\" ' "<BR>
+"text-decoration:none target='info' ><font size =2
color=white><b >Contract Sign
Up</b></font></a>"<BR> <BR>menu1.addMenuItem(link);</FONT></DIV>
<DIV><FONT face=Arial size=2>....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here only onmouseout works and onmouseover neither
gives jscript errors nor gives output</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>function Menu(label, mw, mh, fnt, fs, fclr, fhclr,
bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah)
<BR>{<BR> this.version = "020320 [Menu; mm_menu.js]";<BR> this.type =
"Menu";<BR> this.menuWidth = mw;<BR> this.menuItemHeight =
mh;<BR> this.fontSize = fs;<BR> this.fontWeight =
"plain";<BR> this.fontFamily = fnt;<BR> this.fontColor =
fclr;<BR> this.fontColorHilite = fhclr;<BR> this.bgColor =
"#555555";<BR> this.menuBorder =
1;<BR> this.menuBgOpaque=opq;<BR> this.menuItemBorder =
1;<BR> this.menuItemIndent = idt;<BR> this.menuItemBgColor =
bg;<BR> this.menuItemVAlign = valgn;<BR> this.menuItemHAlign =
halgn;<BR> this.menuItemPadding = pad;<BR> this.menuItemSpacing =
space;<BR> this.menuLiteBgColor =
"#ffffff";<BR> this.menuBorderBgColor =
"#777777";<BR> this.menuHiliteBgColor =
bgh;<BR> this.menuContainerBgColor = "#cccccc";<BR> this.childMenuIcon
= "arrows.gif";<BR> this.submenuXOffset = sx;<BR> this.submenuYOffset
= sy;<BR> this.submenuRelativeToItem = srel;<BR> this.vertical =
vert;<BR> this.items = new Array();<BR> this.actions = new
Array();<BR> this.childMenus = new Array();<BR> this.hideOnMouseOut =
true;<BR> this.hideTimeout = to;<BR> this.addMenuItem =
addMenuItem;<BR> this.writeMenus = writeMenus;<BR> this.MM_showMenu =
MM_showMenu;<BR> this.onMenuItemOver =
onMenuItemOver;<BR> this.onMenuItemAction =
onMenuItemAction;<BR> this.hideMenu = hideMenu;<BR> this.hideChildMenu
= hideChildMenu;<BR> if (!window.menus) window.menus = new
Array();<BR> this.label = " " + label;<BR> window.menus[this.label] =
this;<BR> window.menus[window.menus.length] = this;<BR> if
(!window.activeMenus) window.activeMenus = new Array();<BR>}<BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>function addMenuItem(label, action)
{<BR> this.items[this.items.length] =
label;<BR> this.actions[this.actions.length] =
action;<BR>}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for the information.</FONT></DIV>
<DIV><FONT face=Arial size=2>-murugesan</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=LMuchacho@twii.net href="mailto:LMuchacho@twii.net">Muchacho, Laurent
(TWIi London)</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">'[JavaScript List]'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 28, 2003 3:48
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Javascript] How to change
window status</DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>Hi
</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>The
probleme here is not using single or double quote. </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>I
guess the method you calling addMenuItem is part of an object this method will
write the string you put as parameter.</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>into
a the page with document.write or dynamicly into
a div with .innerHTML </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>if
you do something like this </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2><U>examples1</U></FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>var
myString='<a href="linktopage.htm" onmouseover="window.status=\'click to go
there\'">linked page</a>';</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2>document.write (myString);</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2>or</DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2><U>example2</U></FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>var
myString="<a href='linktopage.htm' onmouseover='window.status="click to go
there"'>linked page</a>";</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2>document.write
(myString);</FONT></SPAN></DIV></FONT></SPAN></FONT></SPAN><SPAN
class=765164909-28082003><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>it
work fine but if you look at your code you should not write html with single
quote(example2) but double quote(example1), there you start to confuse
yourself trying to decide which quote to use what I always do is, if your
string contain HTML use single quote(example1) like this no
confusion with your html and if you need to put single quote inside of your
html, you can simply escape them(example1) and like this you had a clear
representation of you quote inside of your string.</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>But
this is not the end in your case this is not garanty to work at all because of
the process you using. When you past string like this throw parameter of
a function you must understand what addMenuItem is doing because when the
code will try to write dynamicly this string into a div or in a page it
might already evaluate the string inside the function and will not accept
the format is reading.</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>My
recomendation will be to convert the addMenuItem method to include
window.status inside of the method because your addMenuItem must have already
an onmouseover inside (to make appear submenu) and you will end up with
something like this </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2>menu.addMenuItem('hrefLabel', '/index1.php', 'status text',
'className')</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2>Sometime you will find easier to convert the method the way
you want it exactly to work instead of trying to hack it. I understand this
might more difficult the just trying to the right quote but you will learn
valuable knowledge and will understand why your string concatenation doesn't
work.</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>Good
luck </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2>Laurent </FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff size=2>ps :
if you really don't understand send the us the code or a link to a page and I
will be happy to help</FONT></SPAN></DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765164909-28082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> murugesan
[mailto:murugesan@hotpop.com]<BR><B>Sent:</B> 28 August 2003
10:43<BR><B>To:</B> [JavaScript List]<BR><B>Subject:</B> Re: [Javascript]
How to change window status<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>I tried this,</FONT></DIV>
<DIV><FONT face=Arial size=2> menu.addMenuItem("<a
class='M' href='/index1.php' style='text-decoration: none' target='info'
onmouseover='window.status="blah-blah-blah"'>Click
here</a>");</FONT></DIV>
<DIV>But it is not correct.</DIV>
<DIV>because the javascript assumes ....' window.status=" as end of
parameter and resulted in error</DIV>
<DIV>I also tried</DIV>
<DIV> var status1="asdasd";</DIV>
<DIV> var menuitem1="<a href='/index1.php' "</DIV>
<DIV>
+"onmouseover='window.status="<BR> +status1<BR> +"
' "</DIV>
<DIV>
+" > Click here</a>"</DIV>
<DIV>
<DIV><FONT face=Arial size=2>
menu.addMenuItem(menuitem1);</FONT></DIV>
<DIV>This time it is just displaying onmouseover in the status bar</DIV>
<DIV>Any solutions</DIV>
<DIV>-murugesan</DIV>
<DIV> </DIV></DIV></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dlovering@gazos.com href="mailto:dlovering@gazos.com">David
Lovering</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 28, 2003 11:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] How to
change window status</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>well, I'm not quite sure what "text" is
supposed to represent, but I do recognize what might be construed as a
syntax anomaly which would (possibly) invalidate the remainer of the
anchor definition. Try something like this --</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>menu.addMenuItem("<a class='M'
href='/index1.php' style='text-decoration: none' target='info'
onmouseover='window.status="blah-blah-blah"'>Click
here</a>");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also, the old precidence rules suggest (but
I've never actually found it to be required) that the outer quotes be the
double quote ("), and the inner quotes be the single ('). Mind you,
I've violated the suggestion hundreds of times, and no one has zapped my
karma yet. However, defining a style (CSS) parameter outside of a
style declaration is generally regarded as a no-no even now.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-- Dave Lovering</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=murugesan@hotpop.com
href="mailto:murugesan@hotpop.com">murugesan</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 27, 2003
10:16 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] How to change
window status</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I have a code</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>menu.addMenuItem("<a class=M
href='/index1.php' text-decoration:none target='info' >Click
here</a>");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now I want to change the window status upon
mouseover on this link.</FONT></DIV>
<DIV><FONT face=Arial size=2>How can I achieve this?</FONT></DIV>
<DIV><FONT face=Arial size=2>i.e I need a valid statement of
form</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>menu.addMenuItem("<a class=M
href='/index1.php' text-decoration:none target='info'
onmouseover=' window.status="text" '>Click
here</a>");</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-murugesan</FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript
mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript
mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BLOCKQUOTE><BR><BR>
<P><B><FONT face=Arial size=2>DISCLAIMER - The preceding e-mail message
(including any attachments) contains information that may be confidential, may
be protected by the attorney-client or other applicable privileges, or may
constitute non-public information. It is intended to be conveyed only to the
designated recipient(s) named above. If you are not an intended recipient of
this message, or have otherwise received it in error, please notify the sender
by replying to this message and then delete all copies of it from your
computer system. Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of this
company.</FONT></B></P>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML>