From Wiki Knowledge Base | Teltonika GPS
|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
− | /* Any JavaScript here will be loaded for users using the mobile site */
| + | |
− | var newClass= document.createElement('div');
| |
− | newClass.className = "logo";
| |
− | var a = document.createElement("a");
| |
− | a.href = '/';
| |
− | newClass.appendChild(a);
| |
− | var img = document.createElement('img');
| |
− | img.src= 'https://wiki.teltonika-gps.com/wiki/skins/Wiki-teltonika-logo-vec.svg?bb794';
| |
− | a.appendChild(img);
| |
− | document.getElementsByClassName("branding-box")[0].appendChild(newClass);
| |
Latest revision as of 11:32, 22 October 2019