Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: How to add weather widget to homescreen
is a discussion within theiPhone News
forums, a part of theGeneral iPhone
section;Originally Posted by Ale_lock So f'ing sexy! CSS style: oneLine Code: #WeatherContainer{ margin-top:340px; width:100%; color:white; background-color: transparent; height:27px; padding-top:7px; } Now to see if the weather changes since its actually
...-
09-03-2008, 12:16 PM #161
-
09-03-2008, 12:38 PM #162
Is anyone else's iPhone running extremely slow after installing this widget? I've tried soft respring, hard respring, turning it off then back on and even a full reboot. But it just bogs down my phone to where it's not even worth having. It looks great and nobody else seems to be having any problems. Any reason on why this might be happening and what to do about it?
-
09-03-2008, 12:42 PM #163iPhone? More like MyPhone
- Join Date
- Sep 2007
- Location
- NYC
- Posts
- 119
- Thanks
- 12
- Thanked 14 Times in 10 Posts
This area of the file "configureMe.js" is where you dictate how you want the weather displayed, also thanks for reminding me about real feal weather (its displaying proper figures now).Code:// Supplied styles are 'originalBubble', 'myopia', 'iconOnly' and 'split'. // (Add your own to the CSS folder!) var stylesheetWall = 'oneLine' //'originalBubble'|'myopia'|'iconOnly'|'split'|'oneLine'|'taskbar'|'taskbar_city' var stylesheetLock = 'iconOnly' //See above.
As for getting it just about in between your forth line and the dock, edit the oneLine.css file in the "\WeatherWidget.theme\Private\Stylesheets" folder and just modify the margin-top.
Code:#WeatherContainer{ margin-top:340px; width:100%; color:white; background-color: transparent; height:27px; padding-top:7px; }Last edited by Ale_lock; 09-03-2008 at 12:47 PM.
-
09-03-2008, 12:54 PM #164
Thank you! After I posted my question to you, I finally found where to modify this and successfully did so. I deleted the question from my original post, but I guess you already saw it! haha.
Glad to hear your temperature is working properly now!
Just FYI that I personally am not seeing a slow down in anything so far, but if I do, I will come back and post.Last edited by km54291; 09-03-2008 at 01:40 PM. Reason: Automerged Doublepost
-
The Following User Says Thank You to km54291 For This Useful Post:
trevorrawson (09-03-2008)
-
09-03-2008, 01:16 PM #165iPhone? More like MyPhone
- Join Date
- Nov 2007
- Location
- Orlando, FL
- Posts
- 121
- Thanks
- 10
- Thanked 3 Times in 3 Posts
Anyone know how i can move the weather icon to the center of the temp and state? It shows as below. The Weather Icon is located on the bottom left
Here is my oneline.css file as well
Thanks
/* Inspired by Rainmanbk */
#WeatherContainer{
margin-top:340px;
width:100%;
color:white;
background-color: transparent;
height:27px;
padding-top:7px;
}
#TextContainer{
font-size:14px;
font-family: Helvetica;
text-shadow: rgba(0,0,0,0.7) 0 0 2px;
margin:none;
width:320px;
}
#city{
text-transform:capitalize;
padding-left:10px;
}
#TextContainer p{
margin:0;
display:inline;
}
#city, #temp{
}
#temp{
font-weight:bold;
padding-left:5px;
}
#desc{
text-transform:capitalize;
text-align: right;
padding-right:10px;
float:right;
}
#weatherIcon{
height:28px;
width:28px;
position:relative;
margin-top:-21px;
margin-left:100px;Last edited by dmighty; 09-03-2008 at 01:40 PM.
Major credit to the Programmers.
Your efforts makes the IPHONE that much better. Thank You! Without you, There is no Us!!
I believe in beta testing for free and paying for Smooth integrated, Compatible, and functioning Apps.
-
09-03-2008, 01:32 PM #166
hey thas what im trying to do .. to get the ONELINE down like urs so that it wont look like its behind all the icons..
so for that code do i put that in the configureme.Js??
-
09-03-2008, 01:42 PM #167iPhone? More like MyPhone
- Join Date
- Nov 2007
- Location
- Orlando, FL
- Posts
- 121
- Thanks
- 10
- Thanked 3 Times in 3 Posts
Last edited by dmighty; 09-03-2008 at 01:45 PM.
Major credit to the Programmers.
Your efforts makes the IPHONE that much better. Thank You! Without you, There is no Us!!
I believe in beta testing for free and paying for Smooth integrated, Compatible, and functioning Apps.
-
09-03-2008, 01:44 PM #168
inside the configureMe.js file, you need to change the following:
// Supplied styles are 'originalBubble', 'myopia', 'iconOnly' and 'split'.
// (Add your own to the CSS folder!)
var stylesheetWall = 'oneLine' //'originalBubble'|'myopia'|'iconOnly'|'split'|'oneL ine'|'taskbar'|'taskbar_city'
var stylesheetLock = 'oneLine' //See above.
-
09-03-2008, 01:46 PM #169
thanks bro i think i got it.. cheers
it looks great now.. thanks guys..Last edited by aqd84; 09-03-2008 at 01:50 PM.
-
09-03-2008, 01:47 PM #170
try this for oneline.css,except change the color(where yellow is on mine)to whatever you like
#WeatherContainer{
margin-top:433px; <--------all the way at the bottom,if not,try 355
width:100%;
color:yellow; <--------white,red,black(wont show)orange,etc
background-color: rgba(0,0,0,0.00); <----all zeros for clear background
height:27px;
padding-top:7px;
}
Good Luck!Last edited by gafu; 09-03-2008 at 01:49 PM.
-
The Following User Says Thank You to gafu For This Useful Post:
noi80 (09-03-2008)
-
09-03-2008, 02:06 PM #171
-
09-03-2008, 02:08 PM #172iPhone? More like MyPhone
- Join Date
- Nov 2007
- Location
- Orlando, FL
- Posts
- 121
- Thanks
- 10
- Thanked 3 Times in 3 Posts
Thats going to move it completely to the bottom.. I am trying to just move the weather icon, which is currently at the bottom left (behind the phone). I want it to be in the middle of temperature and the weather description (most sunny, etc..) like i have seen others
Thansk
Major credit to the Programmers.
Your efforts makes the IPHONE that much better. Thank You! Without you, There is no Us!!
I believe in beta testing for free and paying for Smooth integrated, Compatible, and functioning Apps.
-
09-03-2008, 02:12 PM #173
I read somewhere in the post that you need WIFI in order to update the temperatures.
Is this true? If it is, as wonderful as this widget is, it is useless to me.
EDIT:
Nevermind. I confirmed it updates through 3G/Edge. Nice Widget!Last edited by noi80; 09-03-2008 at 02:28 PM.
-
09-03-2008, 02:14 PM #174
-
09-03-2008, 02:16 PM #175
#TextContainer{
font-size:15
px;
font-family: Helvetica;
text-shadow: rgba(0,0,0,0.7) 0 0 2px;
margin:none;
width:320px;
}
#city{
text-transform:capitalize;
padding-left:10px;
}
#TextContainer p{
margin:0;
display:inline;
}
#city, #temp{
}
#temp{
font-weight:bold;
padding-left:5px;
}
#desc{
text-transform:capitalize;
text-align: right;
padding-right:10px;
float:right;
}
#weatherIcon{**********<--------------make sure that is what yours says
height:32px;
width:32px;
position:relative;
margin-top:-23px;
margin-left:144px;
}
-
The Following User Says Thank You to gafu For This Useful Post:
dmighty (09-03-2008)
-
09-03-2008, 02:16 PM #176
Anybody know how I can get the temperature up in between the icon and city?
EDIT: FixedLast edited by JRML970; 09-03-2008 at 02:41 PM.
iPhone 4 32GB JB & Unlocked w/ T-Mobile
-
09-03-2008, 02:21 PM #177
I was able to integrate the weather widget with the Time of Day wallpaper changing theme. If anyone wants to try to do that and is comfortable editing .css files, send me a PM and Ill let you know how I did it.
-
09-03-2008, 02:22 PM #178iPhone? More like MyPhone
- Join Date
- Nov 2007
- Location
- Orlando, FL
- Posts
- 121
- Thanks
- 10
- Thanked 3 Times in 3 Posts
-
09-03-2008, 02:42 PM #179iPhone? More like MyPhone
- Join Date
- Jul 2007
- Location
- Mississippi, Gulf Coast
- Posts
- 218
- Thanks
- 10
- Thanked 30 Times in 25 Posts
Ahh
Are you having fun yet 
-
09-03-2008, 02:48 PM #180
youre quite welcomed!




LinkBack URL
About LinkBacks

Reply With Quote
