Results 1 to 2 of 2

Thread: $xpath?

  1. #1
    Join Date
    Aug 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default $xpath?

    I am about to get started on an seo project for a client and ran across this chunk of code which operates their navigation. can anyone help me decipher this in particular the <?print ($xpath) part?

    I am also wondering if there is an SEO friendly way to re-write these URL's other than doing 301 redirects that is not real time consuming.

    Thanks

    Code:
    <body onLoad="MM_preloadImages('<? print ($xpath); ?>images/nav_home1.png','<? print ($xpath); ?>images/nav_discover1.png','<? print ($xpath); ?>images/nav_amenities1.png','<? print ($xpath); ?>images/nav_rental1.png','<? print ($xpath); ?>images/nav_location1.png','<? print ($xpath); ?>images/nav_team1.png','<? print ($xpath); ?>images/nav_downloads1.png','<? print ($xpath); ?>images/nav_contact1.png')">
    
    <table width="695" border="0" cellpadding="0" cellspacing="0" id="NAV">
      <tr>
        <td>
    	  <a href="<? print ($xpath); ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_home','','<? print ($xpath); ?>images/nav_home1.png',1)"><img src="<? print ($xpath); ?>images/nav_home.png" alt="Home" name="nav_home" width="70" height="36" border="0" id="nav_home" /></a><a href="<? print ($xpath); ?>discover" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_discover','','<? print ($xpath); ?>images/nav_discover1.png',1)"><img src="<? print ($xpath); ?>images/nav_discover.png" alt="" name="nav_discover" width="82" height="36" border="0" id="nav_discover" /></a><a href="<? print ($xpath); ?>amenities" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_amenities','','<? print ($xpath); ?>images/nav_amenities1.png',1)"><img src="<? print ($xpath); ?>images/nav_amenities.png" alt="Luxury, Beauty &amp; Convenience" name="nav_amenities" width="116" height="36" border="0" id="nav_amenities" /></a><a href="<? print ($xpath); ?>rental" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_rental','','<? print ($xpath); ?>images/nav_rental1.png',1)"><img src="<? print ($xpath); ?>images/nav_rental.png" alt="Rental Program" name="nav_rental" width="82" height="36" border="0" id="nav_rental" /></a><a href="<? print ($xpath); ?>location" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_location','','<? print ($xpath); ?>images/nav_location1.png',1)"><img src="<? print ($xpath); ?>images/nav_location.png" alt="Location" name="nav_location" width="79" height="36" border="0" id="nav_location" /></a><a href="<? print ($xpath); ?>team" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_team','','<? print ($xpath); ?>images/nav_team1.png',1)"><img src="<? print ($xpath); ?>images/nav_team.png" alt="The Team" name="nav_team" width="88" height="36" border="0" id="nav_team" /></a><a href="<? print ($xpath); ?>downloads" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_downloads','','<? print ($xpath); ?>images/nav_downloads1.png',1)"><img src="<? print ($xpath); ?>images/nav_downloads.png" alt="Siteplan &amp; Downloads" name="nav_downloads" width="91" height="36" border="0" id="nav_downloads" /></a><a href="<? print ($xpath); ?>contact" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_contact','','<? print ($xpath); ?>images/nav_contact1.png',1)"><img src="<? print ($xpath); ?>images/nav_contact.png" alt="Contact Us" name="nav_contact" width="87" height="36" border="0" id="nav_contact" /></a></td>
      </tr>
    </table>
    </body>

  2. #2
    Join Date
    Mar 2009
    Location
    Chennai, India
    Posts
    77
    Thanks
    16
    Thanked 7 Times in 6 Posts

    Default

    The value of $xpath has been set somewhere else in the page code and not in the body section of your page....

    Check for any other php code in the head section..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •