Sorry for the change of location.
This is the link: http://koltora.com/Chaim_game/index.html
Thanks
Sorry for the change of location.
This is the link: http://koltora.com/Chaim_game/index.html
Thanks
Vic
God Loves You and will never love you less.
http://www.vicsjavascripts.org.uk/
If my post has been useful please donate to http://www.operationsmile.org.uk/
Works perfect in Chrome now. Thanks once again.
Dear Vic,
I am back with another question. I have to make some examples for my game:
http://koltora.com/help/
I put static pieces on the scale but teachers complain that they do not move. Is there a way to place them there and move them away and/or right click the mouse and delete them like the regular cloned items. Thanks for all your help. Chaim
add and position images with class name 'static' where required
add functionCode:<img class="static" src="http://koltora.com/help/image/p_b01.png" style="position:absolute; left:537; top:230" />
change onload to call function StaticCode:function Static(){ var ds=zxcByClassName('static'); for (var oop,z0=0;z0<ds.length;z0++){ oop=new zxcDrag(ds[z0],false,'xy'); CAry.push(ds[z0]); } }
Code:onload="Clone('clone');Static();"
Vic
God Loves You and will never love you less.
http://www.vicsjavascripts.org.uk/
If my post has been useful please donate to http://www.operationsmile.org.uk/
Many thanks! As usual a great job. Can the image be made deletable. The right click function to delete the clones does not presently work with the static image.
Code:function Static(){ var ds=zxcByClassName('static'); for (var oop,z0=0;z0<ds.length;z0++){ oop=new zxcDrag(ds[z0],false,'xy'); CAry.push(ds[z0]); ds[z0].oncontextmenu=function(){ this.style.visibility='hidden'; return false; } } }
Vic
God Loves You and will never love you less.
http://www.vicsjavascripts.org.uk/
If my post has been useful please donate to http://www.operationsmile.org.uk/
Can't thank you enough. Everything works beautifully.
Hi Vic,
Need your expert help again. I put up a test site at: http://koltora.com/new_game/
It works with FF and IE but not with Chrome or Safari. Any ideas?
Thanks as always,
Chaim
busy at the moment
but your post #43 said that it worked in chome
I will try and get back in the next couple of days
Vic
God Loves You and will never love you less.
http://www.vicsjavascripts.org.uk/
If my post has been useful please donate to http://www.operationsmile.org.uk/
Bookmarks