rebelbwb
04-28-2009, 02:41 AM
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
<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 & 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 & 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>
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
<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 & 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 & 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>