Jamit Software Forum
Welcome, Guest. Please login or register.
May 26, 2019, 07:43:16 am

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,527,248 Members
Latest Member: NickiQuint
* 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 3044 times)
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:
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.
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.022 seconds with 17 queries.