• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[HIDDEN] Bugs

Status
Not open for further replies.
Level 27
Joined
May 30, 2007
Messages
2,872
Show 1

Show 2
Now hide 1.


This one never shows:
Unreachable


I would do this in the page:
Code:
<input onclick="showhide(this);" value="Title" type="button"><div style="visibility:collapse;">
	<div>
		 Text
	</div>
</div>
and in the script:
Code:
function showhide(button){
	var target = button.nextSibling.style;
	target.visibility = (target.visibility == "visible") ? "collapse" : "visible";
}
You should collapse it so that it doesn't take up so much space when hidden.
 
Last edited by a moderator:

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
I knew of this bug long ago. Doesn't happen to be grave though, since you must first click "1" to see "2", only then can you hide "1" and get to the bug.

And if you didn't notice, when you click the one you claim it never shows, the "2" of the previous HIDDEN will show/disappear.
 
Status
Not open for further replies.
Top