 |
|
 |
Hi,
I dont think I need say much about the work as you have already been praised alot although I liked your home page alot.
Question
I was wondering about the same thing as posted below. For example if we open a folder and sub-folder underneath, on clicking the other main folder the previous folder can be closed. Have you addeded this functionality?
If yes - It will be greate if you could paste the link.
Also I was trying to access the link which combines the funcationality of both leftmenu and tree menu. Is it possible to have that link pasted again because hat doesn't work.
Thanks,
Sameer.
Sameer
|
|
|
|
 |
|
 |
Hello.
Thanks for your Javascript Tree.
I'm going to use it to hold several thousands of nodes.
Has there been any plan to include a cookie feature that will remember the state of the tree when refreshing the page?
Thanks.
palabat
|
|
|
|
 |
|
 |
JavaScript isn't my strongest language, I barely grasp the basics. Anyway, I have been 'Googling' for days and tested the things I've found. Nothing worked for me.
Until I found this article, that is. I should have just started here (Code Project) first.
I still need to fine tune it, but the fact that it's working 'right out of the box' is a huge burden lifted off of my shoulders. Of course, credit is given where credit is due. So that's in place in the JavaScript Code.
So to sum this all up...I owe you a huge THANKS!!!!
|
|
|
|
 |
|
 |
When viewing another (long) webpage in the right-hand portion of the site, no scrollbar is available.
Using page down works, but a scroll would be quite helpful.
Possible solutions?
|
|
|
|
 |
|
 |
Just put parameter - scroll=yes - in the body tag.
|
|
|
|
 |
|
 |
This fix only works if the page being linked to is local, thereby allowing one to insert the scroll code in the body tag, and even then only in IE (tested IE and Firefox). How might one make a general solution for all sites?
Thanks for the advice.
|
|
|
|
 |
|
 |
Humm, try to force scroll bars by CSS.
|
|
|
|
 |
|
 |
Figured it out - in the index.html file, delete (scrolling="no") from each of the frame tags.
Nice work, btw.
|
|
|
|
 |
|
 |
Your Are Beautiful ...
It's very very useful for me ...
I'll add this page in my website.
Good Luck
Eslamifar, Mohsen.
Tehran, Iran.
|
|
|
|
 |
|
 |
This code very simple for all. And very useful. Thanx, Thanx , Thanx
aLwAyS wItH cOmPuTeRs
|
|
|
|
 |
|
 |
very simple to understand & implement.
Pavi
|
|
|
|
 |
|
 |
just one html file #-------------------html ----------------begin <html> <head> <title>Tree Menu</title> </head> <script language="javascript" type="text/javascript"> <!-- function tog(item){ obj=document.getElementById(item); visible=(obj.style.display!="none"); key=document.getElementById("x" + item); if (visible) { obj.style.display="none"; key.innerHTML="+"; } else { obj.style.display="block"; key.innerHTML="-"; } } function expall(item,yes){ obj=document.getElementById(item); arr=obj.getElementsByTagName("UL"); for (i=0;i<arr.length;i++) { key=document.getElementById("x" + arr[i].id); if(yes){ arr[i].style.display="block"; key.innerHTML="-"; }else{ arr[i].style.display="none"; key.innerHTML="+"; } } } //--> </script> <div id='tree'> <a id='xall' href="javascript:tog('all');">+</a> <ul id='all' style="display:none;"> <li>child1</li> <li ><a id='xfather' href="javascript:tog('father');">+</a>father <ul id='father' style="display:none;"> <li>child2</li> <li>child3</li> </ul> </li> </ul> </div> <p><a href="javascript:expall('tree',1);">Expand All</a> -- <a href="javascript:expall('tree',0);">Collapse All</a></p> <p>Extended from <a href="http://www.codeproject.com/jscript/treemenu.asp">Marcelo Franco</a>'s tree menu.</p> </body> </html> #-------------------html ----------------end
|
|
|
|
 |
|
 |
Does anyone knows how to use xsl to generate html,from a xml file to this menu. I'm having probs with that so if anyone can give me a hand tks.
|
|
|
|
 |
|
|
 |
|
 |
The problem is: Microsoft JScript runtime error 'document' is undefined line = 3, col = 3 (line is offset from the start of the script block...
|
|
|
|
 |
|
 |
You say its NS4+ compatable, but I couldn't get it running on the Netscape 4 I have installed for testing.
Also, if im using it in a page without frames, is it possible for the menu not to collapse when the page reloads?
I love it otherwise, considering it for use in a backend system...
|
|
|
|
 |
|
 |
Its the same for me on Netscape® Communicator 4.75
|
|
|
|
 |
|
 |
It works on a Portuguese version of netscape 4.7. The code can be modified to not collapse when the page reload. But I have no time to do this work for now. Sorry.
|
|
|
|
 |
|
 |
it's seem to be very clear coding and attractive interface , well done;)
|
|
|
|
 |
|
 |
You're welcome.
|
|
|
|
 |
|
 |
Parabéns, Marcelo!!
Andei pesquisando inúmeros códigos para a criação de treeviews e não encontrei algum tão simples quanto o seu. Manda a brasa aí e mostra pra galera que aqui na nossa terra tem cabeça boa também, meu chapa!!
Grande abraço!!
|
|
|
|
 |
|
 |
test
http://www.programmersnet.com
|
|
|
|
 |
|
|
 |