Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Show Link during business hours

timeschedule option needed!



1:42 pm on Feb 1, 2014 (gmt 0)

Hey All,

On the mobile version of my website there's an image based link which forwards people to their dailer (mobile phone) once they click the link. This enables them to call me instantly.

unfortunately I don't answer my office phone 24/7. Therefore I want this 'call now' link only to appear during business hours.

Any thoughts on how to accomplish this?


8:49 pm on Feb 1, 2014 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

Can't be done in HTML alone-- and this is the html subforum. It can be done pretty straightforwardly with php or equivalent, making a dynamic page. I can remember at least one thread with the same question. That's assuming you're prepared to bar all caching of this page.

Option B is to, ahem, get an answering machine and trust to your readers' intelligence to figure out that a small business doesn't have people staffing the phones all day, every day. Even most huge businesses with technical support outsourced to a widely different time zone generally have published phone hours.


10:33 pm on Feb 1, 2014 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

I don't know what the nature of your business is, but I think having potential leads/customers phone in after hours and leave a message, and you call them back in the morning will result in more customers....? Otherwise this can be done with Javascript, or maybe PHP.


2:15 pm on Feb 3, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I have a Google voice number that rings to my cell phone and will take voice mail. Very useful.

Featured Threads

Hot Threads This Week

Hot Threads This Month