User Profile

Collapse

Profile Sidebar

Collapse
1987dan
1987dan
Last Activity: Jan 20 '07, 05:18 PM
Joined: Jan 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Could you please give an example?
    See more | Go to post

    Leave a comment:


  • 1987dan
    replied to Swapping between images
    That now works. Thanks allot you have been a great help.
    See more | Go to post

    Leave a comment:


  • 1987dan
    replied to Swapping between images
    This is the code so far but every time i click it still shows a red counter.

    Code:
    var whoseTurn = 1
       
       playerChecker = new Image()
       playerChecker.src = "redCounter.jpg"
       
       if(whoseTurn == 1){
       playerChecker.src = "redCounter.jpg"
       } else if(whoseTurn == 2) {
       playerChecker.src = "yellowCounter.jpg"
       } 
       
       function
    ...
    See more | Go to post

    Leave a comment:


  • Cheers for that. I have made that change.

    How would i now go about changing "blank5" src to "redCounter " but only if "blank6" src was "redCounter "; And "blank4" src to "redCounter " only if "blank5" src was "redCounter " etc.... within the same function?
    See more | Go to post

    Leave a comment:


  • <html>
    <head>
    <script language ="Javascript">< !--
    function changeimage(){
    if(document.get ElementById('bl ank6').src = "whiteCounter.j pg") {
    document.getEle mentById('blank 6').src = "redCounter.jpg ";
    }}
    //-->
    </script>
    </head>
    <body>
    <table border="0">
    <tr>...
    See more | Go to post

    Leave a comment:


  • 1987dan
    replied to Swapping between images
    Apologies my above post was ambigious. What i meant is that i need to create two players. One player is assigned one image say red and the other is assigned another called yellow.

    There are 49 different white images. How can alternate between the two players so when player 1 clicks an image it turns to red and when player 2 clicks an image it turns to yellow?
    See more | Go to post

    Leave a comment:


  • 1987dan
    started a topic Swapping between images

    Swapping between images

    How can i swap between two images each time the user clicks. The user can should only be allowed to click 49 times.
    See more | Go to post

  • place images on top of other images in a collumn.

    I have made a collumn 7 rows deep where i click an arrow at the top of the column and then a red counter appears in the bottom cell of the collumn.

    I wish to make this collumn like a connect 4 collumn in the sense that every time i click the arrow and a red counter image replaces a white counter image. And these red Counters build on top of each other.
    See more | Go to post
No activity results to display
Show More
Working...