Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Drop-down menu for myadopt.php [SOLVED]
The solution (thanks to Bloodrun) is below.
PHP Code:
Quote:
|
#2
|
||||
|
||||
RE: Drop-down menu for myadopt.php
Um, you will need to do one of two things.
Either implement ajax this with this function. This is the hardest of the two options. Or simple make it so that the drop down menu of the adoptable names will lead the person to another page. |
#3
|
|||
|
|||
RE: Drop-down menu for myadopt.php
Quote:
I believe it is conflicting with this in the original code but I'm not sure: PHP Code:
|
#4
|
||||
|
||||
RE: Drop-down menu for myadopt.php
Quote:
But I know you wrote the code wrong for the drop-down menu. I would have to see this Name Change page your talking about, (the coding that is) before I could give you an honest answer on where to put your drop-down menu code. |
#5
|
|||
|
|||
RE: Drop-down menu for myadopt.php
Here is the code for the rename action without the drop-down menu code I wrote (Because I don't know where to put it to make it work).
I've made several changes to Brandon's original code but none of these changes should conflict with the drop-down menu I think. Sorry for the horizontal scrolling. PHP Code:
|
#6
|
||||
|
||||
RE: Drop-down menu for myadopt.php
Quote:
What purpose would it be for? You need to explain this to me, because there is more then one function on this page. |
#7
|
|||
|
|||
RE: Drop-down menu for myadopt.php
I want users to easily be able to navigate from one adoptable to another when managing, viewing stats, getting codes, renaming, freezing, unfreezing and killing adoptables (which are all existing actions in brandon's original myadopt.php file).
So on each of the myadopt.php action pages I would like to have a drop-down menu that lists all of the user's existing adoptables. For example, if the user is on the rename page for their first adoptable (myadopts.php?act=rename&id=1), after they rename adoptable 1, they can then choose adoptable 2 from the drop-down menu allowing them to navigate to the adoptable 2's rename page (myadopts.php?act=rename&id=2). This is more convenient for the user and reduces the number of steps they need to do in order to manage multiple adoptables. |
#8
|
||||
|
||||
RE: Drop-down menu for myadopt.php
Quote:
So im trying to think of what you should do... I think the easiest thing to do, would be to not incorporate the drop down menu with the actual coding on the rename page, but to have it on the page, so that when you rename one pet the drop down menu will show on the success page. Then your users can choose another pet from the success screen, then just make the "Click Here to Submit" Button, or whatever your going to call it, lead back to the Rename page. Please tell me you followed that, because it will be a little bit before I can work up an example for you. |
#9
|
|||
|
|||
RE: Drop-down menu for myadopt.php
Quote:
I think adding the drop down menu to the success page would be a good idea. The only problem I am really having is listing the existing adoptables the user owns on the rename page and other myadopts pages including the success page. If we could list them on the success page, I think that would solve my problem. Please note that I will be away 09/26-10/3 so feel free to postpone working on any of this until I return. I really appreciate all your help. Thank you. |
#10
|
||||
|
||||
RE: Drop-down menu for myadopt.php
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drop Down List to Use Item Messed Up | Abronsyth | Questions and Supports | 4 | 12-30-2014 10:37 AM |
Creating a drop down list within FORM to SHOW | FounderSim | Questions and Supports | 6 | 09-27-2014 04:39 PM |
Too many drop down bars? | Infernette | Questions and Supports | 4 | 01-29-2013 04:01 PM |
dropdown menu? | AlexC | Questions and Supports | 35 | 12-27-2011 05:50 PM |
HTML Drop-down Menu | Knyfe | Tutorials and Tips | 2 | 02-17-2011 04:03 PM |
What's New? |
What's Hot? |
What's Popular? |