View unanswered posts | View active topics It is currently Thu Mar 28, 2024 10:31 pm



← Back to the Calcudoku puzzle page




Reply to topic  [ 1 post ] 
 Calcudoku puzzels op jouw web pagina 
Author Message
Site Admin
User avatar

Posted on: Fri Jan 20, 2012 1:49 pm




Posts: 116
Joined: Wed May 11, 2011 6:44 pm
 Calcudoku puzzels op jouw web pagina
Hallo,

Ik heb software geschreven waarmee je aan elke web pagina Calcudoku puzzels kunt toevoegen! [woot]

Hier is een voorbeeld 4x4 puzzel (je kunt kiezen tussen 4x4, 5x5, en 6x6):
Image

Voeg simpelweg de volgende regels toe aan je pagina code:
Code:
<div id='calcudoku_div'></div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://www.calcudoku.org/dropin/dropin2.js"></script>
<script type="text/javascript">
var with_error_checking = true;
var puzzle_size = 4;
var language = 'nl';
calcudoku_start();
</script>

    Gebruik var with_error_checking = false; als je geen automatische foutcontrole wilt.

    De puzzle_size parameter kan 4, 5, of 6 zijn (iedere dag zijn er vijf puzzels van elk)

    De puzzel zelf wordt in de calcudoku_div gezet

    De breedte van de div is 36 + puzzle_size * 54, de hoogte is 26 + puzzle_size * 54 (in pixels).

Dit is een eerste versie, dus stuur vooral je "bug reports" :-)

Patrick


Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.