Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)Header not working with javascript,
Pages: [1]   Go Down
Print
Author Topic: Header not working with javascript,  (Read 254 times)
0 Members and 1 Guest are viewing this topic.
UnleasheD
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: October 02, 2003, 02:29:00 PM »

What I would like to have is a table within the calendar header containing javascript. I know all settings are saved in config.txt and I am editing that file.  I seem to be having a problem using <head> statements in the file. The calendar either strips it or ignores it.  Below is an example.

This doesn't work:

template_preference_default_header=<head><script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script></head><body> blah blah blah

Output = blah blah blah

Attempted a simple include where "file.html" contains all the html needed. It doesn't work either.

template_preference_default_header=<!--include file="file.html"-->  

Output =

I coped the javascript file to the dir and also put in a hard path to the file with no luck.

The header that I would like is the header I use for the entire site.

Site with proper header: http://www.traconline.com
Calendar with inproper header:
http://www.traconline.com/cgi-bin/calendar.pl?calendar=default

Can anyone help please?
Thanks!

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: October 02, 2003, 07:36:00 PM »

See the reply which was posted to your previous question

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: