K
K
kAIST2011-03-26 17:17:32
JavaScript
kAIST, 2011-03-26 17:17:32

js not working using dynamicpage.js?

I myself am very poorly familiar with Javascript and other client technologies.
I'm putting together a website from what I can find on the net :)
The site runs on jQuery using dynamicpage.js (template taken from somewhere).
It took one of the pages to make a JavaScript calendar. So here's the problem:
For a direct link, everything works fine: new.photo-kzn.ru/calendar
but if you click on it from another page, JavaScript just doesn't work and the calendar is not displayed
new.photo-kzn.ru/#calendar
other pages are ok...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
YourChief, 2011-03-26
@YourChief

split paths to scripts, you have js/… both there and there, and they are all relative, if it should be the same script for both the main and calendar folders, use absolute paths like /calendar/js/…

K
kAIST, 2011-03-26
@kAIST

Hmm, yes, there are a lot of errors, but the direct link works, the same 42 errors fall out :(

D
DileSoft, 2011-03-27
@DileSoft

The pages are not identical.
On normal there is var DATE_INFO = {
123: {}
};
Not on the hash.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question