Customizing SMF > Modifications and Packages
Page Dropdown
SoLoGHoST:
--- Quote from: Arantor on July 27, 2009, 11:29:59 AM ---You'd be surprised how much extra work that might actually generate - but again I thank you for the suggestion and will consider it in the next version.
--- End quote ---
I am well aware of the work that would be needed to accomplish this. An easier way would be to just look at how the JumpTo Box does this.
In any case, Thanks and a very nice MOD indeed :)
Arantor:
Whoa, that's a LOT of Javascript right there (compared to the one line I'm using!). It should be doable without needing that much JS but we'll see. I have a few other things in the pot right now that will come ahead of upgrading this, but I should get to it soon enough.
LHW:
We've got nearly 40 Mods installed on our board, and this one installed without a hitch. Nice job!
SoLoGHoST:
First, let me just say that I hope I am not disrupting your Support Area for this MOD with my topics. If this is the case, I sincerely apologize and will dismiss myself from it now. As this is not my intention.
With that being said, Very little to no Javascript would even be needed, maybe just to check if JS is enabled or not. Haven't checked to see how you have coded the select box with option tags in it. But it would seem that it is a form and the form has an action that gets sent everytime an option is changed. So, this being the case, I would then assume that each option tag has a value, so if this is the case all that needs to be done is when the "GO" button is clicked on, submit the form, and whereever it get's submitted to, check the selectbox name for a value, and any other hidden values that may be needed (for example topic id, board id, etc.) have those value's get passed and redirectexit to the page it requested in that topic, and TADA. Basically, will set the start, limit values accordingly in this function.
Well, I believe I have wore out my welcome in here. Just wanted to give you an idea on how to do this, though, you are probably already aware of this.
Solomon
Afro:
Nice and simple. Welldone
Is there a way to remove other pages ...
I mean the initial 1,2,3.....
and allow everything to be on the dropdown..
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version