Hello,
I have a webshop and i am using mysql and PHP for the site.
I would like to make som adjustments to the menu and add a menu on top of the site with the categories and also the sub categories.
I would like it be something like this:
Category 1 Category 2
Sub cat 1 Sub cat 1
Sub cat 2 Sub cat 2
When holding mouse over category 1 or two the sub categories pops up under it.
I have tried to implement it with the superfish jquery menu, but could not get it to work.
Hope that someone can help with this… Thanks in advance.
[php]
<?php function ShowMenu() { //Get the list of products $sqlstr = sprintf("SELECT * FROM shop_categories WHERE Parent='0' ORDER BY Sortorder ASC"); $result = GetResultsFromDB($sqlstr); echo "Produkter |
---|
• " . $row['Name'] . " |
- ". $row_child['Name'] . " |
[/php]
Regards
Steinar Sandvik