1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-30 15:29:01 +00:00
6502bench/docs/sgtutorial
Andy McFadden 7c5a0dfdb8 Fix web site menu button
A bit of Javascript was used to remove the hamburger icon when a
page doesn't have a #sidenav.  This worked when sidenav-incl was
being loaded with jQuery load(), because that mechanism works
asynchronously, and #sidenav was part of the DOM before it ran.
Once we started merging HTML fragments directly into the pages, the
script got called before #sidenav was defined, so the icon was
always being removed.

One solution would be to move the script to footer-incl.html, to
follow the preferred practice of placing scripts at the bottom of
the <body>.  The better solution was to move the "no-sidenav" class
from #main to <body>, so that all components can see it.  This lets
us use CSS rules to hide the icon.
2021-06-08 14:15:39 -07:00
..
images First draft of updated web site 2021-06-06 14:07:36 -07:00
about-disasm.html Fix web site menu button 2021-06-08 14:15:39 -07:00
address-tables.html Fix web site menu button 2021-06-08 14:15:39 -07:00
advanced-topics.html Fix web site menu button 2021-06-08 14:15:39 -07:00
digging-deeper.html Fix web site menu button 2021-06-08 14:15:39 -07:00
editing-data.html Fix web site menu button 2021-06-08 14:15:39 -07:00
extension-scripts.html Fix web site menu button 2021-06-08 14:15:39 -07:00
generating-code.html Fix web site menu button 2021-06-08 14:15:39 -07:00
index.html Fix web site menu button 2021-06-08 14:15:39 -07:00
inline-data.html Fix web site menu button 2021-06-08 14:15:39 -07:00
labels-symbols.html Fix web site menu button 2021-06-08 14:15:39 -07:00
local-variables.html Fix web site menu button 2021-06-08 14:15:39 -07:00
moving-around.html Fix web site menu button 2021-06-08 14:15:39 -07:00
odds-ends.html Fix web site menu button 2021-06-08 14:15:39 -07:00
prevnext.py Add prev/next button script 2021-06-07 17:08:14 -07:00
sidenav-incl.html Fix sidenav some more 2021-06-07 17:29:42 -07:00
simple-edits.html Fix web site menu button 2021-06-08 14:15:39 -07:00
string-formatting.html Fix web site menu button 2021-06-08 14:15:39 -07:00
using-sourcegen.html Fix web site menu button 2021-06-08 14:15:39 -07:00
visualizations.html Fix web site menu button 2021-06-08 14:15:39 -07:00