WordPress.org

Support

Support » How-To and Troubleshooting » How to create a pop-up link in side bar??

How to create a pop-up link in side bar??

  • i dont know how to insert the code into the document so that it will work…..when i try to it breaks the page and messes it up. here is the code for the side bar doc: now where would i put the java script so that it will work…

    <div style="float:right;">

    <ul>
    <!-- START PAGES LIST -->
    <h2>About</h2>
    </ul>
    <ul>
    <?php wp_list_pages('title_li='); ?>
    </ul>
    <!-- END PAGES LIST -->

    <!-- START CATEGORIES -->
    <h2>The Files</h2>

    <ul>
    <?php wp_list_cats(); ?>
    </ul>
    <!-- END CATEGORIES -->

    <!-- START SEARCH -->
    <h2>Search</h2>

    <ul>
    <li>
    <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    <div>
    <input type="text" name="s" id="s" size="15" />
    <input type="submit" value="<?php _e('Search'); ?>" />
    </div>
    </form>
    </li>
    </ul>
    <!-- END SEARCH -->

    <!-- START ARCHIVES -->
    <h2>Cold Case</h2>

    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    <!-- END ARCHIVES -->

    <!-- START META -->

    <!-- START LINKS LIST -->
    <h2>Blogroll</h2>

    <ul>
    <?php get_links('-1', '
    <li>', '</li>
    '); ?>
    </ul>
    <h2>Music Files</h2>

    <ul>
    <a href="http://www.chickenandbacon.org/music/Ogdogg%20Site%20Diss.mp3">Ogdogg.com Freestyle</a><br>
    <a href="http://www.chickenandbacon.org/music/The Interview.mp3">The Interview</a><br>
    <a href="http://www.chickenandbacon.org/music/Stress(Snnipet).mp3">Stress(Snnipet)</a><br>
    <a href="http://www.chickenandbacon.org/music/So Confused.mp3">So Confused</a><br>
    <a href="http://www.chickenandbacon.org/music/So Confused Remix.mp3">So Confused Remix</a>
    </ul>
    <h2>Lyrics</h2>

    <ul>
    </ul>
    <!-- END LINKS LIST -->

    </div>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create a pop-up link in side bar??’ is closed to new replies.
Skip to toolbar