I would like the box to remain visible until the user clicks anywhere on the page, and then disappear. So far, no luck: the box appears onClick, then nothing I do closes it.
The site isn't yet posted on the web, unfortunately--maybe by the end of the day or tomorrow. As such, I've included the relevant code bits below. I think I'm missing something stupid ...
Code: Select all
with(feature=new mm_style()){
offcolor="#000000";
offbgcolor="#FFFFFF";
oncolor="#000000";
onbgcolor="#FFFFFF";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
padding=3;
fontsize=12;
fontstyle="normal";
fontfamily="Arial, Helvetica";
align="center";
}
Code: Select all
with(milonic=new menuname("f_hme_prods")){
style=feature;
itemwidth=200;
keepalive = 1;
closeonclick = 1;
aI("text=<table border=\"0\" cellpadding=\"0\" cellpadding=\"0\"><tr><td bgcolor=\"#000066\"><table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" width=\"100%\"><tr><td class=\"textRow\"><img src=\"images/end.gif\" width=\"10\" height=\"10\"> The products above are generated randomly from the Product Pages. Refresh the page to see.</td></tr></table></td></tr></table>;");
}
Code: Select all
<img src="images/feature.gif" width="66" height="15" alt="Click!" name="f_hme_prods" border="0" onClick="popup('f_hme_prods', 1);" onMouseOver="MM_swapImage('f_hme_prods','','images/feature_ovr.gif',1);" onMouseOut="popdown();MM_swapImgRestore();">
-Daniel