Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * - - 2 votes

CSS Menu


251 replies to this topic

#161 e1boy

  • Community Member
  • 8 posts
  • Real Name:graeme mackay
  • Gender:Male
  • Location:UK surrey

Posted 14 September 2007, 15:48

Hi i have downloaded the latest version of CSS Menu - is there anyway to just show the top categories - ie i don't require the fly-out sub menus

Also the menu has picked up:
BOX_INFORMATION_ALLPRODS
BOX_SPECIALS_ALLPRODS
BOX_WHATSNEW_ALLPRODS

which i don't requrie

http://www.violateclothing.com/catalog/index.php

#162 jarzom

  • Community Member
  • 37 posts
  • Real Name:jarzom

Posted 11 October 2007, 09:07

PERFECT !!!! Just what i was looking for.

Thanx m8





View Postheinzsight, on Jun 4 2007, 05:09 PM, said:

Thanks David for sending me the file. I have my menu working now and the code is below.

var menuids=["suckertree1","suckertree2","suckertree3"] //Enter id(s) of SuckerTree UL menus, separated by commas

<?php
  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);

//  new infoBoxHeading($info_box_contents, true, false);

  $info_box_contents = array();

  $info_box_contents[] = array('text' => //'<div class="suckerdiv"><ul id="suckertree3"><li><a href='.tep_href_link("index.php").'>Home</a></ul>' .
	'<a ' . tep_image(DIR_WS_IMAGES . 'infobox/Pictures.jpg', 'Galleries') . '</a>'
	. PrintSubMenus( 0, $languages_id, '' ). '<a ' . tep_image(DIR_WS_IMAGES . 'infobox/TravelInfob.jpg', 'Galleries') . '</a>'
	. '<div class="suckerdiv"><ul id="suckertree2"><li><a href='.tep_href_link("Tips.php").'>Travel Tips</a><a href='.tep_href_link("Tips.php").'>Culture</a><a href='.tep_href_link("Tips.php").'>Language</a><a href='.tep_href_link("Tips.php").'>History</a></ul></div>');

  $info_box_contents[] = array('text' => '<div class="suckerdiv"><ul id="suckertree3"><li><a href='.tep_href_link("links.php").'>Links</a><ul><li><a href="http://www.lonelyplanet.com/" target="_blank">Lonely Planet</a></li><li><a href="http://www.danheller.com/" target="_blank">Dan Heller</a></li><li><a href='.tep_href_link("rss.php").'>RSS Feed</a></li></ul>');
//  $info_box_contents[] = array('text' => PrintSubMenus( 0, $languages_id, '' ));
//  $info_box_contents[] = array('align' => 'center',
//							  'text'  => '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>');
//  $info_box_contents[] = array('align' => 'center',
//							   'text'  => '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '">' . BOX_SPECIALS_ALLPRODS . '</a>');
//  $info_box_contents[] = array('align' => 'center',
//							   'text' => '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . BOX_WHATSNEW_ALLPRODS .'</a>');							   

  new infoBox($info_box_contents);

?>
			</td>
		  </tr>

<!-- MenuConfigategories_eof //-->

As I am using a picture for my header I commented out new infoBoxHeading.

Hopefully it's be helpful to someone.


#163 twantwan1

  • Community Member
  • 16 posts
  • Real Name:Twan

Posted 16 October 2007, 13:29

I have installed this contri on www.fitnesswinkel.net and in IE it looks good, but in Firefox something went wrong.

#164 radders

  • Community Member
  • 2,036 posts
  • Real Name:David Radford
  • Location:London

Posted 17 October 2007, 08:20

Yes it looks as if you only sell one product!

#165 twantwan1

  • Community Member
  • 16 posts
  • Real Name:Twan

Posted 17 October 2007, 12:09

Yes we are starting the webshop and are filling now. But this has nothing to do with the position of the menu in firefox

#166 pure11

  • Community Member
  • 122 posts
  • Real Name:haers

Posted 04 November 2007, 01:35

hi, i have http://addons.oscommerce.com/info/4910 fixed width
my css with this edit has this info in it:

Quote

BODY {
text-align: center;
color: #ffffff;
/* change background: #000000; to the color of your choice*/
background: #99CCFF;
margin: 0;
}
#cwdusacontainer {
width: 97%;
border: 0px solid #916714;/*border can be removed for a borderless page*/
background: #000000;
color: #ffffff;
margin: 10px auto 10px auto;/*this codeing is margin top 10px,right auto, bottom 10px and left 10px. Don't change the auto*/
text-align: left;
}


i installed this today, but the menu is showing at the very top of the page, see picture
[img]http://pureg.net/shop/images/menutop1.gif[/img]

how do i fix this problem ?
thank you :thumbsup:

#167 jurro

  • Community Member
  • 4 posts
  • Real Name:jurgen

Posted 06 November 2007, 11:35

HELP
I've got a problem with this css menu

the menu works perfect
but as you can see on my site http://www.professionalsound.nl
the menu gose of screen when i go to submenu's..
the list is to big to be in my internetexplorer and the last in list are off the page..
(can't see them) anybody got a solution?

thanks allready

#168 pure11

  • Community Member
  • 122 posts
  • Real Name:haers

Posted 08 November 2007, 08:12

View Postpure11, on Nov 3 2007, 05:35 PM, said:

hi, i have http://addons.oscommerce.com/info/4910 fixed width
my css with this edit has this info in it:

i installed this today, but the menu is showing at the very top of the page, see picture
[img]http://pureg.net/shop/images/menutop1.gif[/img]

how do i fix this problem ?
thank you :thumbsup:


can someone please please please help me i really would love to use this menu, please!

#169 DejaVu

  • Community Member
  • 289 posts
  • Real Name:Leon

Posted 09 November 2007, 17:31

Rather than the categories 'popping' into view is there a way they can 'fade in' or 'scroll out' into view?

I'm gonna look for a CSS to add that may do this, but if anyone has an idea how to do this already, I'd appreciate it.

I've looked through piles and piles of CSS Menu examples all over the net, but I cannot find one that actually does it as yet! It'd make it more unique and a lot better. :)

#170 itsjust

  • Community Member
  • 51 posts
  • Real Name:chris

Posted 11 November 2007, 22:17

great contribution

anyone know an easy way of taking it out of its box settings, so that it can be placed anywere? I want to put it in my header

#171 DejaVu

  • Community Member
  • 289 posts
  • Real Name:Leon

Posted 13 November 2007, 20:28

I've installed cName & pName SEO URL's and now the CSS Menu no longer works.

Anyone know a fix?

#172 DejaVu

  • Community Member
  • 289 posts
  • Real Name:Leon

Posted 15 November 2007, 00:09

Turns out it was a 'Cache' problem.

I dont seem to be able to 'Cache' the CSS menu when visitors hit my site from http://www.mydomain.com or http://mydomain.com I think this is because there is no actual file to 'Cache' (http://www.mydomain.com/index.php)

Bug perhaps? Can it be fixed? I've turned 'Cache' off for now, which is a shame.

#173 sheenaw

  • Community Member
  • 22 posts
  • Real Name:Sheena

Posted 15 November 2007, 07:32

View PostDejaVu, on Nov 14 2007, 07:09 PM, said:

Turns out it was a 'Cache' problem.

I dont seem to be able to 'Cache' the CSS menu when visitors hit my site from http://www.mydomain.com or http://mydomain.com I think this is because there is no actual file to 'Cache' (http://www.mydomain.com/index.php)

Bug perhaps? Can it be fixed? I've turned 'Cache' off for now, which is a shame.

Does this mean that the contribution won't work with ultimate seo urls by chemo?
I'm working on multiple stores with multiple problems.

#174 tedbooks

  • Community Member
  • 144 posts
  • Real Name:ted books

Posted 18 November 2007, 18:08

i get an error if there is no category.
i am using it in a multi shop and sometimes there is no category or product entered yet
stupid situation yes but is there a way not to get error about array being empty

Edited by tedbooks, 18 November 2007, 18:09.


#175 pure11

  • Community Member
  • 122 posts
  • Real Name:haers

Posted 20 November 2007, 02:29

View PostDejaVu, on Nov 14 2007, 04:09 PM, said:

Turns out it was a 'Cache' problem.

I dont seem to be able to 'Cache' the CSS menu when visitors hit my site from http://www.mydomain.com or http://mydomain.com I think this is because there is no actual file to 'Cache' (http://www.mydomain.com/index.php)

Bug perhaps? Can it be fixed? I've turned 'Cache' off for now, which is a shame.


same problem i have SEO installed , i had to turn cache off just to the the menu to work and show up

and now turning the cache off the menu displays correctly

BUT

when clicking on any of the links on the menu i get this error:

Fatal error: Call to undefined function: read_cache() in /home/puregnet/public_html/shop/includes/classes/url_rewrite.php on line 215


i am sure it is because i have SEO G installed... any help ?

#176 pure11

  • Community Member
  • 122 posts
  • Real Name:haers

Posted 20 November 2007, 06:47

View Postpure11, on Nov 19 2007, 06:29 PM, said:

same problem i have SEO installed , i had to turn cache off just to the the menu to work and show up

and now turning the cache off the menu displays correctly

BUT

when clicking on any of the links on the menu i get this error:

Fatal error: Call to undefined function: read_cache() in /home/puregnet/public_html/shop/includes/classes/url_rewrite.php on line 215
i am sure it is because i have SEO G installed... any help ?

nevermind it was not seo g causing the problem

#177 meakip

  • Community Member
  • 3 posts
  • Real Name:patrick

Posted 22 November 2007, 10:19

View PostKopite, on Aug 16 2007, 12:22 PM, said:

Is there anyway to make the subcategories apear on the top of this menu ie underneatht he main categories?

Thanks


Hi, did you find out how to make the subcategories appear on the top as I would like to make mine do this.

regards

Patrick

#178 theantiquestore

  • Community Member
  • 583 posts
  • Real Name:Rachael
  • Gender:Female

Posted 25 November 2007, 18:37

Any suggestions as to how to setup the css on this to highlight the current category?

#179 konovko_m

  • Community Member
  • 1 posts
  • Real Name:Michel KONOVKO

Posted 05 December 2007, 07:08

View Postfear4me, on Oct 6 2006, 10:22 AM, said:

Hi!

I've just dropped CSS Menu version 0.1 at the contribution-page at osCommerce. This thread will be used to support this contribution. :thumbsup:

Roger

Hello and thanks for your great contribution. Just a little question : I try to use dropped CSS Menu version 0.3 , three times in the same page. But unfortunately it works only for the first dropped CSS Menu and doesn't work for two another dropped CSS Menu . Do you have any idea or advice to repare it?
For exemple in column_left.php we have :
dropped CSS Menu of categories
another copie of
dropped CSS Menu of categories
and once more
dropped CSS Menu of categories

and only the first menu works

Thanks,

Michel

#180 Hyperspace

  • Community Member
  • 17 posts
  • Real Name:Hyperspace

Posted 07 December 2007, 14:02

Quote

PERFECT !!!! Just what i was looking for.

Thanx m8






Quote

(heinzsight @ Jun 4 2007, 05:09 PM)
Thanks David for sending me the file. I have my menu working now and the code is below.

var menuids=["suckertree1","suckertree2","suckertree3"] //Enter id(s) of SuckerTree UL menus, separated by commas


<?php
  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);

//  new infoBoxHeading($info_box_contents, true, false);

  $info_box_contents = array();

 $info_box_contents[] = array('text' => //'<div class="suckerdiv"><ul id="suckertree3"><li><a href='.tep_href_link("index.php").'>Home</a></ul>' .
	'<a ' . tep_image(DIR_WS_IMAGES . 'infobox/Pictures.jpg', 'Galleries') . '</a>'
	. PrintSubMenus( 0, $languages_id, '' ). '<a ' . tep_image(DIR_WS_IMAGES . 'infobox/TravelInfob.jpg', 'Galleries') . '</a>'
	. '<div class="suckerdiv"><ul id="suckertree2"><li><a href='.tep_href_link("Tips.php").'>Travel Tips</a><a href='.tep_href_link("Tips.php").'>Culture</a><a href='.tep_href_link("Tips.php").'>Language</a><a href='.tep_href_link("Tips.php").'>History</a></ul></div>');

  $info_box_contents[] = array('text' => '<div class="suckerdiv"><ul id="suckertree3"><li><a href='.tep_href_link("links.php").'>Links</a><ul><li><a href="http://www.lonelyplanet.com/" target="_blank">Lonely Planet</a></li><li><a href="http://www.danheller.com/" target="_blank">Dan Heller</a></li><li><a href='.tep_href_link("rss.php").'>RSS Feed</a></li></ul>');
//  $info_box_contents[] = array('text' => PrintSubMenus( 0, $languages_id, '' ));
//  $info_box_contents[] = array('align' => 'center',
//							  'text'  => '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>');
//  $info_box_contents[] = array('align' => 'center',
//							   'text'  => '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '">' . BOX_SPECIALS_ALLPRODS . '</a>');
//  $info_box_contents[] = array('align' => 'center',
//							   'text' => '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . BOX_WHATSNEW_ALLPRODS .'</a>');							   

  new infoBox($info_box_contents);

?>
			</td>
		  </tr>

<!-- MenuConfigategories_eof //-->

As I am using a picture for my header I commented out new infoBoxHeading.

Hopefully it's be helpful to someone.

Hi, somebody knows ho to make this code multi language?