User Tag List

  1. Bulldog5278's Avatar
    Hi a couple of questions,
    Firstly:why won't my city move?i have adjusted the left px and text-align px it just won't move right?

    Secondly:is there an option where I can adjust one setting so that it will set all containers the same?
    Tia👍
    2013-12-17 06:35 PM
  2. Marty McFly's Avatar
    Hi a couple of questions,
    Firstly:why won't my city move?i have adjusted the left px and text-align px it just won't move right?

    Secondly:is there an option where I can adjust one setting so that it will set all containers the same?
    Tia��
    The 'City' issue could be this line in the UniAW.js file overriding anything you are doing in the CSS file:

    document.getElementById("city").style.left = "0px";

    As far as moving everything at once, if I understand correctly, you can put everything in the same container within your HTML file. Then it's just a matter of adjusting the container within the CSS file.

    Hope that helps. Sorry if that's not what you were asking
    2013-12-17 06:42 PM
  3. Bulldog5278's Avatar
    Can I remove this code?
    document.getElementById("city").style.left = "0px";
    2013-12-17 06:44 PM
  4. Marty McFly's Avatar
    Can I remove this code?
    document.getElementById("city").style.left = "0px";
    Yep, you sure can
    2013-12-17 06:46 PM
  5. Bulldog5278's Avatar
    Excellent news👍just one more question lol I believe there is a way to adjust weather images without the need to crop them all?tia
    2013-12-17 06:48 PM
  6. Marty McFly's Avatar
    Excellent news��just one more question lol I believe there is a way to adjust weather images without the need to crop them all?tia
    Do you mean the full screen weather walls? If so, you can adjust the size manually in the CSS file. Look for #fullScreenWeatherWalls

    I often found that I was not able to use more than one custom font with @font-face, still don't know why.
    Anyway I found this website, which created css font-face entries and the according fonts types from all the fonts I wanted to use. Below is an example of the created font-face entry
    Code:
    @font-face {
        font-family: 'aristocrat_sfregular';
        src: url('custom/cali-webfont.eot');
        src: url('custom/cali-webfont.eot?#iefix') format('embedded-opentype'),
             url('custom/cali-webfont.woff') format('woff'),
             url('custom/cali-webfont.ttf') format('truetype'),
             url('custom/cali-webfont.svg#aristocrat_sfregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    I was amazed to see the huge variety of font formats created and noticed that iOS is not only fixed to ttf fonts. However, now I can use as many custom fonts as I want.
    This is certainly something to have a look at and worth a bookmark.
    Thanks Ras. You always take things to the next level - I love it!
    2013-12-18 01:55 AM
  7. nateD's Avatar
    Excellent news👍just one more question lol I believe there is a way to adjust weather images without the need to crop them all?tia
    Just adjust the width and height of the #fullScreenWeatherWalls in the CSS... But manually cropping them is better in some cases because the images will end up looking sh1t if you "squash" them too much..
    2013-12-18 03:58 AM
  8. King_O_Hill's Avatar
    Just adjust the width and height of the #fullScreenWeatherWalls in the CSS... But manually cropping them is better in some cases because the images will end up looking sh1t if you "squash" them too much..
    Could you just use a mask to limit the viewing area?

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-12-18 04:07 AM
  9. nateD's Avatar
    Could you just use a mask to limit the viewing area?
    For sure bro, definitely my prefered method in most cases, but if i was making a landscape orientated mod(ie. the classic window style) I might wanna use certain parts of different fullscreen pics(ie. the horizon) so I'd rather manually trim them...
    Speaking of making mods...i'm working on another weird one ATM..kinda wanna show screenies but not just yet lol! In my imagination it looks awesome but the reality is still catching up
    2013-12-18 05:27 AM
  10. mcooper's Avatar
    I'm sure for some this is old news but I just converted all my WB lock screen themes into Cydgets using June's instructions. It was not at all difficult.

    http://cydgets.blogspot.com/
    As long as there's hate in your heart, there'll be hate in the world. You can't fight for peace and you cannot capture freedom.
    2013-12-18 05:44 AM
  11. Platini2000's Avatar
    I just read this.
    My sincere condolences Steph.
    Stay strong.
    2013-12-18 12:10 PM
  12. NewD's Avatar
    I'm sure for some this is old news but I just converted all my WB lock screen themes into Cydgets using June's instructions. It was not at all difficult.

    http://cydgets.blogspot.com/
    Cool! But please remind me again of the advantage of this? I run all my Lockscreen widgets in LockHTML now rather than WB which allows me to change them with no Respring .. But what additional advantages would I have with Cydget?
    2013-12-18 02:16 PM
  13. mcooper's Avatar
    Cool! But please remind me again of the advantage of this? I run all my Lockscreen widgets in LockHTML now rather than WB which allows me to change them with no Respring .. But what additional advantages would I have with Cydget?
    I don't know if there are any advantages or disadvantages. I'm sure you could find many of both depending on who you ask I haven't used LockHTML much. I've used Cydialer for quite some time, it and quick reply with Bite are 2 things I'm not willing to give up. So I figure, if I'm going to use Cydget no matter what, and the fact that it is easy to do, I might as well convert my LS themes. Just wanted to let people know that it's fairly simple and it's worth checking out.
    As long as there's hate in your heart, there'll be hate in the world. You can't fight for peace and you cannot capture freedom.
    2013-12-18 04:05 PM
  14. NewD's Avatar
    Thanks, Mcooper. Just didn't know if there were any specific advantages..
    2013-12-18 05:22 PM
  15. rasputin007's Avatar
    Cool! But please remind me again of the advantage of this? I run all my Lockscreen widgets in LockHTML now rather than WB which allows me to change them with no Respring .. But what additional advantages would I have with Cydget?
    1.) the simplest conversion from a Winterboard LS-theme to a cydget is adding an Info.plist file. Done! Honestly it can be that simple.
    2.) you also have the ability to change the LS-theme (cydget), just press the Home button to cycle through all the LS-theme-cydgets you have, no respring, instant. In principle same system as a playlist.
    3.) you still can have Winterboard LS-theme with cydgets. The cydget "AnyView", which comes with the cydget package, is a "dummy" cydget which allows you to see Winterboard LS-theme. Hint: copy that "AnyView" folder and paste it back as "WB1", then "WB2" ....... (don't forget to adjust the Info.plist file in each new WBx folder!!!). Now you can have a few Winterboard LS-theme views in your cydget playlist. Lets say you have 10 cydget LS-themes, now you can have a cydget playlist of: cydget, cydget, Winterboard, cydget,cydget, Winterboard, cydget, cydget, cydget, Winterboard..... Each Home button press skips to the next item in the cydget playlist.
    4.) HTML pages in cydget can run geolocation javascript!!!!!!! NO MORE WidgetWeather, MyLocation or any other "third party" tweak to get GPS coordinates. Because the cydget runs the code each time you open it, the GPS coordinates and the weather info are up-to-date, no more refresh timer etc.

    I am very happy with running cydget on my LS.
    Nothing is impossible only miracles take a bit longer!
    2013-12-18 05:23 PM
  16. NewD's Avatar
    1.) the simplest conversion from a Winterboard LS-theme to a cydget is adding an Info.plist file. Done! Honestly it can be that simple.
    2.) you also have the ability to change the LS-theme (cydget), just press the Home button to cycle through all the LS-theme-cydgets you have, no respring, instant. In principle same system as a playlist.
    3.) you still can have Winterboard LS-theme with cydgets. The cydget "AnyView", which comes with the cydget package, is a "dummy" cydget which allows you to see Winterboard LS-theme. Hint: copy that "AnyView" folder and paste it back as "WB1", then "WB2" ....... (don't forget to adjust the Info.plist file in each new WBx folder!!!). Now you can have a few Winterboard LS-theme views in your cydget playlist. Lets say you have 10 cydget LS-themes, now you can have a cydget playlist of: cydget, cydget, Winterboard, cydget,cydget, Winterboard, cydget, cydget, cydget, Winterboard..... Each Home button press skips to the next item in the cydget playlist.
    4.) HTML pages in cydget can run geolocation javascript!!!!!!! NO MORE WidgetWeather, MyLocation or any other "third party" tweak to get GPS coordinates. Because the cydget runs the code each time you open it, the GPS coordinates and the weather info are up-to-date, no more refresh timer etc.

    I am very happy with running cydget on my LS.
    Can you share the geolocation code in combo with some JSON (like Google - is what I bet you use) that allows the auto acquire of coordinates? I'd like to play with it and adapt it for my uses too, Ras. My guess is if you wanted a continuous updating of geolocation, like when traveling around.. You'd have to have a tweak that lets your LockScreen stay open for more than a minute or so... I guess 20 second Lockscreen can do that... So could you share the code that 'replaces' Widget Weather calls? Thanks..
    2013-12-18 05:28 PM
  17. rasputin007's Avatar
    Have a look at THIS. Pick it apart*.

    Code:
    function getLocation(){
    
       if(navigator.geolocation){
         
          navigator.geolocation.getCurrentPosition();
    	  var latitude = position.coords.latitude;
      	  var longitude = position.coords.longitude;
       }else{
          alert("Sorry, browser does not support geolocation!");
       }
    }
    I use Lockscreen Dim Delay, free tweak from Cydia to have the lockscreen stay on for 90 seconds.
    I don't need constant GPS monitoring. I have the MYO2-cydget on top of my "cydget playlist", so when I activate the lockscreen it fetches my current latitude and longitude and the weather for this location, takes about a couple of seconds - depending on the signal strength. That's all I need. Press the home button and I get the 10 day forecast for this location and press the home button again (third item in cydget playlist) and I get Google Maps for this location. The last cydget playlist item is a Winterboard LS-Theme and when I press the home button again I am back at the top of my cydget playlist, which is MYO2-cydget, which then fetches the GPS coordinates and the weather for that location again. You see, always up-to-date and no battery eating GPS monitoring required.

    * maybe not the best example, as this is a database driven cydget, it saves the GPS coorinates to a database and the following 2 cydgets can use these GPS coordinates as well.
    Also requires free API keys from WorldWeatherOnline and Weather Underground, to give me a choice of 3 weather services (third one is Yahoo), just to compare what each is saying.
    Last edited by rasputin007; 2013-12-18 at 06:03 PM. Reason: added comment
    Nothing is impossible only miracles take a bit longer!
    2013-12-18 05:42 PM
  18. NewD's Avatar
    Have a look at THIS. Pick it apart*.

    Code:
    function getLocation(){
    
       if(navigator.geolocation){
         
          navigator.geolocation.getCurrentPosition();
    	  var latitude = position.coords.latitude;
      	  var longitude = position.coords.longitude;
       }else{
          alert("Sorry, browser does not support geolocation!");
       }
    }
    I use Lockscreen Dim Delay, free tweak from Cydia to have the lockscreen stay on for 90 seconds.
    I don't need constant GPS monitoring. I have the MYO2-cydget on top of my "cydget playlist", so when I activate the lockscreen it fetches my current latitude and longitude and the weather for this location, takes about a couple of seconds - depending on the signal strength. That's all I need. Press the home button and I get the 10 day forecast for this location and press the home button again (third item in cydget playlist) and I get Google Maps for this location. The last cydget playlist item is a Winterboard LS-Theme and when I press the home button again I am back at the top of my cydget playlist, which is MYO2-cydget, which then fetches the GPS coordinates and the weather for that location again. You see, always up-to-date and no battery eating GPS monitoring required.

    * maybe not the best example, as this is a database driven cydget, it saves the GPS coorinates to a database and the following 2 cydgets can use these GPS coordinates as well.
    Also requires free API keys from WorldWeatherOnline and Weather Underground, to give me a choice of 3 weather services (third one is Yahoo), just to compare what each is saying.
    Well do you think your code there would then work as the front end to a JSON call coming next that would look like this"

    Code:
    var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng=" + latitude + "," + longitude + "&sensor=false";
    $.getJSON(url, function(data) {
    ..that would use your 'latitude' and 'longitude' variables?
    2013-12-18 06:10 PM
  19. Jay911AA's Avatar
    How can i Remove the 5th day of the forecast and move rest of the 4 day forecast up to place them where i want ?
    Needed in the 6.4 PP Version. Because i need more space.
    I'm here on iPhone 4 with 5.0.1
    2013-12-18 06:13 PM
  20. rasputin007's Avatar
    If you mean something like this

    Code:
    function getLocation(){
    
       if(navigator.geolocation){
         
          navigator.geolocation.getCurrentPosition();
    	  var latitude = position.coords.latitude;
      	  var longitude = position.coords.longitude;
    var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng=" + latitude + "," + longitude + "&sensor=false";
    $.getJSON(url, function(data) {  
    //the rest of the JSON request code
    }
    }else{
          alert("Sorry, browser does not support geolocation!");
       }
    }
    That should work as the latitude and longitude variables can be used as they are still within the function where they have been created.
    Nothing is impossible only miracles take a bit longer!
    2013-12-18 07:20 PM
LINK TO POST COPIED TO CLIPBOARD