Hello folks,
I have a problem which has me stumped. Perhaps it's a very simple solution, perhaps not.
The problem is basically, I have a [tt]onmouseover="stuff"[/tt] which works great in IE. However, in Firefox(2), nothing happens. The line of code that it is pertaining to is:
*NOTE - tt1 is a div layer that consists of css & html. It's [tt]display[/tt] is set to "none" within the css.
(please excuse the sloppiness of my code)
The error console tells me:
"Error: tt1 is not defined
Source File: file://xxxxxxxxxxxx/thispage.htm
Line: 1"
which is highlighting the doctype declaration: [tt]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"[/tt]
I have used the [tt]onmouseover[/tt] to call external things before, but some reason, it dislikes this one, and I cannot figure out why.
I would appreciate it if anyone can help me out or offer me advice, or point me in the direction of some resource(s) that has any nfo on this?
Thanks
________________________________
Top 10 reasons to procrastinate:
1)
I have a problem which has me stumped. Perhaps it's a very simple solution, perhaps not.
The problem is basically, I have a [tt]onmouseover="stuff"[/tt] which works great in IE. However, in Firefox(2), nothing happens. The line of code that it is pertaining to is:
Code:
<div class="adminApprove" onmouseover="this.style.background='lemonchiffon'"
onmouseout="this.style.background='white'"
style="border-top-style:dotted;
border-top-width:1px;
border-top-color:#CCC;">
<span onmouseover="tt1.style.display='block'" onmouseout="tt1.style.display='none'"
class="cName">
<input type="checkbox" /> Company Name Ltd</span>
<span class="cTel">xxxx xxx xxx</span>
<span class="cContact">Mr J Bloggs</span>
</div>
*NOTE - tt1 is a div layer that consists of css & html. It's [tt]display[/tt] is set to "none" within the css.
(please excuse the sloppiness of my code)
The error console tells me:
"Error: tt1 is not defined
Source File: file://xxxxxxxxxxxx/thispage.htm
Line: 1"
which is highlighting the doctype declaration: [tt]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"[/tt]
I have used the [tt]onmouseover[/tt] to call external things before, but some reason, it dislikes this one, and I cannot figure out why.
I would appreciate it if anyone can help me out or offer me advice, or point me in the direction of some resource(s) that has any nfo on this?
Thanks
________________________________
Top 10 reasons to procrastinate:
1)