Good Evening Experts,
Earlier this afternoon, Expert Shishir_sri provided me with a fabulous bit of code for dynamically changing the content of one of my asp pages. The code cycles through three weather widgets providing a weather report for three major cities every 5 seconds. The code works by placing all three widgets on the page and then hiding two of them at time, and looping through all three one at a time. It works great and I’m very happy with it, however, when the page is initially loaded, for about 5 seconds, the three widgets are all visible at the same time stacked vertically. The effect when one first views the page is a bit distracting and I was wondering whether two of the widgets could be hidden right at the get-go instead having to wait 5 seconds for the effect to kick in. This type of coding is a bit out of the scope of the type of programming that I do, so I was unable to figure out how to do this on my own. If you wanted to see the code provided by Expert Shishir_sri, you could take a look at the question titled “Dynamically changing the content of an asp.net page” which is ID28255692 I believe.
Thanks for the help.