calculator on page

214 views
Skip to first unread message

Gergely Horváth

unread,
Mar 18, 2021, 10:30:42 PM3/18/21
to oTree help & discussion
Hi All,

Is there a way to add a calculator to the screen/page, similarly to what we all used to do in z-tree?

Best,
Gergely

Chris @ oTree

unread,
Mar 19, 2021, 6:50:30 AM3/19/21
to oTree help & discussion
If you can find a calculator somewhere written in HTML/Javascript, then it should be pretty easy to use it in oTree. Just put its code in an includable template then include it in each page where you need it. Let us know if you find a good one :)

Rok

unread,
Mar 19, 2021, 8:04:14 AM3/19/21
to oTree help & discussion
Specifically, If you google for "jsfiddle calculator", the entire first page of results is filled with calculator JS examples. (and previews!)

Rok

Gergely Horváth

unread,
Mar 19, 2021, 8:19:17 AM3/19/21
to Rok, oTree help & discussion
Got it! Thanks everyone for the reply!
Best
Gergely 

On Mar 19, 2021, at 8:04 PM, Rok <fish.mi...@gmail.com> wrote:

Specifically, If you google for "jsfiddle calculator", the entire first page of results is filled with calculator JS examples. (and previews!)
--
You received this message because you are subscribed to a topic in the Google Groups "oTree help & discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/otree/v3RYYd23-wk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/35668926-29c5-4bb8-9449-c21a409cd32dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages