| This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy. Visit the NEW ZetaBoards Support forum! |
- Pages:
- 1
- 2
| Add Dropdowns; Simple Yet Effective :) | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Topic Started: Dec 3 2007, 08:17 PM (3,968 Views) | |||||||||||||||||
| Chris | Dec 3 2007, 08:17 PM Post #1 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Name: Add Dropdowns Description This script will add a drop down to any menu at the top, such as Preferences, or Inbox. You just need to know how tell the script which section to add to. This function can be used any amount of times as needed. However, you need to make sure you ID correctly or it will not work. I've taken the liberty of providing the ID's of the four, as well as an example of the first Variable in the function:
Preview No preview at this time. Installation [The Function]: Admin CP → Board Template: Below The Board
[The Execution]: Wherever
Just as a notice, you would not simply put out the Execution part. It needs to be inside a script tag wherever you need it. Ex:
Edited by Chris, Dec 3 2007, 08:27 PM.
|
||||||||||||||||
![]() |
|
||||||||||||||||
| Eureka | Dec 3 2007, 10:06 PM Post #2 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]()
|
It's a good idea dude. I personally like it but I think it can be more user-friendly. | ||||||||||||||||
![]() |
|
||||||||||||||||
| Chris | Dec 3 2007, 10:30 PM Post #3 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Its part of my Easy Manager script series to be. I thought it would be nice to put it out separately from the main code
|
||||||||||||||||
![]() |
|
||||||||||||||||
| Eureka | Dec 3 2007, 10:32 PM Post #4 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]()
|
Ah, well then I'm looking forward to that then. Best of luck dude. | ||||||||||||||||
![]() |
|
||||||||||||||||
| badtzmaru | Dec 4 2007, 01:45 PM Post #5 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thank you! I'm going to track this topic in case I want to use it in the future. I read through your instructions a couple of time, and I think I get it although I haven't tried it out yet to see if I fully understand. You did a great job explaining this for newbies like me! ![]() P.S. How did you make that table? @_@;; |
||||||||||||||||
![]() |
|
||||||||||||||||
| Eureka | Dec 4 2007, 01:48 PM Post #6 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]()
|
Using BBCode. ![]() Here, I'll post his for you in code format.
Edited by Eureka, Dec 4 2007, 02:01 PM.
|
||||||||||||||||
![]() |
|
||||||||||||||||
| badtzmaru | Dec 4 2007, 01:52 PM Post #7 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thank youu... +_+ Yess, this is what I wanted... >:) *studies code* |
||||||||||||||||
![]() |
|
||||||||||||||||
| Chris | Dec 4 2007, 07:44 PM Post #8 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Its a little something different for documentation purposes. I've never tried it this way, but it is modeled after the http://php.net function pages. I hope it makes some sense. And for explanations of this: The Blue is telling you what type of variable should be used. In all three cases, it is a String - which can be anything. Strings are not the only ones that exist though.
Edited by Chris, Dec 4 2007, 07:48 PM.
|
||||||||||||||||
![]() |
|
||||||||||||||||
| Ruzarik | Dec 4 2007, 09:46 PM Post #9 | ||||||||||||||||
|
Leader of the Rogue Army
![]() ![]() ![]() ![]()
|
It seems a bit complex. And I think I saw another one of this kind somewhere else on this site. | ||||||||||||||||
![]() |
|
||||||||||||||||
| Ambrosia | May 21 2008, 07:29 PM Post #10 | ||||||||||||||||
|
Member
![]() ![]() ![]() ![]()
|
So let's say I want a drop down menu and in it 2 names 'Jizo' & 'Rimbo' (under eachother offcourse). When they are clicked on it takes a user to 'compose a message' to either one of those respectively (with the name automatically filled in and all. Would that be possible? And if it can be positioned between Preferences and Report CP that would be grand. As users don't see ReportCP and AdminCP, unless the new menu will automatically allign itself next to whichever box a user sees. If it's possible please write the full code and highlight the part I can edit with a particular users ID (so the PM doesn't get sent to someone else). With the name of the dropdown menu being 'Admin PM'. Example: Admin PM > Jizo/Rimbo> http://s1.zetaboards.com/Individual/msg/?c=2&mid=117463 Red being the part that can be changed and more users can be added to the list if necessary. Edited by Ambrosia, May 21 2008, 07:37 PM.
|
||||||||||||||||
![]() |
|
||||||||||||||||
| 1 user reading this topic (1 Guest and 0 Anonymous) | |||||||||||||||||
| Go to Next Page | |
| « Previous Topic · User Created Codes · Next Topic » |
- Pages:
- 1
- 2




![]](http://209.85.62.24/static/1/pip_r.png)




3:03 PM Nov 22