[thelist] Dreamweaver rollovers
Francois Jordaan
francois.jordaan at wheel.co.uk
Mon Jan 20 03:28:01 CST 2003
> At 5:46 AM 1/17/3, Daniel Fascia wrote:
> >I was wondering how robust the macromedia functions are in
> the real world??
> >are they good crossbrowser JS etc??
Well, this is a trivial case, but I recently had to "make a site
accessible", and one of the things that involved was to replace the standard
MM pop-up window behaviour with an accessible equivalent.
So I could replace this:
<><><><><><><><><><><><><><><><><><>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a href="#"
onClick="MM_openBrWindow('home.html','','toolbar=no,location=no,status=no,me
nubar=no,scrollbars=yes,resizable=no,width=800,height=600')"><img
src="i/html.gif" width="242" height="27" alt="HTML version" border="0"
name="html"></a>
<><><><><><><><><><><><><><><><><><>
with this:
<><><><><><><><><><><><><><><><><><>
<a href="home.html" target="_blank"
onClick="window.open(this.href, this.target,
'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,wid
th=800,height=600'); return false;"><img src="i/html.gif" width="242"
height="27" alt="HTML version" border="0"></a>
<><><><><><><><><><><><><><><><><><>
This was partially based on .jeff's article at
http://evolt.org/article/thelist/17/20938/
francois
_____________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.
More information about the thelist
mailing list