![](http://content.invisioncic.com/r49260/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Chocolate570
-
Posts
1,550 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Posts posted by Chocolate570
-
-
Ok, i've spent the last few daqys avoiding my computer. Sad isn't it. (there's a point here.) Do you want to know why? I CANT GET THIS STUPID SCRIPT TO WORK! AHHH!I'm done.Basically, what the script does is get the value of a textarea, then checks if it contains a phrase. What I want it to do is check for multiple phrases, but that's a different story. Currently, my regxp doesn't work, and my match() doesn't work. Can anyone tell me what the heck i'm doing wrong?
<script type="text/javascript">////////////////////////////////////////*PostMOD Script NEAY(not even alpha yet)©Chocolate570 2005Editing anything could resultin faliure of execution(the thing might blow up)*///////////////////////////////////////if(document.REPLIER){ document.REPLIER.submit.onclick= checkModKey();}function checkModKey(){ re=/test/g PostVal = document.REPLIER.Post.value; if(PostVal.match(re)) { alert(PostVal); return false; }}</script>
-
Personally, I won't touch IE or any other browser unless I wanna view really cool SVG. But I heard firefox is coming out with SVG recognition, I can't wait!
-
<script type="text/javascript">var name=prompt("What's your name?");document.getElementById("divid").innerHTML="Hello "+name+", how are you today?"</script><div id="divid"></div>
Final code.
-
~HELP~
in HTML/XHTML
I suggest learning the following languages completely before even attempting such a feat. The important ones are in bold:HTMLCSSPHPSQL(MySQL, Etc.)JavaScriptGood luck.
-
Thanks so much! It worked beautifully.
-
Please stay on topic. Thanks.
-
Unfortunatley, the lightwaves that you emit from your eyes are not helping W3schools yet. Until they get payed ads on here.
-
Well, you could use this:<META HTTP-EQUIV="refresh" content="15"; url="url of page">
-
That's exactly what I want, except for the fact that i'm going to have around like 8 buttons, and doing a function for each of them is going to be annoying. Instead of javascript, can someone do it with the onmouseover="this.src=''" thing? :S
-
Doing that would be easy, but tedious. You should use an SQL database with PHP, let the students submit the activities, and it will automatically be put in to the page.
-
Could anyone make the code for me? It jst isn't working, i don't know what's wrong. Here are the three images:images/Buttons/quests-unactive.pngimages/Buttons/quests-active.pngimages/Buttons/quests-clicked.pngThe names explain it all. Thanks so much. This is kinda sad, isn't it....
-
document.write("<table border='0' cellpadding='5' align='center'>");document.write("<h5>");document.write("<tr>");document.write("<td><a href='http://briansplace.fcpages.com'>Back to Main Page</a></td>");document.write("<td><a href='http://briansplace.fcpages.com/raceskills.html'>Race/Skills List</a></td>");document.write("<td><a href='http://briansplace.fcpages.com/patriotpub.html'>Dragonball Evolution Member Pics</a></td>");document.write("</tr><tr>");document.write("<td><a href='http://www.geocities.com/toalinree/'target='_blank'>Dragonball Evolution Website</a></td>");document.write("<td><a href='http://jail-bait.net/dbe/'target='_blank'>Dragonball Evolution Forum</a></td>");document.write("<td><a href='http://pub36.bravenet.com/forum/3074625174'target='_blank'>Comments about this site</a></td>");document.write("</tr>");document.write("</tr></table>");document.write("</h5>");document.write("<center>Send your pictures to <i>Brian5@email.com</i></center>");
Either that, which will not make the "Brian5@email.com" a heading, or this:
document.write("<h5>");document.write("<table border='0' cellpadding='5' align='center'>");document.write("<tr>");document.write("<td><a href='http://briansplace.fcpages.com'>Back to Main Page</a></td>");document.write("<td><a href='http://briansplace.fcpages.com/raceskills.html'>Race/Skills List</a></td>");document.write("<td><a href='http://briansplace.fcpages.com/patriotpub.html'>Dragonball Evolution Member Pics</a></td>");document.write("</tr><tr>");document.write("<td><a href='http://www.geocities.com/toalinree/'target='_blank'>Dragonball Evolution Website</a></td>");document.write("<td><a href='http://jail-bait.net/dbe/'target='_blank'>Dragonball Evolution Forum</a></td>");document.write("<td><a href='http://pub36.bravenet.com/forum/3074625174'target='_blank'>Comments about this site</a></td>");document.write("</tr>");document.write("</tr></table>");document.write("<center>Send your pictures to <i>Brian5@email.com</i></center>");document.write("</h5>");
-
I don't know how to answer either question. For the logo part, i just dont see any reason it should be so low. For the second part, i don't understand. You wouldn't use CSS, you'd use html. Could you explain a bit more?
-
Hmm...try this then?
<script type="text/javascript">function goThing(who) {x=document.getElementById(who).value;if(isNaN(x)){alert("Not a number, can not continue.")return;}eval("x+1")}</script>
-
Ok.I have a button on my site. I have created 3 button images: 1 for an inactive button, one for an active button, and one for a clicked button. It doesn't work, as you can see on the site. The button is located to the menu on the left, it says 'quests' on it.This is my code, why won't it work?
<img src="images/Buttons/quests-unactive.png" onmouseover="this.src='images/Buttons/quests-active.png'" onclick="this.src='images/Buttons/quests-clicked.png'" onmouseup="this.src='images/Buttons/quests-unactive.png' alt=" />
It behaves erratically, again, check the site to see what it does.Thanks to anyone who can fix this.~Chocolate570
-
I dunno, is this what you want?http://www.kevlindev.com/tutorials/basics/...s_dom/index.htm
-
Ok, I was checking. Let me see, i'll edit this post after i'm done.
-
Ok, thanks for your help. And you might want to look into coding it and selling the software.
-
I'd like to quickly ask if that's your site?
-
Lol, congrats. Wanna send me one for being such an awesome moderator?
-
Sorry to be so blunt, but no. I just learnt this a bit ago,
, we're not trying to pull people away from the tutorials. This is a forum, for support, not scripts. If you would like, you can send them to kaijim and he might include them in the actual w3schools.com site. Sorry again. :)Choco
-
When I say attribute, i mean this:<input type="text" value="thing" id="test">The bold parts are the attributes, or the 'settings' of the html element. Does that help a bit?
-
Do this:<input type="text" id="java"><input type="button" value="Click" onclick="doThing()">And in the head section:<script type="text/javascript">function doThing(){document.getElementById("java").attribute=value}</script>
-
Let's just say it's impossible to write a chat program with javascript. Javascript can interact with only 3 things, and you should memorize this:1. Itself2. Your browser3. YouNotice "4. Other guy who's trying to chat with you accross the world" isnt on the list. :)Choco
Dedicated Server
in General
Posted
I suggestwww.findmyhosting.comandwww.webhostingbuzz.comThe first is a hosting finder, and the second is where i got mine hosted.![:)](//content.invisioncic.com/r49260/emoticons/default_smile.png)