Sudoku for your home pageThis is the new version of our classic sudoku service. Here is the previous version of the sudoku for the homepageWhat about a daily sudoku on your web page? You can adjust the colours and bitmaps to the graphical profile of your web site. Every day you will automatically get a new nice sudoku. That can make visitors return to your site. Is the puzzle unique? Yes, everyone that uses our service will get a unique puzzle. Your daily sudoku is different from ours, and from all our clients. Does it require a lot of effort? No, it is easy! If you do not want to change the colours or bitmaps you can simply copy and paste our html-code. If you like the sodoku to look more personal you make have to a little bit. Make a copy of the css-template that we provide and modify it to make the sudoku look nice on your site. Is it hard to solve your puzzles? We provide both simple and advanced puzzles. You can choose between 6 different ratings or you can as us to vary the rating. Does it cost anything? No, it is free if you link back to us. You may also print our puzzles as long as you refer to www.sudokuAssistant.com as the source. (if you do not like to link back to us, please contact us for an offer). Can you link back to us? Yes, but only from our growing link-page. This is done more or less automatically. You should have a good title and description -tag on that page. Pages that are visited frequently will automatically advance in our ranking of sudoku links. Example of a small puzzleTo get the following sudokuYou only need to copy the following html-code to your home-page:
The above code will show the sudoku in an iframe, nowadays all browsers can handle iframes. We have placed the iframe in a table with two rows. Our iframe on in the first row and a link to us is on the second. The text by sudukoAssistant.com will therefore appear under the sudoku. If you like, you can remove the table and link to us from a more natural place on your home-page. The sudoku is generated by a php-script (sudokugen1.php) that runs on our server. Your web server does not need to run any scripts. To tweak the appearanceWe will now discuss some details. If you do not plan to alter anything you may skip this part.The script is named sudokugen1.php and it takes a few parameters. tip:If you like to experiment with the parameter we recommend you to navigate directly to url of the sudoku and then alter the parameters in the address field of your web browser.
Here are a few examples of sudokus where we have altered the parameters square, old, show and kid. PicturesOur sudokus can show pictures instead of digits. There are two ways to accomplish this. The most general method is to make your own style sheet (css) and let that define which pictures to use, but it is also possible to give the image file-names as parameters to our php-script.Below, we have used the parameters urldir and images. The first parameter defines the folder (on your web server) that contains the images. The second parameter is a comma-separated list of image file names. (If you are creating a 4x4 kid-sudoku you should submit 4 file-names). The simple 4x4 sudokus can be used in commercial ads. A person may solve the puzzle his/her head in 10 to 60 seconds, but during that time the solver is stirring at your four icons which may convey a sublime message. The css-templateBy using your own style sheet you can alter the design of our sudokus.Our sudokus are built by html-tables whose different elements belong to different classes that we have defined. (To see the html-code, right click on a sudoku and select view source in your browser.) Your style-sheet may alter the attributes of those elements, and hence the style of the sudoku. Our classes are named sudokubig,smalltab,hide, dig1,dig2,etc..
och html-koden:
To modify more styles one probably has to inspect the html-code our script produces. Our sudokus on the InternetOn our link page there are several examples of web sites using our sudokus. |
|