cloudy

Author Topic: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin  (Read 18687 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
Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« on: March 02, 2008, 09:49:55 PM »
I made a Weather Display/PHP/AJAX Website Template - Color Theme Switcher Plugin for the new templates Ken released.

03/07/08 The Color Theme Switcher is officially launched

03/08/08 The Color Theme Switcher Plugin is now included in the Weather Display/PHP/AJAX Website Template Set.

03/10/08 The Color Theme Switcher version 1.05 now has 16 themes and they have also been added to the Weather Display/PHP/AJAX Website Template Set by Ken True

Theme switcher css files updated today:

update your style switcher CSS files:

Download:                
www.642weather.com/weather/scripts/css-theme-switcher.zip

Version: 1.23  27-Jun-2009
- removed a css hack for IE7 compatibility because it basically caused another IE7 problem.
removed clear:right from main-copy and main-copy-dark
- It is suggested that if you want to use IE, upgrade to IE8, it has many improvements.
To upgrade from vers 1.22: just replace all the css files from this zip file to your server

The Color Theme Switcher Plugin is packaged with 16 style themes of many colors of both narrow and wide layouts.
You can install it with just one include file, some included theme css files, and only a few lines of code to add.
It is really easy to install, only 5 minutes  :D :)

I programmed it from scratch, took about 20 hours.

This plugin for the allows your web site users to select a color theme when they visit your weather site. Look for the "Style Options" on the menu on the left. When you select a style, it saves the setting in a cookie, so if you come back another time, the same style will be shown again.

Download the plugin packaged with 16 style sets of many colors in both wide and narrow layouts.
http://www.642weather.com/weather/scripts/css-theme-switcher.zip
A readme.txt is included, look for the instructions inside, ask any questions here.

See a live demo here:
Weather Display/PHP/AJAX Website Template - Color Theme Switcher Plugin
http://www.642weather.com/weather/template/index.php

Post here your comments, praises, and help requests, thanks.

These other scripts I made also complement the Weather Display/PHP/AJAX Website Templates:

Weather Display/PHP/AJAX Website Template Set - Style Editor
http://www.642weather.com/weather/template/style-edit.php

Wind Direction Graphics Generator
http://www.642weather.com/weather/scripts-wind-graphics.php

« Last Edit: June 27, 2009, 04:26:29 PM by MCHALLIS »

Offline saratogaWX

  • Posts: 4,556
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake / AJax / PHP Template Color Theme Switcher
« Reply #1 on: March 02, 2008, 10:07:55 PM »
My comment:  Very Cool!

What a great idea Mike! 

Let me know when you finalize it and I'll add the link on the installation page.

Malleable websites.. what a concept!

Best regards,
Ken
« Last Edit: March 03, 2008, 03:27:50 AM by ktrue »
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,056
  • Stronghurst,IL USA
    • Burgus Computers
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher
« Reply #2 on: March 03, 2008, 12:04:52 AM »
Looks good

Mark
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 21,997
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher
« Reply #3 on: March 03, 2008, 12:47:55 AM »
Wow, another good one  =D>

The smart folks on this forum have really adanced the "state of the art" in weather website design.

Offline gateway2capecod

  • Posts: 1,763
  • West Wareham, Ma. USA
    • West Wareham, Ma. Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher
« Reply #4 on: March 03, 2008, 12:59:00 AM »
Hello Mike...

Pretty Amazing!! 


..chris

Offline BfdWx

  • Posts: 1,504
  • Branford Connecticut
    • Branford Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher
« Reply #5 on: March 03, 2008, 01:03:10 AM »
Jeeeezzzzz, how do you guys do this?

How about black Mike?


Excellent work and so kind of you to share!

Jack

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher
« Reply #6 on: March 03, 2008, 01:22:32 AM »
This is great! And thank you to all the hard work everyone contributes to us non-programmer types.  :wink:

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 #7 on: March 07, 2008, 04:16:25 PM »
The Color Theme Switcher is officially launched

Download the plugin packaged with 16 style sets of many colors in both wide and narrow layouts.
http://www.642weather.com/weather/scripts/css-theme-switcher.zip

A readme.txt is included, look for the instructions inside, ask any questions here.

See a live demo here:
Weather Display/PHP/AJAX Website Template - Color Theme Switcher Plugin
http://www.642weather.com/weather/template/index.php

There are two other tools I made to complement the Weather Display/PHP/AJAX Website Templates:

Weather Display/PHP/AJAX Website Template - Style Editor
http://www.642weather.com/weather/template/style-edit.php

Wind Direction Graphics Generator
http://www.642weather.com/weather/scripts-wind-graphics.php




« Last Edit: October 28, 2008, 06:52:03 PM by MCHALLIS »

Offline Bigbaywx

  • Posts: 132
  • Big Bay, Michigan
    • Big Bay, Michigan Local Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #8 on: March 07, 2008, 06:12:08 PM »
It's looking pretty good on my end and very easy to install.  Thanks for all your hard work!!

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 #9 on: March 07, 2008, 10:53:33 PM »
I just added a new Silver Theme, look at the demo and tell me what you think.
http://www.642weather.com/weather/template/index.php

Select the silver theme on the menu on the left.

New Version: 1.01  07-Mar-2008
added silver theme,
fixed menu background color for all wide css themes.
To upgrade from vers 1.00: just replace all the css files and the
include-style-switcher.php from this zip file

http://www.642weather.com/weather/scripts/css-theme-switcher.zip

« Last Edit: October 28, 2008, 06:52:30 PM by MCHALLIS »

Offline saratogaWX

  • Posts: 4,556
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #10 on: March 07, 2008, 11:07:01 PM »
I just added a new Silver Theme, look at the demo and tell me what you think.
http://www.carmosaic.com/weather/template/index.php

Select the silver theme on the menu on the left.

New Version: 1.01  07-Mar-2008
added silver theme,
fixed menu background color for all wide css themes.
To upgrade from vers 1.00: just replace all the css files and the
include-style-switcher.php from this zip file

http://www.carmosaic.com/weather/scripts/css-theme-switcher.zip


Very sleek!  Thanks for the new Silver theme.   I'm adding it to the distribution .zips for the templates which should be ready this evening.

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

Offline SkyBoy

  • Posts: 48
  • San Diego, Ca.
    • Mission Trails Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #11 on: March 08, 2008, 04:52:55 PM »
Got the color theme running in San Diego.

www.wx4mt.com

Great instructions ... the setup was easy.

Nice!   :D/

John
John

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 #12 on: March 08, 2008, 05:14:55 PM »
Got the color theme running in San Diego.

www.wx4mt.com

Great instructions ... the setup was easy.

Nice!   :D/

John

John,
Nice silver theme.  :)
You did not install the included style neutral windrose image set, did you not like them?

I have noticed something I would like to fix with the template css files and I want to ask Ken and everybody before I made the change.
I can tighten up the menu link spacing allowing more links in a tighter area.
For a sample of what I am talking about compare John's site to my site menu spacing, see how I have more links in less vertical pixel area?
http://www.wx4mt.com
http://www.642weather.com/weather/index.php

I would also like to make the #main-copy h1 text not italic, see here the big words that say "Records and Stats": http://www.wx4mt.com/wxgraphs.php
sorry, I just do not like italic very much.

Would you guys like me to integrate these changes into the Color Theme Switcher Plugin style sets?
« Last Edit: October 28, 2008, 06:52:54 PM by MCHALLIS »

Offline Goldseeker

  • Posts: 146
  • Guernsey, Channel Islands
    • Guernsey Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #13 on: March 08, 2008, 06:15:17 PM »
Hi

Thanks for a great plugin however I have one problem all ok in IE but in Firefox my WU forecast does not line up with dashboard.

http://www.gyweather.com/Newweb/wxindex.php

Thanks

Tony

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 #14 on: March 08, 2008, 06:38:11 PM »
Hi

Thanks for a great plugin however I have one problem all ok in IE but in Firefox my WU forecast does not line up with dashboard.

http://www.gyweather.com/Newweb/wxindex.php

Thanks

Tony

Tony, It is an issue that only happens with the wide style setting. It has to do with the css for ajaxdashboard interfering with the left sidebar menu when the sidebar is not as tall in vertical pixels. the ajaxdashbpard and the wu forecast are separate tables, but they are sharing the same style of ajaxdashboard. I do not know the fix yet am researching... stay tuned.