Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

nd not defined -- FireFox error

Quote Reply
nd not defined -- FireFox error
FireFox 1.0.3
Javascript console shows

"nd is not defined"

And this looks to be wrt overlib.js
onmouseout="if (nd) return nd();
in msgs_list_include.htm

Though it is not giving any non functionality but still it is an error. What could be done to get this error off?

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Apr 23, 2005, 5:50 AM
Quote Reply
Re: [HyperTherm] nd not defined -- FireFox error In reply to
The error should have been fixed in 2.2.4:
Code:
--- gmail/data/templates/brewt/msgs_list_include.htm 2004/02/04 21:34:33 1.27
+++ gmail/data/templates/brewt/msgs_list_include.htm 2004/09/24 19:33:43 1.28
@@ -60,7 +60,7 @@
if msgtrack_status eq 'Draft' or msgtrack_status eq 'Draft Reply' or msgtrack_status eq 'Draft Forward'
%>do=compose-draft<%if msgtrack_draft_html%><%if ie_version >= 5.5 or mozilla_version >= 1.4%>;page=compose_html.htm<%endif%><%endif%><%else%>page=msgs_body.htm;msgs_pos=<%msgs_pos%><%endif
%>"<%if msgs_preview%><%
- if use_overlib%> onmouseover="return overlib('<%overlib_escape($msgs_preview)%>', FGCOLOR, '#F5F5F5', BGCOLOR, '#000000');" onmouseout="return nd();"<%
+ if use_overlib%> onmouseover="if (overlib) return overlib('<%overlib_escape($msgs_preview)%>', FGCOLOR, '#F5F5F5', BGCOLOR, '#000000');" onmouseout="if (nd) return nd();"<%
else%> title="<%msgs_preview%>"<%
endif%><%
endif%>>

Adrian
Quote Reply
Re: [brewt] nd not defined -- FireFox error In reply to
This is what i have :

if use_overlib%> onmouseover="if (overlib) return overlib('<%overlib_escape($msgs_preview)%>', FGCOLOR, '#F5F5F5', BGCOLOR, '#000000');" onmouseout="if (nd) return nd();"<%
else%> title="<%msgs_preview%>"<%
endif%><%
endif%> class="list">

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] nd not defined -- FireFox error In reply to
It seems to happen when you mouseover while it's loading. I'll have to look into it.

Adrian
Quote Reply
Re: [brewt] nd not defined -- FireFox error In reply to
It doesn't seem to do it in the current luna templates, but it's not something you can completely get rid of since the browser still continues to run the mouseovers even during the destruction of the page and the loading of the next page.

I can't remember what exactly what fixed that issue, but the current templates are using:
if (typeof overlib == 'function')
and
if (typeof nd == 'function')
instead of just if(overlib) and if (nd)

And we've also made overlib add a slight delay to the opening of the mouseover by adding:
<script type="text/javascript">
var ol_delay = 50;
</script>

Adrian