Link to your site

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

Link to your site

Post by Åsa »

An other question from me.

The link to your site in the text "Created with Treemenu" opens in the same window as my site. I would like to open a new window to show your site in. Is that possible to do?

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

No problem

Post by Hans »

Hello Asa,

sure you can change the link to open in a new window. To do this, open the file 'js/treemenu.js' and go to the routine

Code: Select all

treemenu.prototype.writeCreatedWithTreeMenu = function()
seach the line

Code: Select all

else      { target = '_parent';
and change the line to

Code: Select all

else      { target = '_blank';
Then save the file and upload it to your server, replacing the old version. When trying to check the changes, you might have to previously clear your browser-cache to ensure that the new version is loaded.

I hope this helps and i would be happy to hear some feedback from you.

Thanks for using TreeMenu.
Hans
Your forum admin
Åsa

Post by Åsa »

That helped much! Thanks alot! :D

This is the only menu that I´ve found which is exactly what I need. The menu can both show a side and expand the menu. I will use this menu a lot. Very good that the user can change everything.

I opened and looked at treemenu.js and I figured that I should change something in that function but I´m not good att js so I thought that it´s best to ask. Great support by the way!

Thanks again from a very pleased user.

Åsa
Post Reply