Log in

View Full Version : Script to show automatically opening times of the day



webill
06-05-2013, 01:06 PM
Hello,

I am looking for a simple script that automatically show every day the day opening time of a shop.
Something like the attached image shows.
Any help is welcome. Thank you

Best,
W

jscheuer1
06-05-2013, 01:44 PM
This might be what you're looking for:

http://www.dynamicdrive.com/dynamicindex17/dowiframe.htm

It's a little old and could use a little tweaking to work in Opera*, but should work in most if not all other modern browsers.


*This:


var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

should be:


var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById

webill
06-05-2013, 02:07 PM
Thanks a lot John, will give it a try!
-Webill