Now let’s continue with displaying the legend.
The first thing I did was to take your link and copy the image into Photoshop. Then save the .gif file as a .png file, and saved it to the skins/buttons directory.
Next I opened up the skin editor in Xlobby, and went to my overlay_weatherimages page. Select the Screen tab, then the Add Button tab. Click on refresh to update the button list to show the new .png file. Then add the UV index image to the overlay. Under the Default tab, I gave it a unique ID called ‘uvrating’.
Next I went to F2/Setup/Events and created two new events. One is to show the UV Index, and the other is to return to the main weather map page. Under the show UV index event, the button show command is used, and the ButtonID is uvrating (the ID I gave the .png). What this will do is that whatever image I click on in the category, it will open the overlay_weatherimage screen and display the hidden image tied to it.
Under the return to main weather map screen event I have two commands: button hide (again the ButtonID is uvrating) and close overlay.
Next I will go to the Setup/Databases and select my weathermap database, and then select my new addition…test. Select the Advance tab and assign the Show UV Index.
Once done, close down Setup and open the Skin Editor. Select the Goto tab and I went back to my overlay_weaterimages. Now the image I showed in my previous post is a simple text box that states:
- Code: Select all
category>weatherimages>cover
I assigned the event to return to the weather page to this text box. So when you click on the image, the uvrating image will hide, and then go back to the main weather image screen.
All additional legend keys will have unique names. All will have a show and hide button events tied to them. All button hide commands will reside in that one event. Each button show command will have their own event, tied to their unique image in the database. Below is the resulting effect.
And here I've attached the uv legend .png for you to use.
http://www.xlobby.com/files/Marbles_00/Images/uv_rating.png
Hope this all helps.
P.S. To be honest, I didn't have a clue if this would work. But figured I'd give it a shot just to verify that what I mentioned above can actually be done. If your still having problems with Xlobby displaying web images. Do the following. Load up Steven's default skin and verify that weather updates occur. There have been accounts of firewalls denying access to Xlobby (trust me, I've been through it when I had Winroute installed).