If you remember, I was trying to get quicksand working and someone help me with doing a short jQuery code to do the same thing. Well, everything is working great with just doing one menu but now. I would like to add on to it so that their is a second option for the user to select. I provided the link to My Example. I don't know how to right the code in jQuery so that the user can also sort the list in to Interior or Exterior like they did in the Redbox movie list. I don't think it would be really hard for someone that knows jQuery to quickly right the code for me. I'm more of a front-end web designer and then a back-end one.
I put the code below but not all of the product DIV code because it's mostly the same thing just the li class and h1 is different.
Sadly were trying to speedrun to the levels of surveillance China has. It seems to be one of the things the only two parties that have been in power for the last 100 years agree on too.
Appreciating this guide is for HP Laptops but here's how to update the UEFI certificate database manually whether the OEM supports it or not:
https://h30434.www3.hp.com/t5/Business-Notebooks/Enabling-new-UEFI-2023-CA-certificates-in-pre-2018-HP/td-p/9628370
We will soon have had 7 different Prime Minister's over the course of a decade. I don't care about political leanings, Tory, Labour, Green or Retarded, this just makes a mockery of the role!
UK is going the opposite direction, they're mandating AI installed to check photos and messages sent on the device at OS level to 'protect the children'.
Question
ACTIONpack
http://www.romabio.com/products/preview.html <--- My Example /
http://www.redbox.com/movies <--- What I'm trying to do /
https://www.neowin.net/forum/topic/1131050-jquery-quicksand/ <--- First post about this /
If you remember, I was trying to get quicksand working and someone help me with doing a short jQuery code to do the same thing. Well, everything is working great with just doing one menu but now. I would like to add on to it so that their is a second option for the user to select. I provided the link to My Example. I don't know how to right the code in jQuery so that the user can also sort the list in to Interior or Exterior like they did in the Redbox movie list. I don't think it would be really hard for someone that knows jQuery to quickly right the code for me. I'm more of a front-end web designer and then a back-end one.
I put the code below but not all of the product DIV code because it's mostly the same thing just the li class and h1 is different.
<script type="text/javascript">
$('.filter li a').click(function() {
$(this).css('outline','none');
$('.filter .current').removeClass('current');
$(this).parent().addClass('current');
var filter = $(this).text();
if(filter == 'All Products') {
$('.items li.hidden').fadeIn('normal').removeClass('hidden');
} else {
$('.items li').each(function() {
if(!$(this).hasClass(filter)) {
$(this).fadeOut('normal').addClass('hidden');
} else {
$(this).fadeIn('normal').removeClass('hidden');
}
});
}
return false;
});
</script>
[/CODE]
Link to comment
https://www.neowin.net/forum/topic/1132088-2nd-menu-option-with-jquery/Share on other sites
7 answers to this question
Recommended Posts