Of course! I've updated the code to look much more like Windows Vista and incorporated the "My Computer" icon you provided.
The key upgrades are:
- Aero Glass Theme: The taskbar and window now have a semi-transparent, glassy "Aero" look.
- Vista Wallpaper: The background is now the iconic default Vista wallpaper.
- Start Orb: The "Start" button is now the circular Vista "Start Orb" that glows on hover.
- Live Clock: A working clock has been added to the taskbar.
- Improved Icons: I've added your "My Computer" icon and found a better folder icon. The text labels now have a proper drop shadow instead of a background.
vista.html (Upgraded Windows Vista Homepage)
Copy and paste this entire code into a new vista.html file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TrackSite - Vista Desktop</title>
<link rel="icon" href="images/TrackSite.png" type="image/png">
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #000;
margin: 0;
padding: 0;
overflow: hidden;
height: 100vh;
display: flex;
flex-direction: column;
color: white;
/* Iconic Vista Wallpaper */
background-image: url('https://i.imgur.com/e3p4pE4.jpg');
background-size: cover;
background-position: center;
}
/* --- Desktop Icons --- */
.desktop {
flex: 1;
padding: 20px;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
gap: 15px;
}
.icon {
width: 90px;
text-align: center;
cursor: pointer;
margin: 10px;
padding: 5px;
border-radius: 6px;
transition: background-color 0.2s ease-in-out;
}
.icon:hover {
/* Vista's icon selection highlight */
background-color: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.icon img {
width: 48px;
height: 48px;
margin-bottom: 5px;
}
.icon-label {
font-size: 13px;
/* Vista's floating text with shadow */
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
/* --- Vista Aero Taskbar --- */
.taskbar {
background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
height: 45px;
display: flex;
align-items: center;
padding: 0 5px;
border-top: 1px solid rgba(255, 255, 255, 0.3);
position: fixed;
bottom: 0;
width: 100%;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.start-orb {
width: 45px;
height: 45px;
background-image: url('https://i.imgur.com/tXf3dC8.png'); /* Vista Start Orb Image */
background-size: contain;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
transition: transform 0.2s ease, filter 0.2s ease;
}
.start-orb:hover {
transform: scale(1.1);
filter: drop-shadow(0 0 8px rgba(137, 207, 240, 0.9)); /* Glow effect */
}
.taskbar-clock {
margin-left: auto;
padding: 5px 15px;
font-size: 12px;
text-align: center;
}
/* --- Aero Window Popup --- */
.window {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 350px;
background-color: rgba(220, 225, 230, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 8px;
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
display: none;
color: black;
}
.window-header {
background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
color: #111;
padding: 8px 12px;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom: 1px solid rgba(0,0,0,0.1);
}
.window-body {
padding: 15px;
font-size: 14px;
}
.close-button {
background-color: #e81123;
border: 1px solid #f998a1;
color: white;
width: 22px;
height: 22px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 12px;
font-family: 'Arial Black', Gadget, sans-serif;
transition: background-color 0.2s;
}
.close-button:hover {
background-color: #f14c5a;
}
</style>
</head>
<body>
<!-- Desktop Icons -->
<div class="desktop">
<!-- Your "My Computer" icon -->
<a href="index.html" class="icon">
<img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fvectorified.com%2Fimages%2Fwindows-xp-my-computer-icon-24.png&f=1&nofb=1&ipt=cc116e3112a395a838eef9d5532e73d3d97981ea0b6d227f7e9d230ea74db3dd" alt="My Computer">
<div class="icon-label">My Computer</div>
</a>
<!-- Other icons. Replace # with your page links (e.g., gaming.html) -->
<a href="#" class="icon">
<img src="https://i.imgur.com/uSty1ct.png" alt="Documents">
<div class="icon-label">Documents</div>
</a>
<a href="#" class="icon">
<img src="https://i.imgur.com/w9zTwmw.png" alt="Gaming">
<div class="icon-label">Gaming</div>
</a>
</div>
<!-- Taskbar -->
<div class="taskbar">
<div class="start-orb" onclick="showWindow()"></div>
<div class="taskbar-clock" id="clock"></div>
</div>
<!-- Fake Windows Popup -->
<div class="window" id="popup">
<div class="window-header">
<span>TrackSite Menu</span>
<div class="close-button" onclick="hideWindow()">X</div>
</div>
<div class="window-body">
<p>Welcome to the TrackSite desktop experience!</p>
<p>This site was built to feel like an old operating system. Click an icon on the desktop to navigate to a different page.</p>
</div>
</div>
<script>
function showWindow() {
document.getElementById('popup').style.display = 'block';
}
function hideWindow() {
document.getElementById('popup').style.display = 'none';
}
// Live Clock Function
function updateClock() {
const now = new Date();
const time = now.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
const date = now.toLocaleDateString([], { weekday: 'short', month: 'short', day: 'numeric' });
document.getElementById('clock').innerHTML = `${time}<br>${date}`;
}
// Update the clock every second
setInterval(updateClock, 1000);
// Set the clock immediately on load
updateClock();
</script>
</body>
</html>