.toggle is all very well, but common usage doesn't change the text from 'show' to 'hide'. After throwing this together I realised that the parameter
.toggle(showOrHide) might also be employed to the same effect, but I've spent enough time doing it this way now, so that's another snippet. Oh yes, and no fancy code snippet widgets here—you know where to find view source, don't you? Oh yes, this fails if more than one article is kept open, but look—it's late, and I need a break, okay?
Some interesting latin vegetables…
Veggies sunt bona vobis, proinde vos postulo esse magis fennel bean pea sprouts horseradish chickpea artichoke.
Carrot broccoli kale radish brussels sprout black-eyed pea squash caulie beet greens. Cauliflower pea courgette avocado lettuce okra celery rock melon. Water spinach watercress zucchini pumpkin peanut eggplant corn welsh onion aubergine.
Spot the Japanese vegetables scattered throughout…
Epazote prairie turnip rutabaga grape parsley courgette soko brussels sprout. Shallot parsley courgette chicory gram bamboo shoot. Bush tomato quandong kale maize silver beet azuki bean bamboo shoot epazote daikon cress broccoli water chestnut. Nori cauliflower beetroot fava bean daikon ricebean azuki bean garlic. Green bean nori tatsoi coriander wakame lettuce garlic parsley prairie turnip burdock.
Further vegetable adventures, with the occasional fruit…
Grape garbanzo onion tomato winter purslane celery amaranth fava bean broccoli pumpkin eggplant gumbo zucchini cucumber celtuce watercress. Sorrel sorrel watercress bok choy bell pepper cabbage parsley kombu corn aubergine peanut wattle seed taro daikon chard potato maize water chestnut. Grape garlic lettuce courgette potato gram celery broccoli courgette groundnut aubergine maize nori winter purslane bush tomato bell pepper.
Veggie Ipsum text by, errr... go on—try to guess... no? Oh, alright then: veggieipsum.com