[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Problems with wml::des::rollover




Hello, I've been using wml to build a medium sized site, and I've
run into a bit of a problem using wml::des::rollover. 

The problem seems to be in some of the javascript it generates. 

After browsing around quite a bit, netscape starts displaying the following
message:

---
JavaScript Error:
http://coffey.nanuc.ualberta.ca/general/,
line 24:

document[imgName] has no properties. 
---

15:<!-- Hiding the code
16:function ro_imgNormal(imgName) {
17:    if (document.images) {
18:        document[imgName].src = eval(imgName + "_n.src");
19:        self.status = '';
20:    }
21:}
22:function ro_imgOver(imgName, descript) {
23:    if (document.images) {
24:        document[imgName].src = eval(imgName + "_o.src");
25:        self.status = descript;
26:    }
27:}
28:// done hiding -->

---

Is this because I'm using the rollover tag wrong? 
Is there something I can do to stop this?
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com