Tired of seeing ads? Click here to upgrade to Elite Membership!



Technologically Advanced Gaming

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

Avatar



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
Avatar



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
Avatar



JavaScript
replied on: 11/22/2003 11:47:31 AM

Are the form tags really necessary in this case?
ShikuVene

Avatar



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
Avatar



JavaScript
replied on: 12/18/2003 1:41:23 PM

It's "onClick=" not "onClick:"
Kwama King
that one guy...
Avatar



JavaScript
replied on: 12/19/2003 11:53:05 AM

wow your a quick one BL.
BLauritson
Death Lord
Avatar



JavaScript
replied on: 12/20/2003 8:45:25 AM

Yeah, only took 35 minutes to notice it!
Kwama King
that one guy...
Avatar



JavaScript
replied on: 12/21/2003 4:37:33 PM

HAHA!
xdrunkcowx

Avatar



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...
Avatar



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

Avatar



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...
Avatar



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

k
DorM

Avatar



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
Avatar



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...
Avatar



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

Avatar



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




 

Created and Designed by Kwama King © Copyright 2003


Contact Administrator (must be logged in)


Tired of seeing ads? Click here to upgrade to Elite Membership!


ChatArea.com Help & News Forums | Terms of Use | Contact ChatArea.com | Advertising

Powered By ChatArea.com - Get your free Society today! © Copyright 2003 Wewp!