WordPress.org

Support

Support » How-To and Troubleshooting » How can I re-use the keyboard shortcuts popup box?

How can I re-use the keyboard shortcuts popup box?

  • wesd
    Member

    @wesd

    Hi,

    I came across the P2 theme and decided to give it a test whirl on a new WoW guild website.

    It’s working well so far after fiddling with a few little details. for example…

    at http://www.madeye.co.uk/loom you’ll see that the “about the guild” link on the right brings up what used to be the popup box for the keyboard shortcuts help. What I want is to have another link underneath it that will load another popup with different content.

    I’ve tried copying the code for the link and have created a second <div> with a new class and id that I thought would work but I get no results.

    I’m pretty new to this and I’m not really experienced with coding but I’d really appreciate some tips on how I could do this!

    Thanks in advance,

    Wes

Viewing 7 replies - 1 through 7 (of 7 total)
  • wesd
    Member

    @wesd

    I’m shocked that nobody else is interested in this! It seems like a really snazzy feature.

    I really would be super grateful for some help with this 😀

    ToreGu
    Member

    @toregu

    Well, I’m interested in it too but don’t have an answer. I’m guessing it’s some kind of java and don’t know that much java.

    Will give it five minutes right now (before eating).

    *gone*

    ToreGu
    Member

    @toregu

    Where did you edit the text so it was about the guild instead?

    wesd
    Member

    @wesd

    Hey,

    It’s edited in the footer.

    Wes

    wesd
    Member

    @wesd

    I’m still eager to get a solution to this, I had another go but failed again 🙁

    Has anyone had any luck?

    ToreGu
    Member

    @toregu

    I looked at the footer just now. There’s no java or functions involved so it should be pretty easy really, I guess.

    When copying the

    <div id=”notify”></div>
    <div id=”help”>
    <dl class=”directions”>

    [some text]

    </dl>
    </div>

    and inserting new names for the ids I’m guessing that you are editing style.css so that there are some new code there? (just checking since you said you’re a beginner)

    wesd
    Member

    @wesd

    I’d have thought the same but, yes, I’ve replicated some CSS (the only bits that contain notify or help) and have named the div ids accordingly. Obviously I may be wrong but I suspect it’s caused by the js in P2.js. I’ve tried a few times with a fresh head but I just can’t wrap my head around it.

    Thanks very much for your help, I think I may well just give up though… I’m easily defeated 🙂

    Wes

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can I re-use the keyboard shortcuts popup box?’ is closed to new replies.