View Full Version : Randomising Images within a table
03-14-2004, 08:41 PM
03-14-2004, 08:54 PM
current_cell = parseInt(event.srcElement.parentNode.id.replace("cell", ""));
current_cell = parseInt(event.srcElement.id.replace("cell", ""));
ohh and your shuffle don't update the location of the blank cell.
03-14-2004, 09:05 PM
hi fanx for your input but with the code that u gave me it doesnt even let me move BEFORE i shuffle. At the moment with my code it does move before the shuffle just not afterwards
But you did point out a gud thing i dont update the blank cell variable in shuffle function but i have no idea on how to update :confused: any ideas?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.