mirror of
https://github.com/hnasheralneam/hnasheralneam.github.io.git
synced 2024-11-07 08:05:54 -05:00
Indicator hover and click to page!
This commit is contained in:
parent
999e44f1da
commit
b75982f531
3 changed files with 20 additions and 4 deletions
|
@ -23,9 +23,9 @@
|
|||
<span class="arrow">⟶</span>
|
||||
</div>
|
||||
<ul class="progress">
|
||||
<li id="meetIndicator"></li>
|
||||
<li id="vegetable-dashIndicator"></li>
|
||||
<li id="coming-soonIndicator"></li>
|
||||
<li id="meetIndicator" onclick="ind('meet')"></li>
|
||||
<li id="vegetable-dashIndicator" onclick="ind('vegetable-dash')"></li>
|
||||
<li id="coming-soonIndicator" onclick="ind('coming-soon')"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- Vegetable Dash -->
|
||||
|
|
14
main.js
14
main.js
|
@ -67,7 +67,19 @@ function where() {
|
|||
}
|
||||
}
|
||||
|
||||
// Like carousel show progress
|
||||
function ind(page) {
|
||||
document.location = "#" + page;
|
||||
pageLocation = page;
|
||||
buttonVisiblility();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Transparent text moving background
|
||||
|
||||
/* Links */
|
||||
|
|
|
@ -124,6 +124,10 @@ Common Classes
|
|||
0 0 2.5px #262626;
|
||||
}
|
||||
|
||||
.progress li:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
#meetIndicator {
|
||||
background-color: #262626;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue