Page 1 of 1

Link to your site

Posted: 09 Mar 2006, 09:59
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

No problem

Posted: 09 Mar 2006, 10:47
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

Posted: 10 Mar 2006, 09:44
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