| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > JavaScript: Общие вопросы > dtree help |
| Автор: dtree help 10.12.2004, 14:26 | ||
| anyone knows agood dtree that is like in the IPB or/and vb forums in the admin area! u have like: |----cat 1------- ||----subcat1 ||----subcat2 ||----subcat3 ||----subcat4 ||----subcat5 |----cat 2------- ||----subcat1 ||----subcat2 ||----subcat3 ||----subcat4 ||----subcat5 and it will work JUST like in the IPB or/and vb forums in the admin area! I made something but when i press on acat and it show me all here sub cats and i press on a subcat it links me to the destination and auto closes the whole dtree do u know why? here is the code: i used a var as the cat id wich is 1!
tnx in advance! |
| Автор: Alx 10.12.2004, 17:22 | ||
а по-русски мы разговаривать не умеем? тогда хотя бы по английски научились...
Добавлено @ 17:23 и JS тут не причём. такое меню, как в админкке IPB написано на PHP&MySQL |
| Автор: 50cent 10.12.2004, 17:50 |
| could u post that in english i dont understand russion |
| Автор: Aliance 10.12.2004, 19:57 | ||
| 50cent Hello. Firstly, register here, please. Can you tell us, why do you need it? Unfortunatly, I don't know
What's this? To your mind, it's a russian forum. Everybody speaks russian here ;) |
| Автор: 50cent 10.12.2004, 21:39 |
| i know it is russian forum but still .... i need a javascript that makes a dtree like in the ipb admin area like in this forum in the admin area u have a dtree click on this link: http://demo.invisionboard.com/v2/admin.php user: demo pass: demo u will se on the left a menu how can i make one just like that?? tnx! |
| Автор: Aliance 10.12.2004, 21:50 |
| If you have managed to use the search you would have found many topics, like this: http://forum.vingrad.ru/index.php?showtopic=33476 and this: http://forum.vingrad.ru/index.php?showtopic=31406 With best regards... Hope it's that you need... Добавлено @ 21:54 Also, to make design better, I can give you some script of menu like which is in Outlook Express. If you join it - it will be nice menu :^) PS: Sorry for my "English", as you understand I'm russian =))) |
| Автор: 50cent 10.12.2004, 22:07 |
| well tnx for your help but u gave me links to russian language if it is posible plz post your msn or icq so i could talk to u instantly! here are myn 178801680 commander01_gav@hotmail.com plz login to my conctact list! tnx |
| Автор: Aliance 10.12.2004, 22:12 |
| Okey... for a additional I can say, that scripts are wrote on English... you can manage to understand it ))) |
| Автор: 50cent 10.12.2004, 22:20 |
| ye i kinda notiched that! but i need it not to look like that!! i need it to be exacly like in the ipb admin area u saw it! not: +cat |-subcat |-subcat | +cat |-subcat |-subcat | |+cat |-subcat |-subcat i need it to look like: -----cat------- |--subcat |--subcat ------cat------ |--subcat |--subcat like that! |
| Автор: Alx 10.12.2004, 22:28 |
| Господи, ну объясните вы ему, что это PHP! пересылаем скрипту параметры и он выводит -- закрыто ли меню или нет! Добавлено @ 22:31 а, нет! если ему нужно, как во второй IPB, то там JavaScript. тогда дайте ему эту ссылку: http://www.destroydrop.com/javascripts/tree/ 50cent you can visit it, it's a nice menu... Добавлено @ 22:35 probably, u need just a same as admin area? then you may download this script... |
| Автор: 50cent 10.12.2004, 23:06 |
| as i said i dont need this kind of menu: +cat |-subcat |-subcat | +cat |-subcat |-subcat | |+cat |-subcat |-subcat i need it to look like: -----cat------- |--subcat |--subcat ------cat------ |--subcat |--subcat tnx anyway! |
| Автор: Alx 10.12.2004, 23:19 |
| I can't understand what do you want u'll only have to configure the nodes as you need. it's easy. good luck ;) |
| Автор: 50cent 10.12.2004, 23:24 |
| wow tnx!! |
| Автор: Alx 10.12.2004, 23:25 | ||
| ok, all's done, you can see it now! Добавлено @ 23:27
u're always welcome |
| Автор: 50cent 10.12.2004, 23:31 |
| tnx but i am using for each cat as the cat number like the first cat i put var = 1 and so on so could u cange the script to show only one menu not 10 menus and could u make that around the menus there wouldnt be a color likr red yellow! tnx |
| Автор: GoodBoy 11.12.2004, 13:35 |
| вот черти нерусские!!!! :-)))))))) |
| Автор: 50cent 11.12.2004, 16:14 | ||
| english plz.... I made something but when i press on acat and it show me all here sub cats and i press on a subcat it links me to the destination and auto closes the whole dtree do u know why? here is the code: i used a var as the cat id wich is 1!
tnx in advance! |
| Автор: Aliance 11.12.2004, 16:21 |
| 50cent I think you have to use "cookies" for it =) |
| Автор: 50cent 11.12.2004, 16:23 |
| can u edit it so it will be ok? |
| Автор: Aliance 11.12.2004, 16:29 |
| 50cent Is your script full? I don't think so... Plz, write it all... So I can make it right |