Drop-Down Option Form (Friends List)

You probably haven't seen as many of these as you have seen Option Form's with myspace links.

The code is a bit different, but I think simpler.

So, you start out with your Option Form, view the Creating a Drop-Down Option Form (myspace links) Tutorial if you do not know how, but create it without the values inside the action="", name="", and value="" attributes..

So, it will be blank as shown below.
[code:1:ed2ee293eb]<form action="" method="GET">
<select name="">
<option value="">Kevin</option>
<option value="">Alecia</option>
<option value="">Aaron</option>
<option value="">Lisa</option>
<option value="">Jesse</option>
<option value="">Frank</option>
<option value="">Jose</option>
<option value="">Jacob</option>
</select>
<input type="submit" value="Go!">
</form>[/code:1:ed2ee293eb]

Now, we know that we need to start off w/ the same URL as in the other Tutorial by looking at an example URL...
[b:ed2ee293eb]http://profile.myspace.com/index.cfm[/b:ed2ee293eb]?fuseaction=user.viewprofile&friendid=friendID

We also know what needs to be added on second...
http://profile.myspace.com/index.cfm?[b:ed2ee293eb]fuseaction[/b:ed2ee293eb]=user.viewprofile&friendid=friendID

Also, b/c the values are going to be the unique variables again, we know that they are going to be the friendID's... and are going to be entered in last...

So, the part in between, highlighted below, is going to be inserted through a hidden input...
http://profile.myspace.com/index.cfm?fuseaction=[b:ed2ee293eb]user.viewprofile[/b:ed2ee293eb]&friendid=friendID

I have filled in where they are supposed to go below. As you see, it is very similar to the other Option Form, except this one has parts of the URL being inserted before the selected add on to the link...
Just fill it out, with your friends friendID's and their names...

[code:1:ed2ee293eb]<form action="http://profile.myspace.com/index.cfm" method="GET">
<input type="hidden" name="fuseaction" value="user.viewprofile">
<select name="friendid">
<option value="Kevin's friendID">Kevin</option>
<option value="Alecia's friendID">Alecia</option>
<option value="Aaron's friendID">Aaron</option>
<option value="Lisa's friendID">Lisa</option>
<option value="Jesse's friendID">Jesse</option>
<option value="Frank's friendID">Frank</option>
<option value="Jose's friendID">Jose</option>
<option value="Jacob's friendID">Jacob</option>
</select>
<input type="submit" value="Go!">
</form>[/code:1:ed2ee293eb]

© 2004-2017 MyGen.co.uk. All rights reserved.
MyGen v2.6 - 136783747 Unique Visitors
This page was created in 1.032 seconds
Privacy Policy

eXTReMe Tracker