Let him try something like this: one highly rigid logical conception of scripting <html> <head> <STYLE> .SPAN{font:12pt verdana;color:blue} #cnt1{display:none} </STYLE> <SCRIPT LANGUAGE="JScript"> function showHide() { srcElmnt = event.toElement; if (srcElmnt.className == "SPAN") { cnt1.style.display = "inline"; }else{cnt1.style.display=''} } document.onmouseover = showHide; </script> <body> <SPAN class="SPAN">This is an example of how you can do it, <font id=cnt1 color=red><b> in Internet Explorer, </b></font> with <i>onmouseover</i> event!</SPAN> </body> </html> ----- Original Message ----- From: Steve Blades Sent: Wednesday, June 27, 2001 3:37 PM To: javascript at LaTech.edu Subject: Re: [Javascript] indexing page sections Sorry, <DIV id="test">Content</DIV> Cutter **************** Maybe by using Span or Div Tags? <DIV name="test>Content</DIV> Cutter ***************************************** From: "David Levy" <dlevy at lancer-ins.com> I'd like to, without reloading, have certain sections of text appear or disappear using a switch. In order to do this I thought that if I could name parts of the page in a way that javascript could detect it, I could show or hide that part of the page. Does anyone know if there's a way to assign a variable or object name to a portion or a web page? David. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascriptGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010630/0f8a555b/attachment.htm>