"Jason Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Roland M�sl wrote:
> [snip]
> > <input type=image align=absmiddle SRC=pic/button/find_a.png
> >  OnMouseOver=bp("find","c")
> >  OnMouseOut=bp("find","a")
> >  height=24 width=68 border=0 name=find
> >  alt="search and find">
> >
> > So I changed the old javascript against
> >
> > function bp(n,v){
> > document.getElementById(n).src=eval(n+v+".src")}
> >
>
> I don't see an id attribute on your input element.  getElementById does
> just what it says: get an element by its id.  If there's no id it can't
> match.  If IE matches the name attribute, then it is only by a bug in
> that browser.

Thanks, that helped

Instead of name=find, I put now id=find and it works now
with Mozilla and Opera


--
Roland M�sl
http://pege.org Clear targets for a confused civilization
http://BeingFound.com Web Design starts at the search engine



Reply via email to