RE: JavaScript Hell

by Francois de Beer <fbeer(at)sars.gov.za>

 Date:  Wed, 26 Apr 2000 09:11:16 +0200
 To:  "'Ben Ocean'" <beno(at)cnw.com>,
javascript(at)LaTech.edu
 Cc:  hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
hmmmm
Hide the image in a div and then just display it or make it visible...
You can Use:

<div id="heloo2" style="visibility:hidden" >
<p>heloo there</p>
</div>

or

<div id="heloo" style="display:none" >
<p>heloo there again</p>
</div>


Then in your script:

heloo2.style.visibility = "visible"
or
heloo.style.display = "none" 

I did not test this for browser compatibility or the functionality but it
should help a bit.. i hope.

Cheerz
Beer

-----Original Message-----
From: Ben Ocean [mailto:beno(at)cnw.com]
Sent: Wednesday, April 26, 2000 02:50
To: javascript(at)LaTech.edu
Cc: hwg-techniques(at)mail.hwg.org
Subject: JavaScript Hell


Hi all;
This is a plea for help. I have racked my brain for 3 14-hour days straight 
trying to do what I *thought* would be a very simple thing. Admittedly, I 
haven't studied JS and I've been hacking my way through this jungle. (Yes, 
I know, welcome to the world of programming, Virginia.) Okay, when I have 
an image, and the user mouses over said image, I would like *another* image 
to pop up (*not* an ugly JS pop-up window, just a regular image) that has 2 
branches with a linked usemap. Simple, right? Why am I losing sleep? How is 
this done? Your help, as always, is very much appreciated. I am a more
humbled,
BenO

HWG hwg-techniques mailing list archives, maintained by Web Professional Association - IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.