Inserting javascript functions

tim.ostler shared this question 6 years ago
Answered

Is there any way to insert javascript code into a prototype header? I'm thinking of the setTimeout function that is necessary to hide the address bar in Mobile Safari as described here

Comments (2)

photo
1

Link did not work -- here it is: http://davidwalsh.name/hide-address-bar

photo
1

That is already implemented in the prototypes. The javascript that you mention (or another quite similar) is included in the HTML when you publish the prototype for test (or you export the HTML without comments).