WordPress.org

Forums

How can I re-use the keyboard shortcuts popup box? (8 posts)

  1. wesd
    Member
    Posted 5 years ago #

    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

  2. wesd
    Member
    Posted 5 years ago #

    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 :D

  3. ToreGu
    Member
    Posted 5 years ago #

    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*

  4. ToreGu
    Member
    Posted 5 years ago #

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

  5. wesd
    Member
    Posted 5 years ago #

    Hey,

    It's edited in the footer.

    Wes

  6. wesd
    Member
    Posted 5 years ago #

    I'm still eager to get a solution to this, I had another go but failed again :(

    Has anyone had any luck?

  7. ToreGu
    Member
    Posted 5 years ago #

    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)

  8. wesd
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags