Thanks Michael,

Well, I tried that and it didnt work. Any idea?
below is the new code:
<script language=javascript>
    function changeText(param) {
        
DynAPI.document.all["textHere"].setHTML(param)
    }
</script>

<table>
    <tr>
         <td><a href="#"><img src="whatever.gif"
onMouseOver="changeText('show different
text')"></a></td>
         <td><div id="textHere"
style="position:relative; left:0px; top:0px;
width:100; height:25px"></div><td>
    </tr>
</table>

Thanks in advance,

Jack

--- Michael Pemberton <[EMAIL PROTECTED]> wrote:
> The img object does not have any native mouse events
> in NS4.  The best thing
> to do is to wrap it in a <a href> tag and give you
> will then be able to use
> mouse events.
> 
> Matt Lam wrote:
> 
> > I just downloaded DynAPI 2.54 and read the
> tutorial
> > and document in the pages. I tried out a few
> things
> > and they worked fine. Later I came across a
> problem
> > now. I have a 1*2 table, what I want is that when
> I
> > mouseover an image in grid[1][1], I want the text
> in
> > grid[1][2] to change.
> >
> > <table>
> >     <tr>
> >         <td><img src="whatever.gif"
> > onMouseOver="changeText('show different
> text')"></td>
> >         <td><div id="textHere"
> > style="position:relative; left:0px; top:0px;
> > width:100; height:25px"></div><td>
> >     </tr>
> > </table>
> >
> > In my javascript
> > <script language=javascript>
> >     function changeText(param) {
> >        
> DynAPI.document.all["textHere"].setHTML(param)
> >     }
> > </script>
> >
> > It works fine in IE5, but It wont work in Netscape
> 4.
> > Any idea?
> >
> > Thanks in advance,
> >
> > Jack
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> >
>
http://lists.sourceforge.net/lists/listinfo/dynapi-help
> 
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
> 
> 
> 
> 
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/dynapi-help


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to