Jamit Software Forum
Welcome, Guest. Please login or register.
June 10, 2023, 01:29:46 am

Login with username, password and session length
Search:     Advanced search
May 5th, 2010 - Jamit Software Launches the Market!
3,080 Posts in 791 Topics by 2,001,750 Members
Latest Member: Raphael28U
* 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 5358 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.051 seconds with 17 queries.