Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread bagaria.ka...@gmail.com
On Thu, Sep 23, 2010 at 4:41 PM, alan alan wrote: > On Thu, Sep 23, 2010 at 4:24 PM, bagaria.ka...@gmail.com > wrote: > > > >Try out this :- > > > It will not work. "window.event.srcElement" is not available in Firefox! > > Ok i tried this out in chromium and it worked . > -- > "Freedom is

Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread Rajeev J Sebastian
Refer the docs alan. https://developer.mozilla.org/en/DOM/event.target Regards Rajeev J Sebastian On Thu, Sep 23, 2010 at 4:41 PM, alan alan wrote: > On Thu, Sep 23, 2010 at 4:24 PM, bagaria.ka...@gmail.com > wrote: > > > >    Try out this :- > > > It will not work. "window.event.srcElement" i

Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread alan alan
On Thu, Sep 23, 2010 at 4:24 PM, bagaria.ka...@gmail.com wrote: Try out this :- It will not work. "window.event.srcElement" is not available in Firefox! -- "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to th

Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread bagaria.ka...@gmail.com
Try out this :- Welcome function changered(){ window.event.srcElement.style.color="red"; } function changeblue(){ window.event.srcElement.style.color="blue"; } See my color changes! -- Thanks and Regards *Karan Bagaria* *MCA Pre-Final Year*

Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread Rajeev J Sebastian
On Thu, Sep 23, 2010 at 3:09 PM, alan alan wrote: > Thanks. But, in our college, lecturer has started only teaching > JavaScript. Your code is too complex to understand for a newbie! PC' > sin our college lab are dual boot with Ubuntu and Windows. If simple > features like this will not work in Fi

Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread alan alan
Thanks. But, in our college, lecturer has started only teaching JavaScript. Your code is too complex to understand for a newbie! PC' sin our college lab are dual boot with Ubuntu and Windows. If simple features like this will not work in Firefox, students will be forced to restart to windows. --

Re: [fsug-tvm] Change the color of text on mouseover in Firefox using Javascript

2010-09-23 Thread Rajeev J Sebastian
On Thu, Sep 23, 2010 at 7:16 AM, alan alan wrote: > I used this code. But it isn't working. By googling, I get to know > that, there is now winodw.event.srcElement in Firefox. Any thoughts? > How to get this working? Here: http://jsfiddle.net/3d8yR/ Regards Rajeev J Sebastian -- "Freedom is t