homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Show Link during business hours
timeschedule option needed!

Msg#: 4641743 posted 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?



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

Msg#: 4641743 posted 8:49 pm on Feb 1, 2014 (gmt 0)

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.


WebmasterWorld Senior Member 5+ Year Member

Msg#: 4641743 posted 10:33 pm on Feb 1, 2014 (gmt 0)

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.


WebmasterWorld Senior Member 10+ Year Member

Msg#: 4641743 posted 2:15 pm on Feb 3, 2014 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved