[Project_owners] Javascript Q

Amin amin.eft at gmail.com
Sat Feb 3 23:04:59 PST 2007


ok
this code works correctly:


window.addEventListener("*mousemove*", StatusCorrect,false);
function StatusCorrect(e){
       var sStatus = document.getElementById("statusbar-display");
}

but


window.addEventListener("*mouseover*", StatusCorrect,false);
function StatusCorrect(e){
       var sStatus = document.getElementById("statusbar-display");
}

does  not work

On 2/4/07, eric.jung at yahoo.com <eric.jung at yahoo.com> wrote:

>  It looks like your code was clipped. Please re-post.
>
>
>  ----- Original Message ----
> From: Amin <amin.eft at gmail.com>
> To: Mozdev Project Owners List <project_owners at mozdev.org>
> Sent: Saturday, February 3, 2007 3:28:21 PM
> Subject: [Project_owners] Javascript Q
>
> Javascript Q?
>
> i want to get URL of links in page it is possible by :
>
> window.addEventListener("mouse... StatusCorrect,false);
> var sStatus = document.getElementById("statu...
>
> sStatus.label is link URL
>
> but when i want to use this code instead :
>
>
> window.addEventListener("mouse... StatusCorrect,false);
> var sStatus = document.getElementById("statu...
>
> sStatus.label is empty ,i think it is because that mousemove is before
> creating status bar information ,any body know what i must do ?
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070204/3723d491/attachment.html 


More information about the Project_owners mailing list