• 0

    posted a message on Quit Wow for DiabloIII?
    i will obsessively play WoW until d3 comes out and then i will obsessively play d3 until i die....
    Posted in: Diablo III General Discussion
  • 0

    posted a message on Blood Raven
    very nicely done but if i have to make one comment i'd say she's to attractive and feminine to be blood raven lols
    Posted in: Fan Art
  • 0

    posted a message on Breakpoints and combining +% modifiers
    i think it would be additively. multiplying them just doesn't make sense to me?
    Posted in: Diablo III General Discussion
  • 0

    posted a message on uswest ladder
    hmm i think useast was the most popular on this forum. thought i saw a poll somewhere about it but i might be mistaken.
    Posted in: Introduction
  • 0

    posted a message on Old school TV
    good stuff.

    i freaking love the smurfs hah
    http://www.youtube.com/watch?v=Vveo_yLRfds
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on help with javascript
    Yeah I use homesite while I'm in class so it makes sure everything like that's in place.



    <html>
    <head>
    <script>
    clickcount=0
    
    
    img1="puzzle_01.gif"
    img2="puzzle_02.gif"
    img3="puzzle_03.gif"
    img4="puzzle_04.gif"
    img5="puzzle_05.gif"
    img6="puzzle_06.gif"
    img7="blank.gif"
    
    function swap(hold)
        {
        blank.src=hold.src
        hold.src="blank.gif"
        blank=hold
        clickcount++
        check()
        }
        
    function check()
        {
        if (img1==document.images[0].src)
          {alert("first one is correct")}
        if (img2==document.images[1].src)
         {alert("second one is correct")} 
        if (img3==document.images[2].src) 
         {alert("third one is correct")} 
        if (img4==document.images[3].src)
         {alert("fourth one is correct")} 
        if (img5==document.images[4].src) 
         {alert("fifth one is correct")} 
        if (img6==document.images[5].src) 
         {alert("sixth one is correct")} 
        if (img7==document.images[6].src)
         {alert("seventh one is correct")} 
        }
            
    </script>
    </head>
    
    <body onload="blank=seven">
    
    <table border="1">
     <tr>
       <td><img name="one" src="puzzle_04.gif" onclick="swap(one)"></td>
       <td><img name="two" src="puzzle_05.gif" onclick="swap(two)"></td>
       <td><img name="three" src="puzzle_02.gif" onclick="swap(three)"></td>
       <td><img name="four" src="puzzle_01.gif" onclick="swap(four)"></td>
       <td><img name="five" src="puzzle_06.gif" onclick="swap(five)"></td>
       <td><img name="six" src="puzzle_03.gif" onclick="swap(six)"></td>
       <td><img name="seven" src="blank.gif" onclick="swap(seven)"></td></tr>
    </table>
    
    </body>
    </html>
    I was just using the alerts in the if statement as kind of a diagnostic thing to see if it worked. What it's doing is changing the source of the image instead of checking it.
    like in this statement: if (img1==document.images[0].src) it's changing the source of image[0] to the source stored in img1.

    I've messed around, tried switching the places of the variables and the document.images[0].src codes just to try getting an idea how it works but couldn't figure it out. Maybe I'm approaching it completely wrong and there's a more efficient way to do it.
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on help with javascript
    It's a project for school. I'm not looking for someone to do it for me I just need someone to give me some direction. The teacher doesn't really teach us how to do anything he's just kinda like here's what it is now figure out how to do it and I'm stuck hah.

    here's the problem: Make a one-dimensional jigsaw puzzle-- specifically take a 600x100 pixel picture that you've created and slice it into 6 rectangles (each 100 by 100 pixels). Populate a table (having 7 columns in one row) with the six pieces, but with their order all scrambled up, and one extra piece (a "blank" picture). Whenever someone clicks on any picture, then its position should be swapped with the current position of the blank image.Make your script determine when the puzzle has been solved. That is: whenever the picture is reassembled by the user (that is, all six pieces are adjacent to one another in the order they were originally in your picture -- you may assume that the "blank" is at the extreme right of the picture):

    1. first congratulate the user with an alert box, telling them how many clicks it took them to solve the puzzle,
    2. then let the pictures revert to the original "scrambled" order.



    I'm specifically having problems with the if statements to check if it's correct. My code logically should work in terms of programming but I don't really know syntax of javascript and how it reacts so it's not doing what I want it to.
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on Petition to Put DIII on Consoles
    i'll add another no to the list
    Posted in: Diablo III General Discussion
  • 0

    posted a message on help with javascript
    hey guys, does anyone have any experience with javascript? i'm having trouble with a project and thought someone here might be able to help me.
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on Scrubs!
    i own seasons 1-7 on dvd and will be getting 8 when its out
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on So, today on the bus...
    lol fml moment....
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on New Diablo 3 Character Class Announced: The Archivist!
    april fools, the archivist isnt really a joke... it's seriously a new character.... hah
    Posted in: News & Announcements
  • 0

    posted a message on Conficker
    lol diablo 3 will be released in may... april fools... yeah, i think the whole conficker virus is just something someone did to scare everyone and laugh at everyones reaction....
    Posted in: General Discussion (non-Diablo)
  • 0

    posted a message on The Talisman
    hello elvul hah
    Posted in: Diablo III General Discussion
  • 0

    posted a message on Viper and hydra runes
    Yeah those three runes were all specific to the wizard skill similar to chain lightning, can't remember what they're calling it in d3. There will be specific rune sets for each skill.
    Posted in: Diablo III General Discussion
  • To post a comment, please or register a new account.