Hi Klaus,
Well, I gave it my best shot using your instructions but just couldn't
get it to work so I've just implemented the whole thing directly into
the page using your tabs and the slide effect. Not the best solution as
it is too much for one page, but I will continue working on a better
solution once the site is up.
Thanks again for your patience with somebody who's completely new to
this :-)
Klaus Hartl wrote:
Digislick schrieb:
Hi again,
I believe I understood where you told me to put the CSS - inline in
the http://digislick.com/news/events_calendar_example.html page. Is
that correct? If so, I have tried it (deleted the CSS out in all the
files named by month and inserted the CSS in the events calendar
page) and it's not working. I left the body tag in the april.html
file. I either misunderstood you or this isn't the issue that's
affecting it. Am uploading the modified pages now. If you have time
to take a look and check if what I did is what you meant, they will
be there for the next few days while I try and get this worked out.
Once again - do not load HTML with a body tag into an already existing
body. Please strip the monthly pages from all of that and leave:
<div id="holder">...</div>
Then you will have to initialize the MapMaker after the content has
been loaded into the tab, e.g. in the onShow callback.
Therefore, in mapevents_sticky.js remove everything from the line with
the comment /* LOAD SCRIPT */ on and initilize the tabs like:
$('#container-1').tabs({
remote: true,
onShow: mapMaker.init
});
-- Klaus