forked from verdnatura/hedera-web
35 lines
441 B
JavaScript
Executable File
35 lines
441 B
JavaScript
Executable File
|
|
function getPageYOffset ()
|
|
{
|
|
return window.pageYOffset;
|
|
}
|
|
|
|
function getPageXOffset ()
|
|
{
|
|
return window.pageXOffset;
|
|
}
|
|
|
|
function getInnerHeight ()
|
|
{
|
|
return window.innerHeight;
|
|
}
|
|
|
|
function getInnerWidth ()
|
|
{
|
|
return window.innerWidth;
|
|
}
|
|
|
|
function createRadio (uid)
|
|
{
|
|
var radio = document.createElement ('input');
|
|
radio.type = 'radio';
|
|
radio.name = uid;
|
|
return radio;
|
|
}
|
|
|
|
function setInputTypeNumber (input)
|
|
{
|
|
input.type = 'number';
|
|
}
|
|
|