Hungryfeed – show/hide elements
-
Hellow,
I’m currently working on a news feed for an art project through uni.
I want to show the contents of the feed when the feed title is clicked (highlighted grey).
This is what my JavaScript code looks like:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ $(".hungryfeed_feed_title").click(function(){ $(".hungryfeed_items").toggle(); }); }); </script>
This is the link to the page:
http://dwdm.eyes2k.net/menschenrechts-news/If anyone sees why it doesn’t work, please comment below.
Your help is much appreciated 🙂 Thanks.
- The topic ‘Hungryfeed – show/hide elements’ is closed to new replies.