www.webdeveloper.com

Search:

Type: Posts; User: 007Julien

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: Color Change

    by 007Julien
    Replies
    4
    Views
    717

    a variant with more diverse colours

    a variant with more diverse colours

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>color change</title>
    <style>
    body {
    background-color:#000032;
  2. Replies
    11
    Views
    911

    Use CSS style with class to avoid mixing code and...

    Use CSS style with class to avoid mixing code and format.
    See w3scholls.com CSS tutorial with, for example, this demo page
  3. Replies
    6
    Views
    791

    It would be better to display two buttons to add...

    It would be better to display two buttons to add a row (its disappear with the 5th row) or to delete a row (if any) of your table...
  4. How do you find this new version with sound ...

    How do you find this new version with sound to convert foreign currencies ?
  5. Replies
    4
    Views
    975

    Replace, in your database, all single quote by a...

    Replace, in your database, all single quote by a &apos; or a typographic apostrophe ( ’ ), also known as the typset apostrophe, or, informally, the curly apostrophe obtain with alt 0146.
  6. Thread: Memory

    by 007Julien
    Replies
    1
    Views
    408

    Here is a memory...

    Here is a memory
    Use an object to build your memory. There is no need of an array to find the kth image src, it's k+'.jpg' !
    At the beginning you have only to show back of card and to define a...
  7. Other Read something like this for localisation...

    Read something like this for localisation (l10n) or internationalisation (l18n).
  8. Replies
    1
    Views
    635

    The object color is not define in the second...

    The object color is not define in the second function. The values color.rgb[0], color.rgb[1] and color.rgb[2] are not defined ! They must take the argument with : top-color.rgb[0], top-color.rgb[1]...
  9. Try to upload this php page on your server ...

    Try to upload this php page on your server

    <?php

    header("expires: mon, 26 jul 1997 05:00:00 gmt");
    header("cache-control: no-cache, must-revalidate");
    header("pragma: no-cache");...
  10. Here is a newly created Euro universal...

    Here is a newly created Euro universal converisseur. I will still put in a few points to make...
  11. The European Central Bank publish many things...

    The European Central Bank publish many things about Foreign exchange references rates...

    At first this page http://www.ecb.europa.eu/euro.html give the daily reference rates which are usually...
  12. Inputs have two name attributes with different...

    Inputs have two name attributes with different values.
    Replace your code with something like this (with the country in the class tag)

    <input type='checkbox' name='list' class='indent-28...
  13. A simple page to full a form with the dates of...

    A simple page to full a form with the dates of the current week :

    <!DOCTYPE>
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="generator"...
  14. Use the Date object : var myDate=new...

    Use the Date object :

    var myDate=new Date(yyyy,mm-1,dd);
    var nextDate=new date(myDate.getFullYear(),myDate.getMonth(),myDate.getDate()+1);
  15. Replies
    2
    Views
    858

    You do not say how textpos1, textpos2... are...

    You do not say how textpos1, textpos2... are defined. I suppose the questions are displayed on different successive lines (with n new Lines) from textpos which is the argument of the function...
  16. To simulate a Gaussian variable with mean 0 and...

    To simulate a Gaussian variable with mean 0 and variance 1, it suffices to calculate :

    X = Math.sqrt(-2*Math.log(Math.random())*Math.cos(2*Math.random());

    Calculate Y = m + s X for the mean m...
  17. To see object properties try : ...

    To see object properties try :

    console.log(JSON.stringify(distribution));
  18. Try this code : var...

    Try this code :



    var nbr,nbs="7.33333|0.034343434|0.0434343434|0.05768787878787|3.854523523523523|0.142857142857".split('|');

    for (i=0;i<nbs.length;i++){var...
  19. 2048 - Touchmove - How to prevent scrolling and page switching ?

    Touch move is made for Gabriele Cirulli's 2048 Game.

    For me, the problem is on this page (or on the author page*), to avoid scrolling and page switching on a TipadXl (LNA Xtrem) and other phones...
  20. Replies
    2
    Views
    566

    Simply an arrStr=str.split(','); give an array...

    Simply an arrStr=str.split(','); give an array with the result.

    Then you have only to build a string with something like this (non tested) :


    // HTML
    <p id="rsp"></p>

    // Javascript at...
  21. This to get something like java : function...

    This to get something like java :

    function Person(firstName){
    this.firstName=firstName;
    }
    var p1=new Person();
    alert(p1+'\n\nConstructor: '+p1.constructor+'\n\nJson: '+JSON.stringify(p1));...
  22. Use the Select selectIndex Property...

    Use the Select selectIndex Property with a loop for i=1,2,3 or 4 on document.getElemenById('type'+i).
    The only problem is that this property give 0 (for the first option) with no user action (See...
  23. Replies
    1
    Views
    652

    Other Unless I am mistaken, this ...

    Unless I am mistaken, this /@font-face\s*\{[^}]+}/g regular expression will capture all @fontface declaration.

    We capture all string beginning with @font-face, followed with : zero or more (*)...
  24. (function(){ //... instructions })(); This...

    (function(){
    //... instructions
    })();
    This code define an anonymous function and call it immediately. It's useful to work in a namespace without interferences with the global space.
    For...
  25. Replies
    1
    Views
    490

    This regular expression rescode=/\b[\d]{8}\b/g...

    This regular expression rescode=/\b[\d]{8}\b/g capture all 8 digits between two word boundaries (\b) in a text.

    Use rescode=/School Code[:\s]+[\d]{8}\b/g to capture the entire motif.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles