• Hi,
    I’m switching my old site to WordPress and I want to copy the navigation bar in flash player. I have this code of the header:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><table width="100%" height="125" border="0" cellpadding="0" cellspacing="0" background="/images/header_bg.jpg" id="header_nav">
            <tr>
              <td align="center" valign="top">
                <table width="750" height="125" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="320"><img src="/images/vespers_graphic.jpg" width="320" height="125"></td>
                    <td><?
                    $args = array();
                    $args['movie'] = "/flash/nav.swf";
                    $args['width'] = "430";
                    $args['height'] = "125";
                    $args['flashvars'] = "currpage=".$_SERVER['PHP_SELF']; if ($_SERVER['QUERY_STRING']){ $args['flashvars'] .= "?".$_SERVER['QUERY_STRING']; } elseif ($_SERVER['PHP_SELF'] == "/index.php"){ $args['flashvars'] .= "?pageid=1"; }
                    $args['wmode'] = "transparent";
                    show_flash($args);
                    ?></td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          <table width="100%" height="145" border="0" cellpadding="0" cellspacing="0" id="header_graphic">
            <tr>
              <td background="/images/header_bg_left<? if ($requested_pageid > 1){ ?>_2<? } ?>.jpg">&nbsp;</td>
              <td width="750">
    <table width="750" height="145" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><?
                    $header_images = array();
                    $header_images[1] = "index";
                    $header_images[2] = "about";
                    $header_images[3] = "music";
                    $header_images[4] = "events";
                    $header_images[5] = "pix";
                    $header_images[6] = "about";
                    $header_images[7] = "links";
                    $header_images[8] = "contact";
    
                    $catid = get_value("cms_pages", "pageid", $requested_pageid, "catid");
                    if (!$catid){ $catid = 1; }
                    ?><img src="/images/header_<? echo $header_images[$catid]; ?>.jpg" width="750" height="145"></td>
                  </tr>
                </table>
              </td>
              <td background="/images/header_bg_rt<? if ($requested_pageid > 1){ ?>_2<? } ?>.jpg">&nbsp;</td>
            </tr>
          </table>
          <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" id="sub_header_border">
            <tr>
              <td align="center" background="/images/header_sub_border.jpg">
    <table width="750" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="right"><img src="/images/header_bar_rt_arrows.jpg" width="160" height="30"></td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          <table width="100%" border="0" cellpadding="0" cellspacing="0" id="content">
            <tr>
              <td valign="top" background="/images/cnt_brdr_left_outside_bg2.jpg">
                <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td background="/images/cnt_brdr_left_top.jpg"><img src="/images/cnt_brdr_left_top.jpg" width="1" height="5"></td>
                  </tr>
                </table></td>
              <td width="5" align="left" valign="top" background="/images/cnt_brdr_left_outside_bg.jpg"><img src="/images/cnt_brdr_left_top_corner.jpg" width="5" height="5"><img src="/images/cnt_brdr_left_outside.jpg" width="5" height="350"></td>
              <td width="750" height="300" rowspan="2" valign="top">
                <table width="750" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td valign="top" class="maintext">

    Firstly should I change all the old URLs to the new ones.
    After I was thinking if the function show_flash is good in WP.
    Then how to keep highlighted the flash icons when you click on that specific page. Check the old website please http://www.vespers.ca/
    I’d like to accomplish that result, with Pages and Categories in this navigation.

    You can find the flash here http://www.vespers.ca/flash/nav.swf

    THANKS

  • The topic ‘Flash Player Navigation – Migration to WP’ is closed to new replies.