dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Sempervivum

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Some time ago I created something similar,...

    Some time ago I created something similar, curtain like. Might be adjusted to fit your example approximately. This is pure CSS.
    https://jsfiddle.net/Sempervivum/oc3obs7u/
  2. Replies
    4
    Views
    382

    jQuery You need to assign the event listener after...

    You need to assign the event listener after having created the element by Javascript.
  3. I opened you page and for me the scrolling worked...

    I opened you page and for me the scrolling worked fine.
    IMO this is the normal behaviour when scrolling?
  4. Replies
    4
    Views
    382

    jQuery In order to apply an event listener for click you...

    In order to apply an event listener for click you need to pass a function to click:

    $("td").click(function() {
    // your actions on click
    })If you don't get it working, post more code or the...
  5. Replies
    6
    Views
    382

    Access successful! Unfortunately the areas are...

    Access successful! Unfortunately the areas are not visible in the map and I didn't succeed in getting a result when clicking. From the code I read that you coded an alert. Can you describe where the...
  6. Replies
    6
    Views
    382

    Can you post the URL of your page so that one can...

    Can you post the URL of your page so that one can look into it?
  7. Replies
    6
    Views
    382

    Are you using some framework or plugin? Which?

    Are you using some framework or plugin? Which?
  8. Replies
    4
    Views
    358

    Your error is here: for(var j = 0;...

    Your error is here:

    for(var j = 0; j<arr.length;j++)
    Replace it by

    for(var j = 0; j<arr[i].length;j++)
  9. Replies
    12
    Views
    617

    PS: A "var" is obsolete. Should read like this: ...

    PS: A "var" is obsolete. Should read like this:

    result = data[val];
    // Only change code above this line
    return result;
    }
  10. Replies
    12
    Views
    617

    Tested it and it works fine for me. If it does...

    Tested it and it works fine for me. If it does not for you you

    either didn't take over my solution correctly
    or do not test correctly

    Note that I changed the name of the object. Did you take...
  11. Replies
    12
    Views
    617

    The only place where I didn't follow the...

    The only place where I didn't follow the instructions is this:

    return data[val];
    Can be easily modified:

    var result = data[val];
    // Only change code above this line
    return...
  12. Replies
    12
    Views
    617

    IMO it has to read like this: // Setup...

    IMO it has to read like this:

    // Setup
    function phoneticLookup(val) {
    var result = "";

    // Only change code below this line
    data ={
    "alpha":"Adam",
    ...
  13. Replies
    6
    Views
    812

    Better than posting the code would be a link to...

    Better than posting the code would be a link to your page.
  14. Read the explanation here:...

    Read the explanation here:
    https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions

    The first "?" means occurence once or none. The second makes the expression non greedy....
  15. Replies
    3
    Views
    437

    jQuery Very easy: ...

    Very easy:

    $("section").css('background-image', 'url("' + photo + '")');
  16. Other No need to crosspost. I posted the solution here:...

    No need to crosspost. I posted the solution here:
    http://www.html-seminar.de/html-css-php-forum/board40-themenbereiche/board5-javascript/
  17. Replies
    2
    Views
    358

    Other Try making the RGB values random: r =...

    Try making the RGB values random:

    r = Math.floor(Math.random() * 256);
    g = Math.floor(Math.random() * 256);
    b = Math.floor(Math.random() * 256);
    fillColor: 'rgb(' + r + ',' + g + ',' + b + ')';
  18. Replies
    9
    Views
    521

    jQuery Yes, I created a test page containing the code...

    Yes, I created a test page containing the code you posted and it works fine. The items expand and collapse as required.
  19. Replies
    9
    Views
    521

    jQuery For me the code works fine. Did you find the...

    For me the code works fine. Did you find the error in the meantime?
  20. Unfortuntely I don't know a solution with pure...

    Unfortuntely I don't know a solution with pure HTML/CSS but you can do it by jQuery:

    <a href="mypage.html#row1" onclick='goto("Row1");'>Goto Row1</a>
    <script>
    function...
  21. Hallo core bots, why not let the translating...

    Hallo core bots,
    why not let the translating people view the text in the browser? Then they need not bother with tags.
    Edit: No good idea, those people have to modify the texts while translating.
  22. A different option might be putting the data into...

    A different option might be putting the data into an object:

    <p id="result"></p>
    <script>
    var hours = window.prompt("Pleas Input the Number of Hours you Worked Last Week");
    var type =...
  23. Replies
    16
    Views
    1,086

    Fine that you could fix it yourself! The reason...

    Fine that you could fix it yourself! The reason was that a div fills the complete viewport in horizontal direction when no width is specified. You might also set display:inline-block, then the width...
  24. Replies
    16
    Views
    1,086

    PS: A more sophisticated solution would have to...

    PS: A more sophisticated solution would have to adjust the size to the size of the viewport and center the image.
  25. Replies
    16
    Views
    1,086

    Quickly applied the code of your codepen: ...

    Quickly applied the code of your codepen:

    <style>
    #svgHolder {
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition:...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles