Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Calendar, Next/Prev Images Not Rendering in Firefor   Message List  
Reply | Forward Message #1019 of 52127 |
RE: [ydn-javascript] Calendar, Next/Prev Images Not Rendering in Firefor

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
Boulder, Colorado, USA
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/







Mon Apr 24, 2006 6:18 pm

y_stevenp
Online Now Online Now
Send Email Send Email

Forward
Message #1019 of 52127 |
Expand Messages Author Sort by Date

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...
Steve Clason
steve_clason
Offline Send Email
Apr 24, 2006
4:56 pm

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...
Cecil Vermule
sandmantothe...
Offline Send Email
Apr 24, 2006
5:12 pm

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...
Steven Peterson
y_stevenp
Online Now Send Email
Apr 24, 2006
6:32 pm

... Thanks to both of you for your help. Apparently I have a corrupt Firefox installation or an extension that's stepping on things. Anyway, my problem is...
Steve Clason
steve_clason
Offline Send Email
Apr 25, 2006
4:01 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help