Forums

Create a scrolling menu (4 posts)

  1. thbesson
    Member
    Posted 2 years ago #

    Hi everyone !

    I really need someone's help... I would like to modify my menu to create a scrolling menu for my subpages but I don't know how to do this :-(

    Thank you very very much

    Thomas

    Here is my header.php :

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php //comments_popup_script(600, 600); ?>
    <?php wp_head(); ?>

    </head><body>

    <div class="main">
    <div class="main-width"><div class="main-bg">

    <div class="header">
    <div class="header-left"><div class="header-right">

    <div class="logo">
    <div class="indent">
    <h1 onclick="location.href='<?php echo get_option('home'); ?>/'"><?php bloginfo('name'); ?></h1>
    </div>
    </div>

    <div class="search">
    <p>Rechercher dans le site :</p>
    <div class="indent">
    <?php get_search_form(); ?>
    </div>
    <p> </p>
    <p> </p>
    <?php include('heure.php'); ?> </div>

    </div></div>

    <div class="main-menu">
    <?php
    wp_page_menu('show_home=0&sort_column=menu_order, post_title&link_before=&link_after=');
    ?>
    </div>

    </div>

    <div class="content">

    <div class="content-bg">

  2. SleepW
    Member
    Posted 2 years ago #

    that's sort of like saying you want to create a website.
    there are all kinds of scrolling menus...flash, html, css...vertical, horizontal..
    Google is your friend.

  3. thbesson
    Member
    Posted 2 years ago #

    Mmmmh I would say HTML :-) and horizontal... But I would like to know if it's possible to create it by modifying my code

  4. SleepW
    Member
    Posted 2 years ago #

    start by creating your menu..in plain html

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.