Is there any way to hide/show a DIV using only <a href> or other strictly HTML/CSS functions? I do not wish to use javascripts to do this.
not that I'm aware of you need something client side, unless you reload the page to hide/show the div but I assume you don't want to do that?
Hm, no I don't. I was hoping there might be some way of making this work. But if not, I guess I'll have to go with a script then. We'll see, I'll mess around with it some more and see if something turns up.
Whoah! Sweet. I just solved it by using display: none/block and the function GetElementById with this a href; a href="#" onclick="document.getElementById('the_div').style.display=(document.getElementById('the_div').style.display== 'block')?'none':'block';">Show/Hide Div</a Works like a charm.
Yeah I figured as much, but at least I did not have to write a whole script to do this. On this platform I do not have access to the HEAD, which proves problematic sometimes. It's for work, and there the tool of choice is Episerver for some reason - which isn't all that horrible, but not excellent either. It does it's job at least.