
myminicity-widgets
MyMiniCity Widgets
http://evenrain.com/archives/110
Screenshots
Java Script version
Image version
Parameter
Java Script version
- city: your city name
- width: widget's width (default 165)
- f1: city name font size in pixel (default 14)
- c1: city name font color (without "#", default ffffff)
- bg1: city name background color (without "#", default 9dc55e)
- f2: city data font size in pixel (default 12)
- c2: city data font color (without "#", default 000000)
- bg2: city data background color (without "#", default c9fd79)
- lang: language setting (zhTW, enUS, ja, ru)
- s: if s=1, append "powered by myminicity-widgets"
- m: if m=1, display city news (only for zhTW & ru now)
- tr: if tr=1, wmode = transparent
- tz: time zone of city news (default zhTW:Asia/Taipei, enUS:America/New_York, ja:Asia/Tokyo, ru:Europe/Moscow, change http://www.php.net/manual/en/timezones.php)
- df: date and time format of city news (default zhTW&ja:m/d H:i, enUS&ru:d/m H:i, change http://www.php.net/manual/en/function.date.php)
Image version
- city: your city name
Usage
Please open inc_fun.php and modify HOST_URL to your host. Then put blow codes to where you want this widget displayed.
Java Script version
```
```
Image version
<a href="http://widgets.evenrain.net/myminicity_direct.php?city=yourcity" target="_myminicity"><img src="http://widgets.evenrain.net/myminicity2.php?city=yourcity" width="150" height="150" border="0"></a>
Change Log
- 2008.01.27 Thanks We4You for Russian translating
- 2008.01.29 Add two parameters, tz and df
Comments, Suggestions, Feedback
Please send comments to me via email, and post issues to the issue tracking database.