WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. antman
    Member
    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;">

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

  2. antman
    Member
    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
    moderator
    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

Tags

No tags yet.