Welcome Guest [Log In] [Register]



Add Reply
My First Script :)
Topic Started: Jun 29 2006, 09:30 PM (448 Views)
rig
1a5a6a4
Administrators
My first script :) Please post comments... but be nice.

Quote:
 
<script type="text/javascript">
// Rigs first script (not test but script)
function show_mes()
{
alert("Change this text whatever you want!")
document.all("Button").focus()
}</script>
<form>
<input type="button" value="Button" name="Button" onClick="show_mes()" /></form>


Its a button that when you click on it, it shows a message you get to choose.
Posted Image
Offline Profile Quote Post Goto Top
 
King Elemento
3a4a1
Administrators
I think you're also supposed to post what it does...
Offline Profile Quote Post Goto Top
 
rig
1a5a6a4
Administrators
Ok... ill know for next time.
Posted Image
Offline Profile Quote Post Goto Top
 
ari_aaron
Member Avatar
1a4
Root Administrator
This is kind of useless for IF.

Moved to javascript

My msn: Posted Image
Posted Image
If anyone wants GMail or Windows Live Messenger invites, PM me!
Offline Profile Quote Post Goto Top
 
rig
1a5a6a4
Administrators
Arent all those codes actually javascript? Shouldnt they all really be put into this forum? :huh: And my other code does have to do with ibf... use it for something on your forum. I found use of my first code on my forum...
Posted Image
Offline Profile Quote Post Goto Top
 
ari_aaron
Member Avatar
1a4
Root Administrator
That forum is for compleated codes, and requests. You can also discuss them. As you get more into it, you will see that IF codes are diffrent than global javascript scripts. (i.e. they are specificly set to change certain elements in the IF source.) Your's just seems to be a regular javascript script, which, in this state, has no use in an IF forum. If you change it to be more suited to a forum (show member stats, forum stats, etc.), than you could move it back, or start a new topic.

My msn: Posted Image
Posted Image
If anyone wants GMail or Windows Live Messenger invites, PM me!
Offline Profile Quote Post Goto Top
 
rig
1a5a6a4
Administrators
K, im also working on a money script and if i get a good one ill try making an rpg using it otherwise ill just use a basic other script...
Posted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Javascript · Next Topic »
Add Reply


Theme designed by Sith of Outline