www.webdeveloper.com

Search:

Type: Posts; User: kromol

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Possible workflow can be next: you can set some...

    Possible workflow can be next: you can set some flag for example in localStorage before redirection and in home page after loading you have to check if appropriate key exists in localStorage, and if...
  2. Replies
    3
    Views
    314

    So match works correct in your case. Your string...

    So match works correct in your case. Your string ("file") does not contain substr "text", so match returns null, that is casted to false, but as you have ! before match it becomes true.
  3. Replies
    3
    Views
    314

    What is the value of that.type?

    What is the value of that.type?
  4. May be your issue is here: var txt = "

    May be your issue is here:


    var txt = "<h3 align="center">Menu</h3>
    <p align="left">
    <strong>&nbsp; Series Stories</strong><br />
    <li2>&nbsp; <a href="contact.html">Contact...
  5. Replies
    1
    Views
    510

    Example B does not work properly because...

    Example B does not work properly because geocoder.geocode() is async and all other code is sync.
    Try this:


    function tableCreation( info )
    {
    var table =...
  6. Replies
    13
    Views
    3,077

    jQuery You are welcome :)

    You are welcome :)
  7. Replies
    1
    Views
    766

    Maybe something like this: ...

    Maybe something like this:


    $('.hide').click(function () {
    var ids = ['#one', '#two', '#three', '#four', '#five', '#six', '#seven', '#eight'],
    ids_count = ids.length,
    i = 1,...
  8. Replies
    13
    Views
    3,077

    jQuery I think I see your issue. indexOf returns -1 if...

    I think I see your issue. indexOf returns -1 if it cannot find substring, in other case the position of the first occurence.
    In JavaScript strings starts from index 0.
    This code:


    if...
  9. Replies
    13
    Views
    3,077

    jQuery You have space between last comma and...

    You have space between last comma and "javascript". Is it a typo?
    Or have you tried this:


    var disallowinks = "google,microsoft,yahoo,javascript:";
  10. Replies
    13
    Views
    3,077

    jQuery Add "javascript:" to disallowinks variable.

    Add "javascript:" to disallowinks variable.
  11. Replies
    1
    Views
    780

    getImageData third argument is image width, not...

    getImageData third argument is image width, not image height
    Put getImageData and putImageData code in image onload event
  12. This should work for different versions of IE: ...

    This should work for different versions of IE:


    <!DOCTYPE html>
    <html>
    <head>
    <title>Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script>
    function...
  13. Which version of IE do you use? IE has another...

    Which version of IE do you use? IE has another event model than normal browsers.
  14. Below is full code: ...

    Below is full code:


    <!DOCTYPE html>
    <html>
    <head>
    <title>Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script>
    window.onload = function () {
  15. Strange, it works for me. What browser do you...

    Strange, it works for me. What browser do you use? I tried this in Chrome
  16. Try something like this ...

    Try something like this


    <script>
    window.onload = function () {
    var form = document.getElementsByTagName('form')[0],
    selects = form.getElementsByTagName('select'),
    i = 0,...
  17. https://github.com/dfsq/compressJS.sh but it is...

    https://github.com/dfsq/compressJS.sh but it is only for Linux
  18. Try to put your JS files (if it is possible) in...

    Try to put your JS files (if it is possible) in the end of a page, not in header. Then your HTML will be loaded before javascript.
  19. Replies
    13
    Views
    3,077

    jQuery You have to load jQuery before loading your script

    You have to load jQuery before loading your script
  20. Replies
    13
    Views
    3,077

    jQuery It seems like after click on the first link...

    It seems like after click on the first link variable count becomes equal 1 and this condition


    if (count == 0) {
    $(this).attr('href', "http://localhost/wordpress/redirect.php?link=" + ...
  21. Replies
    7
    Views
    1,021

    If I understood correct, you posted old code with...

    If I understood correct, you posted old code with select instead of ul.
    Does this code work or it gives some errors?
  22. What does function showArticleBar() do? And...

    What does function showArticleBar() do?
    And where do you call highlightLink function?
  23. Replies
    3
    Views
    555

    return s && s.getPropertyValue(name); will not...

    return s && s.getPropertyValue(name); will not return TRUE or FALSE.
    This mean that function will return s.getPropertyValue(name) ONLY if s is set.
    In other words function will return...
  24. Replies
    7
    Views
    1,021

    It would be great if you post the original code....

    It would be great if you post the original code.
    I think it will help.
  25. Replies
    1
    Views
    887

    Have you tried to add breakpoints in Firebug?

    Have you tried to add breakpoints in Firebug?
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles