Jump to content

Chocolate570

Members
  • Posts

    1,550
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Chocolate570

  1. Forget dreamweaver. It's great for nice layouts, but it's limits are amazingly small. This should be your path for learning in my opinion, I included all the languages. :)html>>javascript>>css>>xhtml>>php/sql>>asp:)

  2. 1.

    <script type="text/javascript">/************************************************ Email Validation script- © Dynamic Drive (www.dynamicdrive.com)* This notice must stay intact for legal use.* Visit http://www.dynamicdrive.com/ for full source code***********************************************/var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/ifunction checkmail(e){var returnval=emailfilter.test(e.value)if (returnval==false){alert("Please enter a valid email address.")e.select()}return returnval}</script><form><input name="myemail" type="text" style="width: 270px"> <input type="submit" onClick="return checkmail(this.form.myemail)" value="Submit" /></form>
    Just put "name="myemail"" in the text box of the email textbox, and in the submit button put this: "onclick="return checkmail(this.form.myemail)""2. This should do it:http://www.javascriptkit.com/script/cut149.shtmlI hope that helped. :)
  3. Use this as the confirm script and try it again? :\<script type="text/javascript">if(confirm("Do you want to delete this author?")){}else{history.back()}</script>Which should do what you want. I have no asp knowledge, so that is the extent that i can help you.

  4. Oh, so just like you get the value of a form? So for example, if the page was:w3schools.invisionzone.com/index.php?wierdscale=4<? php$wierd=$_GET['wierdscale']if($wierd==4){echo $wierd;|?>And it would write "4"?

  5. That is computer programming, this is web developing. Sorry, but you're only supposed to post about vbscript in this forum. Still, from what I know, i don't think that's possible. I tried it out once.

  6. In some php pages, you'll see this:www.domain.com/index.php?variable=valueHow do I access that variable in the php script? I would like to do many things depending on the variable. Thanks in advance.~Chocolate570

  7. That's very easy, all you have to do is this in javascript at the very top:

    <script type="text/javascript">var x=document.getElementById("thing").selectedIndexswitch(x){case "1"document.write('<link rel="stylesheet" href="puturlhere" />')break...................}</script>

    I'm not sure about the first part, where you're setting the variable, but that's the basic idea behind that way of doing it.

  8. Creating MPORPG's with flash is a bad idea. It's very hard to connect to a server through flash, so it wouldn't be able to save your progress, or interact with other users. I don't know what to suggest, unfortunatley.

  9. You can't use SQL for emailing. SQL is talking to databases, so it would work if you were creating a PM system on your site. From what I know, you can't just go fool around with Gmail's sql server. :)

  10. Hmmm........... but then where's the gossip? :)I would think the best choice is viewable/locked. I'm not sure though. It gives us a sense of privacy, and we wont get PMed with people saying "OMG! WHY HAVENT U PUT MY SUGESION IN!!!!!oneone!111one!", which is quite annoying. So they both have their pros and cons, as you listed above.

×
×
  • Create New...