• Welcome to TodayPlus Boards v2.
 

"Region 9" the city and RSS information region

Started by arbitrajeu, October 24, 2003, 05:16:22 PM

Previous topic - Next topic

arbitrajeu

srs,

I'm a little bemused about some of the concepts around weather and RSS information.  Specifically, in your most recent uploaded skin I don't understand the following lines:

region,9,1000,-1
endregion,9,1000

Why do you need a page 1000?

More generally, I'd love to understand the reasoning behind wrapping the load commands in pages within a separate region.  Some of my confusion may be due to the fact that region 9 doesn't have a defregion in your skin file.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

Lordtwisted

Quoteregion,9,1000,-1
endregion,9,1000

Why do you need a page 1000?

More generally, I'd love to understand the reasoning behind wrapping the load commands in pages within a separate region. Some of my confusion may be due to the fact that region 9 doesn't have a defregion in your skin file.

arbitrajeu,

 region 9 is an empty region. It is used to cover up a region when you want to view another region in the same place.


Lordtwisted

srs

the point of region 9 is to reduce the amount of typing.  Region 9 loads the data, while region,0 displays it.  Using this method the same region and page are used to display the info for both cities / all rss pages, etc.  This also makes it much easier to add cities / rss pages as you would only need to add a page to region 9 (which is very short) instead of a new page to display the data (lots of typing).

Basically region,9 loads the different data while other regions actually display it.

The region,1000 is so that no data is loaded (because we're not displaying rss or weather) and probably saves a couple of milliseconds time.