Jump to content

Punchin

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Punchin

  1. Wow, that looks really good, but how do you select which colour you would like? Or is the bottom pice chart just showing you how many it is possible to have?Edit: But it doesn't work? Even when I just copy there code exact like they say.
    If you're not using IE it won't work. I use firefox, but had to use IE *YUCK* to see the charts.
  2. That was it!thanks so much. I'll remember you
    One of the things I like to do to prevent that type of error is do my editing in notepad with word wrap turned off. It helps to keep everything where tis' supposed to be.
  3. A friend of mine is trying to make a pretty much all-inclusive D&D character creater local web page. He'd like it dynamic so you can load/save characters, but that's beyond both of our scopes right now. What I'm trying to do is figure out and refine how to create a new page based on options selected form a drop down box.Here's my current code:

    <HTML><HEAD><script TYPE="text/javascript">function CharCreate(){var Name=prompt("Name Your Character","")var race=document.getElementById("Race")var race=race.options[race.selectedIndex].textvar class=document.getElementById("Class")var class=class.options[class.selectedIndex].textdocument.write(<FONT SIZE=10><B><CENTER> + "Dungeons and Dragons Character Creator" + "<BR></CENTER></B></FONT><BR> + "Name:" + name + "<BR>Race: " + race + "<BR>Class: " + class)}</SCRIPT></HEAD><BODY><FORM><SELECT ID="Race"><OPTION SELECTED>~~~RACE~~~<OPTION>Human<OPTION>Elf<OPTION>Half-Elf<OPTION>Orc<OPTION>Halfling</SELECT><SELECT ID="Class"><OPTION SELECTED>~~~CLASS~~~<OPTION>Fighter<OPTION>Monk<OPTION>Sorceror<OPTION>Wizard<OPTION>Rogue<OPTION>Cleric<OPTION>Druid</SELECTED><BR><INPUT TYPE="button" VALUE="Make Character" onClick="CharCreate()">

    When I click the button nothing happens. Also, what command would I use to make it open and create a new page instead of trying to overwrite the current page?

  4. The target command goes in the <A> tag, the name command goes in the <FRAME> tag.From what I gather in your post, you're using a drop down box for navigation. I'm not a fan of the coding involved with those, since it never likes to work for me. Check out the code here. It shows how to reference items in a drop down box.

×
×
  • Create New...