www.webdeveloper.com

Search:

Type: Posts; User: iokosan

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    747

    thanks a lot for your help :) the problem were...

    thanks a lot for your help :) the problem were the id='a' of the menu ... i temporary inserted more than one, and that caused all the trouble
  2. Replies
    4
    Views
    747

    http://ccc here is the link ... and i got IE 7,...

    http://ccc here is the link ... and i got IE 7, so firstchild should work...
  3. Replies
    4
    Views
    747

    [RESOLVED] CSS doesn't works in IE

    Can someone tell me why the following css
    http://rafb.net/p/rTJ8Sg18.html
    doesn't work in IE??
    I mean... i tried to validate it and the w3c validator sats that doesn't contains errors!
    Please,...
  4. Css Works in FF, doesn't work in Opera and IE

    div#left{
    width:150px;
    float:left;
    border: 0.5px dashed black;
    }

    div#right{
    width:150px;
    float:right;
    border: 0.5px dashed black;
  5. Replies
    4
    Views
    686

    http://www.w3.org/TR/XMLHttpRequest/ google and...

    http://www.w3.org/TR/XMLHttpRequest/
    google and the search button are your best friends
  6. Replies
    4
    Views
    686

    function trova(event){...

    <html>
    <body>
    <script>
    function trova(event){
    img = document.getElementById("im")
    document.getElementById("asc").value = (document.all)?event.offsetX:event.pageX-img.offsetLeft;
    ...
  7. Replies
    5
    Views
    1,016

    do you execute the function i posted with...

    do you execute the function i posted with argument this?


    <tag ... event = "getTableId(this);>"


    i haven't tested it, but it should work...
  8. Replies
    5
    Views
    1,016

    function getTableId(t){ while(t && (t.nodeType...

    function getTableId(t){
    while(t && (t.nodeType != 1) && (t.tagName != 'TABLE'))
    t = t.parentNode;
    return t.id;
  9. double post...

    double post
    http://www.webdeveloper.com/forum/showthread.php?t=202789
    remember that spamming here your assignements won't help you receiving a response.
  10. Replies
    3
    Views
    947

    give the hidden field an id, and then ...

    give the hidden field an id, and then


    document.getElementById('hiddenfield').value = 'what you want';
  11. Replies
    2
    Views
    832

    just guessing ... if(document.yourevent) ...

    just guessing ...


    if(document.yourevent)


    wait for some guru to clarify any other doubts :)

    PS: A guru replied while i was writing this message ... well, it seems that i guessed right :)
  12. Replies
    3
    Views
    895

    function next(n){...

    <html>
    <head>
    <script>

    function next(n){
    do{
    n = n.nextSibling;
    }while((n) && (n.nodeType != 1));
    return n;
    }
  13. Replies
    1
    Views
    1,587

    you can send data from a page to another using...

    you can send data from a page to another using anchors and coding data in base64.
  14. Replies
    5
    Views
    758

    erm... what's inside list.js? amount array should...

    erm... what's inside list.js? amount array should be defined there...
  15. ...

    <html>
    <head>
    <script type="text/javascript">
    /* <![CDATA[ */

    var prices = [1.25,0.15,50,25,35];
    var sprices = [1,2,3];

    function $(id){
    return document.getElementById(id);
  16. Probably you should take a look here:...

    Probably you should take a look here:
    http://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html?page=1
    and here:
    http://code.google.com/p/reallysimplehistory/
  17. Replies
    3
    Views
    836

    you have 2 choices: 1) you make a...

    you have 2 choices:
    1) you make a xmlhttprequest to the server, who gives you a xml / json object that substitute the array
    2) you create the page dinamicaly, and fill the various array with a for...
  18. Replies
    3
    Views
    895

    function next(n){...

    <html>
    <head>
    <script>

    function next(n){
    do{
    n = n.nextSibling;
    }while((n) && (n.nodeType != 1));
    return n;
    }
  19. In the first page, use the code: ...

    In the first page, use the code:


    document.location.href='la3.htm#'+document.location;

    and, in the second page, to retrieve the A url, use


    alert(location.hash);
  20. Replies
    5
    Views
    944

    ok but var workingDate=dateGLOBAL; makes...

    ok but


    var workingDate=dateGLOBAL;

    makes a reference from workingdate to dateglobal...
  21. Replies
    2
    Views
    655

    I've found a "not so elegant" solution: ...

    I've found a "not so elegant" solution:


    this.calculate = function(){
    this.src = (this.caller.move%2) ? 'x.jpg':'o.jpg';
    this.caller.move += 1;
    }
    this.draw = function(){
    for(var i =...
  22. Replies
    2
    Views
    655

    Object and Onclick Event

    Hi all :) I'm trying to develop a tic tac toe game in js, using minmax algorithm for the AI.
    But, as in the previous posts, the problem i have is about handling a class "inside" a function called by...
  23. Replies
    5
    Views
    944

    I have not gone deep in the code, but, at first...

    I have not gone deep in the code, but, at first sight...

    Once you have changed the day of the month, is obvious that getDate will change too...

    So, probably, getDate will return the value you...
  24. Replies
    3
    Views
    836

    Here it is :) ...

    Here it is :)


    <html>
    <head>
    </head>
    <body>
    <select id='first' onchange='choice(this)'>
    <option value='0'>-</option>
    <option value='1'>a</option>
  25. ...

    <html>
    <head>
    </head>
    <body>
    <script>
    function makediv(a){
    var l = a.length;
    for(var i = 0; i < l; i++){
    var d = document.createElement('div');
    d.setAttribute('id',i+1);
Results 1 to 25 of 36
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles