File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Help, lunarcal.js Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Help, lunarcal.js" Watch "Help, lunarcal.js" New topic
Author

Help, lunarcal.js

Elisabeth Barton
Greenhorn

Joined: Nov 16, 2011
Posts: 3
I'm working on a project from a book called new perspectives javascript by patrick carey.
It's been a pain in the butt working with this book in my tech class and I'm completely stuck on this one js file that I have to use in order for it to show a lunar calendar.



I can't figure out that problem please help!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

What is "that problem"?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Elisabeth Barton
Greenhorn

Joined: Nov 16, 2011
Posts: 3
Well when I bring up the web page it isn't showing the layout for the calendar nor is it showing the moon phases for the month. So far all its showing is this...

November 15, 2011
>>>>>>>>
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
undefined
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

Have you nailed down the first place where things aren't happening along the lines that you expect them to?

P.S. Writing code without proper indentation is a recipe for disaster. It's too easy to get nesting wrong. The first things I'd do is fix up the code to use conventional indentation.
Gautam Velpula
Greenhorn

Joined: Aug 04, 2008
Posts: 13


What does the stylesheet look like?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help, lunarcal.js