Bhupendra Kumar Patidar

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromBhupendra Kumar Patidar
ToMe
Subjectneed help
Date29 July 2003 08:10
Hi,
If you don't mind i have small query. I am using service of weather.com 
on my site. Service updates weather of new delhi thru code
"<script src="http://etc.etc.etc/etc.etc"></script>".
I need to put this code in my html document and it will 
send some text and images which directly display on page. Now my new 
requirement is that, I have houston,US link too for weather. Link is 
<script src="http://etc.etc.etc/etc.etc2"></script>.
My boss want that both the link execute one-by-one on same place, means 
in a table cell I need to display first New Delhi weather than after 
some time interval(4 sec) i need to display houston weather over new 
delhi weather, and after 4 sec gap again new delhi weather over houston 
weather and so on. Now with this code how i can do it. I tried it many 
ways but not successed. May you please help me. Any suggestion will make 
me greate pleaser and appreciated.
Thanks
Bhupendra
FromMe
ToBhupendra Kumar Patidar
SubjectRe: need help
Date29 July 2003 09:12
Attachmentpage with working example
Bhupendra,

This is possible. What you need to do is to put them both in there, one
after the other, but with each one surrounded by a DIV element. You then
use JavaScript to change the display style of the DIV element so that every
4 seconds, one is shown and the other is hidden.

                        **  I have attached an example.  **

The showing/hiding will work in IE4+, Opera 7+, iCab, Konqueror, Safari,
Mozilla etc.
Netscape 4, OmniWeb 4.2-, Escape, Clue Opera 6- etc will show both weather
updates at all times.


Hope this is what you wanted.

Tarquin
FromBhupendra Kumar Patidar
ToMe
SubjectRe: need help
Date29 July 2003 09:37
Thanks very much Tarquin,
Ya this is the thing i want. soon u can see it on xxx.xxxxxx.xxx. Thank
you very much.
Bhupendra
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.