White grapics, but I want it black

Explorer like navigation tree for websites
Navigationsbaum für Internet Auftritte.
Post Reply
Guest

White grapics, but I want it black

Post by Guest »

I have a broblem that the graphis lines, expand and colapse are in white!
My background is white so they are not visable.
I checked the gif pics and they are black.
What makes this happens? I looked in the css files without finding any asnswer.

/Jonas
User avatar
Hans
Site Admin
Posts: 77
Joined: 16 Dec 2005, 16:52
Location: Germany
Contact:

White lines?

Post by Hans »

Hello 'Jonas',

the default images used for indenting are transparent with black dotted lines for showing the hierarchy. If you see white lines (?) the treemenu maybe doesn't have access to the images originally located in the gif-subdirectory. The css-files don't affect the line-color but only the background color behind the transparant gif's.

Did you change the directory structure without changing the path's inside TreeMenu or did you substitute the default images? Is it possible that your browser doesn't support transparent gif's (that would be amazing)?

If the above questions don't lead to success you may send me your (zipped) website to enable me looking for the amazing line colors.

I'd be happy to hear your results and hope the above hints are useful for you. For futher questions don't hesitate to ask again.

Thank you for using TreeMenu.
Hans Bauer
Your forum admin
Guest

Post by Guest »

The path is not changed...
(I tried to put a leading '/' in the path in treemenu.js file.

root <-- Here is the .asp file that shows the menu.
!
+-js
!
+-gif


Another problem:
tree = new treemenu('tree', true, false, false);
This gives me icons, but I don't want to have thoose.
User avatar
Hans
Site Admin
Posts: 77
Joined: 16 Dec 2005, 16:52
Location: Germany
Contact:

White lines and icons shown

Post by Hans »

Hi 'Jonas'.

1.) There usually is no base for images to be shown in colors not included within these images. Could you please right-click to the amazing images in the treemenu, choose properties in the context menu and check the path of the images loaded in your menu?

2.) If you don't want icons to be shown in the menu you may use 'false' as third argument during the instantiation of the TreeMenu. This will hide the icons for new visitors by default. But repeated visits will respect the menu-settings formerly saved in cookies, if the visitor allowed this. Then the cookies restore the state of the menu from the last visit. To open the menu with the menu-defaults you also should clear the cookies of your browser.

Hope this helps
Hans Bauer
Your forum admin
Guest

Post by Guest »

Ohh.. very quick answers here, unbelivable good service.

1.) http://localhost/gif/tieplus.gif

2.) It was the cookie problem as suggested!


Regards, Jonas
User avatar
Hans
Site Admin
Posts: 77
Joined: 16 Dec 2005, 16:52
Location: Germany
Contact:

What is open with 1)?

Post by Hans »

Hi 'Jonas',

To 1) Then the paths for the TreeMenu files should be by default:
- http://localhost/menu_eng.html
- http://localhost/js/treemenu.js
- http://localhost/gif/tieplus.gif
- http://localhost/css/treemenu.css
Is this correct for your installation on your local pc (localhost)? Are the lines in your gif/tieplus.gif white or different to the shown image?

To 2) Happy to hear success.

Hans Bauer
Your forum admin
Guest

Post by Guest »

I've unzipped the projekjt once more an overwrote the maps: css, js and gif.
Then i deleted the webbrowers cash.

And LOOK IT WORKS! I don't know what the problem was, but it's solved.

An idea for improvment:

If you don't want a "headline" and still want to se the '+' and '-' pics to the left:

Now:

Menu
!
+-Item 1
!
+-Item 2
!
+-Item 2.1


Item 1
Item 2
!
+- Item 2.1


Suggestion:

Item 1
+Item 2
!
+- Item 2.1


And not last: Thanks for a great menu system!!!
User avatar
Hans
Site Admin
Posts: 77
Joined: 16 Dec 2005, 16:52
Location: Germany
Contact:

Wonderful

Post by Hans »

Hi 'Jonas',

thank you for your flowers.

To change the look of the TreeMenu you also might overwrite the images used for indenting in the subdirectory gif. E.g. to remove vertical lines you can overwrite gif/passline.gif.

Happy usage of TreeMenu wishes
Hans Bauer
Your forum admin
Post Reply