Skip to content

Instantly share code, notes, and snippets.

View wplit's full-sized avatar
💭
I may be slow to respond.

David Browne wplit

💭
I may be slow to respond.
View GitHub Profile
@wplit
wplit / footer-scripts.html
Last active May 17, 2024 00:27
click toggle button on page load load to open slide menu item
@wplit
wplit / footer-scripts.html
Last active May 17, 2024 00:20
trigger resize when alert closed
@wplit
wplit / footer-scripts.html
Last active May 16, 2024 01:25
changing form inputs inside loops
@wplit
wplit / footer-scripts.html
Created May 13, 2024 01:35
close accordion toggle when facets used
@wplit
wplit / footer-scripts.html
Last active May 13, 2024 01:27
do something when wpgb appends new content to the page (ie when the facets are used)
@wplit
wplit / footer-scripts.html
Last active May 10, 2024 12:05
click toggle button on page load
@wplit
wplit / code.css
Created May 8, 2024 23:14
add fade animation to main content and footer (header remains still)
#brx-content,
#bxe-footer {
animation: fadeInAnimation ease 0.5s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
0% {
opacity: 0;
@wplit
wplit / footer-scripts.html
Last active May 6, 2024 07:08
when dates click, open accordion then wait before scrolling to the element. (add to page settings > custom code > footer scripts)
@wplit
wplit / footer-scripts.html
Last active May 2, 2024 02:47
if element with hash ID in url exists inside an accordion item, open the item and scroll to it
@wplit
wplit / footer-scripts.html
Created April 18, 2024 04:25
wait 200ms and then force resize