- Duh, even simpler than that. I forgot the class setting on the body.
> -----Original Message-----
> Sent: Friday, May 02, 2008 3:18 PM
> calendar orBHM work?
> On Fri, May 02, 2008 at 11:21:17AM -0700, Karr, David wrote:
> > I'm stepping through the "Learn YAHOO" book. I'm on the
> BHM chapter.
> > The first example is a simple example using Calendar with BHM. I
> > entered everything for the example carefully, but when I ran the
> > example on Tomcat/Firefox (same behavior with IE6), the calendar
> > showed up unstyled (it looks like a calendar with links for
> the days,
> > but no styling). I also noticed that the BHM functionality didn't
> > appear to be happening. Firebug doesn't present any warnings or
> > errors. I had run Calendar examples earlier successfully
> (that don't use BHM).
> > I then went to the source download for the book and created
> a new page
> > and pasted in the sample code directly and tested that. Exact same
> > behavior. I also tried changing the hardcoded 2.4.1 path to 2.5.1,
> > with no change to the behavior.
> > What am I missing?
> > The following is the page pasted directly from the book
> (but changed
> > to
> > 2.5.1):
> > ---------------
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> > "http://www.w3.org/TR/html4/loose.dtd">
> > <html lang="en">
> > <head>
> > <meta http-equiv="content-type" content="text/html;
> > <title>YUI Browser History Manager Utility Example</title>
> > en
> > t.js"></script>
> > sc
> > ript>
> > ri
> > pt>
> > <link rel="stylesheet" type="text/css"
> > href="yui/build/calendar/assets/skins/sam/calendar.css">
> > <link rel="stylesheet" type="text/css" href="bhmCalendar.css">
> I see you are using yahooapis for the script files, but local
> references to the css. You should make sure that these two
> files exist in the location you have specified (chances are
> you need to change the calendar.css reference to the
> equivalent path on yahooapis).