Jamit Software Forum
Welcome, Guest. Please login or register.
June 20, 2018, 10:18:52 pm

Login with username, password and session length
Search:     Advanced search
May 27th, 2009 - Jamit Software Launches the forum today!
3,080 Posts in 791 Topics by 1,427,428 Members
Latest Member: AdamGillil
* Home Help Search Login Register
+  Jamit Software Forum
|-+  Jamit Job Board Customers
| |-+  Suggestion Box
| | |-+  Allow theming of the SCW date calendar javascript
« previous next »
Pages: [1] Print
Author Topic: Allow theming of the SCW date calendar javascript  (Read 2695 times)
Tijn
Jammers
Jr. Member
*
Posts: 19


« on: July 30, 2010, 09:18:10 am »

A very ugly style is hardcoded into the scw_js.php data calendar javascript.
It'd be trivial to replace the two big document.writeln's containing the CSS with this:
Code:
document.writeln('<link rel="StyleSheet" type="text/css" href="<?php echo JB_THEME_URL?>scw.css" />');
and include the entire CSS in your favourite theme directory in a file "scw.css".

Perhaps you can do a function instead of the the JB_THEME_URL bit so users who actually like the default style can just leave the scw.css file unchanged in the default theme directory.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.148 seconds with 17 queries.