| Author |
Message / Information |
Kwama King that one guy...

| JavaScript posted on: 8/31/2003 9:43:06 AM This is a very simple example of some JavaScript, its basically HTML, but it has JavaScript Elements,
this is a drop down menu script, all you need to do is change the text and links to what you want..
<BODY> <form name="jump"> <select name="menu"> <option value="LINK">TEXT</option> <option value="LINK">TEXT</option> <option value="LINK">TEXT</option> </select> <input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO"> </form>
|
Arch
MUSICIAN

|
JavaScript
replied on: 10/13/2003 4:18:33 PM
copied and pasted form the source is what it looks like. but i could be wrong like usual
|
BLauritson
Death Lord

|
JavaScript
replied on: 11/22/2003 11:47:31 AM
Are the form tags really necessary in this case?
|
ShikuVene

|
JavaScript
replied on: 12/18/2003 1:05:45 PM
I'm not sure... are they?
Also:
<a onClick:"javascript:alert('what you want to put here')">CLICK HERE</a>
|
BLauritson
Death Lord

|
JavaScript
replied on: 12/18/2003 1:41:23 PM
It's "onClick=" not "onClick:"
|
Kwama King
that one guy...

|
JavaScript
replied on: 12/19/2003 11:53:05 AM
wow your a quick one BL.
|
BLauritson
Death Lord

|
JavaScript
replied on: 12/20/2003 8:45:25 AM
Yeah, only took 35 minutes to notice it!
|
Kwama King
that one guy...

|
JavaScript
replied on: 12/21/2003 4:37:33 PM
HAHA!
|
xdrunkcowx

|
JavaScript
replied on: 12/21/2003 4:52:37 PM
You dont need form. Form is used to idintify what information to send in a form. And your only doing one thing so you dont need it.
|
Kwama King
that one guy...

|
JavaScript
replied on: 12/21/2003 4:58:07 PM
and usually when you have form tags, you are using PHP to submit a form or something..
thats something you should post about in the PHP forum..
|
xdrunkcowx

|
JavaScript
replied on: 12/21/2003 5:42:29 PM
Okay in php ill write a quick tut on how to use a form and php
|
Kwama King
that one guy...

|
JavaScript
replied on: 12/21/2003 5:50:33 PM
k
|
DorM

|
JavaScript
replied on: 12/30/2003 3:51:18 AM
quote: This is a very simple example of some JavaScript, its basically HTML, but it has JavaScript Elements,
this is a drop down menu script, all you need to do is change the text and links to what you want..
<BODY> <form name="jump"> <select name="menu"> <option value="LINK">TEXT</option> <option value="LINK">TEXT</option> <option value="LINK">TEXT</option> </select> <input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO"> </form>
you can write that much easier mate... when i'll have time i will...
|
BLauritson
Death Lord

|
JavaScript
replied on: 12/30/2003 1:12:22 PM
It's possible to do that without needing a button using the onselect event.
|
Kwama King
that one guy...

|
JavaScript
replied on: 1/5/2004 4:51:28 PM
no shit amigo's.. fucking god..
IM JUST POSTING EXAMPLES! I WASNT POSTING THE WHOLE GOD DAMNED JAVASCRIPTING LANGUAGE!
|
DorM

|
JavaScript
replied on: 1/9/2004 8:52:03 AM
quote: no shit amigo's.. fucking god..
IM JUST POSTING EXAMPLES! I WASNT POSTING THE WHOLE GOD DAMNED JAVASCRIPTING LANGUAGE!
<img src=http://smilies.crowd9.com/contrib/blackeye/gmorning.gif>
why not?
|
LinkBot
|
Gamers Wanted is looking for people to write game reviews and post news, if your interested please visit Gamers Wanted About Us Page
|