documentation

This commit is contained in:
Gerome Matilla 2020-06-05 06:19:31 +08:00
parent 2719afbe5c
commit 26e86af56f
2 changed files with 4 additions and 0 deletions

View File

@ -31,14 +31,17 @@ const generateFromList = () => {
var icon = dockSites[i].icon;
var url = dockSites[i].url;
// Create a href
var aDock = document.createElement('a');
aDock.className = 'dockLink';
aDock.href = url;
// Create div container
var dockButton = document.createElement('div');
dockButton.id = 'button' + i;
dockButton.className = 'dockButton';
// Create div container for button icon
var buttonImage = document.createElement('div');
buttonImage.id = 'buttonImage' + i;
buttonImage.className = 'dockButtonImage';

View File

@ -38,6 +38,7 @@ const populateWebMenu = () => {
// Add mouseup event
createCallback(li, url);
// Create a href
var aWebLink = document.createElement('a');
aWebLink.className = 'webMenuLink';
aWebLink.href = url;