Forum Moderators: mack
What Im trying to do is get the nav bar from a html site into the left column of an oscommmerce site.Id like to keep the rollovers too.
I know I need to create my own code to go into he file that defines whats in the left column, but I just cant seem to get it working.
I ve got the images showing, but because I used the header as a template, its taken up the entire page and pushed everything else down to the bottom. I cant get the links to work either ( just dont know enough yet to code it properly)
what would be the best wayt o get this nav bar showing up and working?
[edited by: mack at 1:10 pm (utc) on Mar. 10, 2005]
[edit reason] No url's please ;-) [/edit]
1) Create a text file with plain HTML in it. This file will contain a working version of your sidebar menu, and nothing else.
2) In each PHP page that you want this menu to show up in, I'd set up a table and include your text file with PHP. ie:
<table>
<tr>
<td>
<?php
---This is where you'd include your file---
?>
</td>
<td>
rest of site
</td>
</tr>
</table>
LikeI said, this is just a quick thought, assuming I understand what you are asking, and I may not :0)
Good Luck!
-- Zak