SwissRailwayClock ( size )
Swiss Railway Clock
Average rating: 5.0 (2 votes) Log in to vote
Benjamin Fehr - Show more from this author
EfficientBizz GmbH http://www.efficientbizz.com |
SwissRailwayClock[200]
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Find a nice description about history and function on Wikipedia:
https://en.wikipedia.org/wiki/Swiss_railway_clock
Comments
Emmeuno May 20, 2019 |
||
Hi, i'm beginning Filemaker user, can you please explain how parse size parameter? Regards | ||
Benjamin Fehr, EfficientBizz GmbH May 20, 2019 |
||
as you see in my sample input "SwissRailwayClock[200]" This will size the clock with width AND height of 200 Pixels. Place a WV on your Layout and paste the cf as above into formula editor to get a 200x200px clock |
||
Emmeuno May 20, 2019 |
||
Hi Benjamin, thanks for answering. Can i change the WV in transparent background and alignment? | ||
Emmeuno May 20, 2019 |
||
Hi Benjamin, thanks for answering. Can i change the WV in transparent background and alignment? | ||
Benjamin Fehr, EfficientBizz GmbH May 20, 2019 |
||
No. This is html which wouldn't support transparent background at all. You should also know that a WV in FM is always predominant. Layering WV over other objects won't wrk. A WV stays always on top of all. If you want your SwissClock to adjust to your layouts background color, you have to get into the cf and change its dedicated attribute. There should be a attribute "Background color" somewhere in the JavaScript. At the end, you'll find the Tag with attributes for 'align' and 'padding'. |
||
Jason Maskell May 20, 2019 |
||
Very nice | ||
Benjamin Fehr, EfficientBizz GmbH May 21, 2019 |
||
When one developer challenges another: Otmar Kramis did some refinement with a JS by Roland Ritz https://github.com/RolandR. The clock will auto resize according to the size of the WV. No size-parameter needed. Also the bouncing Minute digit at every full minute makes you believe your standing at the gate of Zurich Central Station. SwissRailwayClockDyn https://www.briandunning.com/cf/2243 Don't miss other great contributions by Otmar such as the 'Resource-Calendar'. https://community.filemaker.com/s/profile/0050H00000Bq8cVQAR |
||
Benjamin Fehr, EfficientBizz GmbH May 21, 2019 |
||
check a dynamic version refined by Otmar Kramis: SwissRailwayClockDyn https://www.briandunning.com/cf/2243 |
||
Fabrice Ricker, Kultur und Computer May 21, 2019 |
||
I really luv thisclock too! And it reminds me on my student years in Zürich :-) |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.