Support » Plugin: Toggle Box » [Plugin: Toggle Box] Toggle open by default

  • Hey, great toggle plugin!

    Im a little stuck as I have amended the css so the toggle box is transparent with no borders etc etc but for some reason, by default the toggle shows the text I’m tying to hide!

    Is there any way of reversing this so its a plus people have to click to expand the text?

    One other thing as well, my hyperlinked text doesn’t appear to work? The alt text still appears in the bottom with the address and work when you right click and open in new page or tab but on firefox and safari, can’t click to go to the link?

    Any ideas?

    http://wordpress.org/extend/plugins/toggle-box/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author phantom.omaga

    (@phantomomaga)

    i will look in to but that could you please share the css amendments that you made
    ______________________________________________________________________
    Sorry for not being able to reply earlier i had my mock exams going on

    Plugin Author phantom.omaga

    (@phantomomaga)

    the thing is that the css defines the elements of the toggle and those elements are used by jquery to hide an unhide the content

    Sure, I understand…

    The css I now have is as follows:

    h3.toggle {
    background-repeat: no-repeat;
    background-position: -15px -16px;
    font-size: 16px;
    padding: 0 0 10px 23px;
    cursor: pointer;
    }
    h3.toggle a {
    text-decoration: none;
    display: block;
    }
    h3.toggle-active {
    background-position: -64px -67px;
    }
    .toggle-box {
    clear:both;
    margin: 0 0 50px 0;
    overflow: hidden;
    }
    h3.toggle {
    background-image: url(images/sprite.png);
    font-size: 18px;
    }

    Here are the screenshots of:

    Default:
    http://cl.ly/431t0w330K0z0C1i2C3C

    After click on toggle:
    http://cl.ly/3s0l1Y3m2v0W1C0p1w2U

    So it clearly functions as a toggle, I just want the text hidden by default and the links to be active on click, not on right click and open in new link.

    Thanks
    Stu

    Plugin Author phantom.omaga

    (@phantomomaga)

    did you change the toggle-box.js in any way

    Plugin Author phantom.omaga

    (@phantomomaga)

    and if you could spare a link that will be more then helpful

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Toggle Box] Toggle open by default’ is closed to new replies.