User Profile

Collapse

Profile Sidebar

Collapse
mike4z4
mike4z4
Last Activity: Apr 7 '13, 02:15 PM
Joined: Mar 28 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • For the fisrt question I did create this lines of code:

    Code:
    if(idStr == 'A3'){
    						cell.innerHTML = "<img src = http://chess-db.com/public/img/pgnv/img/wQueen.gif>";
    					}
    This works for me in chrome25
    See more | Go to post

    Leave a comment:


  • I'd like to build everithing with javascript. Perhaps I will even have prompt window to set the size of the board.

    When I run it (I press AddKing the function does not add image to the place I put in prompt window. If this (cell.src) is replaced with color (cell.style), the cell change background color.
    See more | Go to post

    Leave a comment:


  • mike4z4
    started a topic insert images into table with JavaScript

    insert images into table with JavaScript

    Hello.

    I would like to insert images into specific cell created in javascript. I did create chessboard. Now i need to put figures in specific place. This I would like to do on two or three different ways.

    1. Simple way: When I pres button "Generate table" the program will create table and already put figures into cells (King on A1, Queen on C3, ...)

    2. When I pres button "Generate table"...
    See more | Go to post
No activity results to display
Show More
Working...