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.
I wouldn't call it dog water - it's far from my genre of game, but different strokes for different folks. My frustration comes from releasing a new game every year and charging full price when they could easily just patch in new squads and the like on the game that I already have.
BUT if I pay full price for a game, especially these days when it is 50/60 GBP, going up to 70/80 GBP for a deluxe version, the idea of adverts being injected into my experience stinks.
I don't understand why people keep insisting on Chrome? Why is it so damn hard to just switch to Firefox? Or if you really can't let go Chromium, there's Vivaldi or Brave, alternatively even Opera. They all have built-in adblock that doesn't give a s**t about Google's rules. But ultimately, just go with Firefox. I never have any issues with webpages and with those that I do are usually broken because of my extensive ad and trackers blocking and not because Firefox in itself wouldn't work with those pages. And even those are super rare.
Was it EA that tried this before? Something about the sports games and their banners being constantly updated in the game? And didn't we balk at that the first time round?
Ah well, keep pushing until your tunnel collapses I guess.
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