I'm trying to create a custom responsive accordion menu that animates when you hover over it, but when sized down to mobile, changes to a clickable grid.
I think I have the majority of the work done, but cannot seem to nail the window.resize() handler. I feel like I need a way to stop the resize handler from calling, once the if statement is met. But, I'm not a jQuery master, thus I am having trouble figuring out how to properly write the syntax.
I am working on a lightbox effect for this page that has multiple modals, that is currently not working. I am still new to jQuery, so bear with me. I think the code is almost there, but I'm still not getting the syntax correct. Here is a link to the page:
Does anyone know why my conditional is not working on the sub-pages? The desktop version works fine (when you click on the nav links, it brings up the index page, animates, then takes you to the linked page), but the tablet and phone versions are not supposed to animate, but go straight to the page?
So, I have a index page that moves like a slide show when you click a nav link, then sends you to the page. I am trying to figure out how to go from that pages nav links (when clicked), back to the index to automatically play a slide animation, then redirect to the original link intended.
This is kind of funky for me because it is going from one page-to another-to another.
SO IN REALITY, I need help trying to make this thought come to life in my jQuery. I already have the reDirect set up, so it's trying to figure out the index code now to complete it:
Maybe something like this? And if so, HOW DO I DO IT?! lol
if { coming from #connect.php, automatically animate to this location in the slide show, then redirect to #this.php} else {do nothing}
So, I have some one who wants to leave one page by clicking a tab, and causing the site to automatically go back to the index page and play a scrolling animation on a one img slide show to a new location, before following through with the redirect to the original page the tab that was clicked was meant for.
Is this possible?
Here is a reference of the site. The index plays the animation, then goes to a page, which then goes to other pages similar. They want to go back to the index and mimic the animation to a new location before going to the actual page clicked.