Altered ShowMenu (

K.V.

I added this JavaScript function:

function HideOutputSection(name) {
    EndOutputSection(name);
    $("." + name + " a").attr("onclick", "");
    $("." + name + " a").css("color", "black");
    $("." + name + " a").css("cursor", "text");

}

Now, it just turns the links black, deactivates them, and changes the cursor to a normal 'text' cursor. (The HideOutputSection function drove me crazy.)


Before selecting:


> x s
Please choose which 's' you mean:
1: me
2: sword
3: shield


After:


> x s
Please choose which 's' you mean:
1: me
2: sword
3: shield
Your trusty blade.

Forged from the iron the holistic metallurgist extracted from the blood of your enemies.

It has a red glow emanating from it. (That means there's either a Grue nearby... or a WUMPUS!!!)


Many Thanks. That's exactly what I needed. :)


K.V.

No problem!

Share, and the world shares with you.

...or is that... laughing?


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums