Ready to get started?Download WordPress


How to create a pop-up link in side bar?? (3 posts)

  1. antman
    Posted 8 years ago #

    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;">

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

    <h2>The Files</h2>

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

    <!-- START SEARCH -->

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

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

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

    <!-- START META -->

    <!-- START LINKS LIST -->

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

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

    <!-- END LINKS LIST -->


  2. antman
    Posted 8 years ago #

    edit: nervermind i fixed it.... but let me know if it works for u guys: http://www.chickenandbacon.org/blog/
    scroll to where its says lyrics click it see if it pops up...

  3. Samuel B
    Posted 8 years ago #

    It's popping up after I let it. A lot of people have their browsers set to block pop-ups.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.