cloudy

Author Topic: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin  (Read 18715 times)

0 Members and 1 Guest are viewing this topic.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #30 on: March 10, 2008, 03:06:06 AM »
Hmm.. maybe I'm using the wrong URL
http://www.carmosaic.com/weather/scripts/css-theme-switcher.zip

Still has no 'icetea' CSS in it and latest file updates are on 8-Mar-2008 ?!?

I just tested the download and it is working.
The icetea css files are the only ones with a Mar 9 date, the others are unchanged.
I forgot to increment the version number but include-style-switcher.php is updated also

To upgrade from vers 1.03: just replace all the css files (or just the icetea ones) and the
include-style-switcher.php

I have been busy programing a new feature for the style editor. I can now rebuild all the styles with one click. If you or I ever need to make a core change to the master css set, it is easy  :D  8)

I plan on making a few more styles for the package but that might be a few days, I have to work on taxes.

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #31 on: March 10, 2008, 03:35:17 AM »
Houston, we have lift-off!   :lol:

Thanks Mike ... I've updated the distribution .zip files to V1.07 by including your "Iced Tea" Style and the updated include-style-changer.php

I'm looking forward to more great Styles from the (now famous) Challis-Works  :D

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline munrobaggins

  • Posts: 1,969
  • 38 mls NE Inverness UK
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #32 on: March 10, 2008, 06:25:55 PM »
Hi Mike...I got back from just a few days away and the templates/colour switcher etc., have all been updated. 8) 8)...I have downloaded all and followed the excellent instructions...and...hey ho..success  :D...You can add my websiteto your list of those using the windrose and colour plugin...Your work is very much appreciated.....thanks  :D :D

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #33 on: March 10, 2008, 11:08:43 PM »
Version: 1.04  10-Mar-2008
Added Black Theme
(dark/light style compatibility fix for new Black theme) css div located in menubar.php changed from
<div style="margin-left: 5px">
to
<div class="thisPage" style="margin-left: 5px; font-weight: normal;">
refer to step 6) of 'How To Install' section in the README.txt to see how the change looks when installed properly.

To upgrade from any older version to this version 1.04 or higher,
The images are changed to PNG for transparency compatibility with the Black theme (edit ajaxWDwx.js and ajax-dashboard.php file and there is a slight change to menubar.php so the style switcher text can change from black to white on the black theme.

make a div change in menubar.php, then perform step 3 and step 8 from the of 'How To Install' section in the README.txt to change the images to PNG,
then replace all the css files and the
include-style-switcher.php

step 3 and step 8 from the of 'How To Install' section:

Step 3: Upload PNG windrose images
Copy all the style neutral/transparent windrose image files
  from the unzipped folder 'ajax-images/' to the 'ajax-images/'
  folder on your web server where you have your Carterlake/AJAX/PHP
  Template web site running. If your FTP program asks to Overwrite, click 'YES'

Step 8: Optional but recommended for the windrose images to look the best on the dark styles like Black or Silver...
Transparent Gif images are less compatible with different contrasting background colors and the edges can look rough.
The PNG files will look better on Black or dark backgrounds.

Edit the ajaxWDwx.js file and change the following settings from gif to png:
change ...
var wrType   = '.gif';
to...
var wrType   = '.png';

change ...
var wrCalm   = 'wr-calm.gif';
to ...
var wrCalm   = 'wr-calm.png';

Edit the ajax-dashboard.php file and change the following settings from gif to png:
change ...
$wrType   = '.gif';
to...
$wrType   = '.png';

change ...
$wrCalm   = 'wr-calm.gif';
to ...
$wrCalm   = 'wr-calm.png';

Upload the ajaxWDwx.js and ajax-dashboard.php file to your web server where you have your Carterlake/AJAX/PHP
  Template web site running.

Live Demo: http://www.642weather.com/weather/template/
Download: http://www.642weather.com/weather/scripts/css-theme-switcher.zip

« Last Edit: October 28, 2008, 06:54:18 PM by MCHALLIS »

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #34 on: March 11, 2008, 04:43:24 AM »

Version: 1.05  10-Mar-2008
Added 7 more Themes
To upgrade from version 1.04 just replace all the css files and the
include-style-switcher.php

This will be the final version for awhile unless there are any bugs that show up.



Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #35 on: March 11, 2008, 01:54:25 PM »
Thanks Mike!

I've added them all to the distribution .zip files for Canada, USA, World templates.

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #36 on: March 11, 2008, 03:01:25 PM »
Thanks Mike!

I've added them all to the distribution .zip files for Canada, USA, World templates.

Best regards,
Ken

Ken, did you merge the changes from version 1.04 (look in the readme.txt)?
The images are changed to PNG for transparency compatibility with the Black theme (edit ajaxWDwx.js and ajax-dashboard.php file and there is a slight change to menubar.php so the style switcher text can change from black to white on the black theme.

« Last Edit: March 11, 2008, 03:03:10 PM by MCHALLIS »

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #37 on: March 11, 2008, 03:13:13 PM »
Oops...  :oops:  #-o no, I hadn't done that, but am doing that now.. thanks for the heads-up!
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #38 on: March 11, 2008, 03:25:16 PM »
If anyone uses this style package and also uses WDL (Weather Display Live)
http://www.weather-display.com/wdlive.php

You should change the SWFObject so it is not transparent, otherwise the Black theme will washout all the text in the wdl console with a black background.

All you have to do is edit the html of your live page and comment this line with 2 slashes, like this:

 //so.addParam("wmode", "transparent"); 


Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #39 on: March 11, 2008, 04:08:28 PM »
I've put the updates in.. also did a rev of the ajax-dashboard.php to add class="data1" to the min/max temp and forecast icons so they'll track colors with the style changes.

Version 1.09 - 11-Mar-2008 of the distribution .zip files:
updated *.css and include-style-changes.php for 8 new Themes from Mike Challis (his version 1.05) -
changed menubar.php, ajaxWDwx.js for .png windroses,
updated ajax-dashboard.php for better look with dark styles

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline Zalmor

  • Posts: 550
  • Erin, NY
    • Zalmors' corner of the Web
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #40 on: March 15, 2008, 10:30:59 PM »
Version: 1.05  10-Mar-2008
Added 7 more Themes
Any chance of getting a Theme made based on the CL templates? The Green looks lighter than the CL template colors.
Michael A

Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, and APC

Offline Gregal

  • Posts: 152
  • PA / USA
    • Allshouse_Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #41 on: March 15, 2008, 10:51:52 PM »
Great work guys  :D :D :D

I just launched the ajax version and then saw this update so I made some quick changes.

It works great.

Greg

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #42 on: March 15, 2008, 11:01:41 PM »
Any chance of getting a Theme made based on the CL templates? The Green looks lighter than the CL template colors.

I do not know if this will make into the distro, but here it is in a zip file. If you open the zip file and read the readme.txt it tells how to add a new style to your site. You can add this one as a new style, or replace it as the green, easy.
Using the Style Editor you can edit or make new styles in minutes, this one only took me 5 minutes.  8)

Offline Zalmor

  • Posts: 550
  • Erin, NY
    • Zalmors' corner of the Web
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #43 on: March 16, 2008, 05:38:58 PM »
I do not know if this will make into the distro, but here it is in a zip file. If you open the zip file and read the readme.txt it tells how to add a new style to your site. You can add this one as a new style, or replace it as the green, easy.
Using the Style Editor you can edit or make new styles in minutes, this one only took me 5 minutes.  8)
Just put this in today, thanks.  I've noticed on some of the theme colors (ie: black, blue), there's a 1/4" gap so to speak on the top and bottom of the page.  Is this normal while others don't?

New template : http://southerin-ny.org/wxindex.php
Old template  : http://southerin-ny.org/wx.php
« Last Edit: March 16, 2008, 07:03:06 PM by Zalmor »
Michael A

Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, and APC

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #44 on: March 16, 2008, 07:53:58 PM »
I've noticed on some of the theme colors (ie: black, blue), there's a 1/4" gap so to speak on the top and bottom of the page.  Is this normal while others don't?


It seems you have a mix of old and new templates. I do not know why.
Did you get the CSS files from the latest download here?
http://saratoga-weather.org/template/install.php

Or you can get the latest from this zip file:
http://www.642weather.com/weather/scripts/css-theme-switcher.zip



« Last Edit: October 28, 2008, 06:55:00 PM by MCHALLIS »

 

cumulus