What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

USB Front-end webpage [Offline]

Net-9fsw7BzdjC

New member
Joined
Dec 2, 2021
Messages
1
Reaction score
0
HTML Coins
0
I've developed a rather basic front end interface for an intended file handling HTML page that would launch upon insertion of a USB device in which will be it's home.
Below I've pasted an excerpt of what I intend to be structure but can't sort out as to how to get the selected file opened from file manager to save to the 'root' of the webpage

<input type="button" id="btnFileUpload" value="Select File" />
<span id="spnFilePath"></span>
<input type="file" id="FileUpload" style="display: show" />
<script type="text/javascript">
window.onload = function () {
var fileupload = document.getElementById("FileUpload1");
var filePath = document.getElementById("spnFilePath");
var button = document.getElementById("btnFileUpload");
button.onclick = function () {
fileupload.click();
};
fileupload.onchange = function () {
var fileName = fileupload.value.split('\\')[fileupload.value.split('\\').length - 1];
filePath.innerHTML = "<b>Selected File: </b>" + fileName;
};
};
</script>
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back