Discussion Forums  >  WebViews and HTML for Mobile

Replies: 3    Views: 93

Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
06/29/12 06:20 AM (13 years ago)

html timer

Hi. done a Google search but never had much luck. Can anyone tell me how to add a timer function to html. For example. say i have a html button but i only want that button to be displayed and function from 1700 to 2300 then disappear again till the following night?. Any help would be great thanks
 
kfcqueen
Lost but trying
Profile
Posts: 2
Reg: Jun 29, 2012
telford
20
like
06/29/12 06:54 AM (13 years ago)
same
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
06/29/12 09:57 AM (13 years ago)
A button disappear? I never tried it but I believe javascript would work with that. But if you close the app the function would start over unless you use cookies.
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
07/08/12 11:19 PM (13 years ago)
Hi just thought i would update. I am trying some workarounds for this I believe i may have found a solution although yet to confirm fully but got the basics down using html and dropbox. What i have done so far is created a .html file and saved it to dropbox and have inserted html re direct code to send it to another URL. I will create 2 more html files, 1 with the products and paypal buttons and the other with a message stating closed or try later etc. I will then simply use the re direct html doc and change the link URL to send customers to chosen page when required. I see no reason why this won't work but will post back once i complete the full set up.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.