Steve,
I have double-checked this, and I’m
also unable to recreate this issue. I’m also not seeing generated source
without the src attribute set. My generated source includes it (when looking at
the YDN example), and I am also using FF 1.5.0.2. Is there any more information
you can provide?
Steven Peterson
Web Developer, Platform Engineering
Yahoo!
From:
ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Cecil Vermule
Sent: Monday, April 24, 2006 10:12
AM
To: ydn-javascript@yahoogroups.com
Subject: Re: [ydn-javascript]
Calendar, Next/Prev Images Not Rendering in Firefor
I have FF 1.5.0.2, and it works fine for me. Be sure your
imports are in the order that is specified and used in the examples, otherwise
you may be trying to utilize the variables before they are declared.
On 4/24/06, Steve
Clason <stevec@...>
wrote:
Hi,
I'm attempting a straightforward implementation of a simple calendar. It
works fine in all browsers I've tested except Firefox. In Firefox
(version 1.5.0.2) the "Previous" and
"Next" images and links don't
render completely. The <img> is there with the right className, but
there is no source attribute.
The generated source code looks like this:
<div class="calheader">
<a href="javascript:cal1.previousMonth()">
<img class="calnavleft">
</a>
April 2006
<a href="javascript:cal1.nextMonth()">
<img class="calnavright">
</a>
</div>
The example at:
http://developer.yahoo.com/yui/calendar/examples/default/index.html
does the same thing on my browser.
The relevant code[1] in calendar.js looks OK to me.
Has anyone encountered this, and (more importantly), found a way around
ths issue? I'd appreciate any help you might offer.
[1](starts at line 2605)
var linkLeft = document.createElement("A");
linkLeft.href = "javascript:" + this.id +
".previousMonth()";
var imgLeft = document.createElement("IMG");
imgLeft.src = this.Options.NAV_ARROW_LEFT;
imgLeft.className = this.Style.CSS_NAV_LEFT;
linkLeft.appendChild(imgLeft);
var linkRight = document.createElement("A");
linkRight.href = "javascript:" + this.id
+ ".nextMonth()";
var imgRight = document.createElement("IMG");
imgRight.src = this.Options.NAV_ARROW_RIGHT;
imgRight.className = this.Style.CSS_NAV_RIGHT;
linkRight.appendChild(imgRight);
--
Steve Clason
Web Design & Development
www.topdogstrategy.com
(303)818-8590
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ydn-javascript/
<*> To unsubscribe from this group, send an email to:
ydn-javascript-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/