Witam mam o taki gotowy skrypt js
  1. var IE = document.all?true:false;
  2. if (!IE) document.captureEvents(Event.MOUSEMOVE);
  3. document.onmousemove = getMouseXY;
  4. var tempX = 0;
  5. var tempY = 0;
  6. function getMouseXY(e) {
  7.    if (IE) {
  8.        tempX = event.clientX + document.body.scrollLeft;
  9.        tempY = event.clientY + document.body.scrollTop;
  10.    } else {
  11.        tempX = e.pageX;
  12.        tempY = e.pageY;
  13.    }  
  14.    if (oShowedAtCursor && iShowedAtCursorLastActivity+iShowedAtCursorShowingTime < (new Date()).getTime()) {
  15.        oShowedAtCursor.style.display = 'none';
  16.        sShowedAtCursor = null;
  17.    }
  18. }
  19.  
  20. var oShowedAtCursor;
  21. var iShowedAtCursorShowingTime;
  22. var iShowedAtCursorLastActivity;
  23.  
  24. function showAtCursor(o, iShowingTime, behind) {
  25.    if (oShowedAtCursor) {
  26.        oShowedAtCursor.style.display = 'none';
  27.    }
  28.    
  29.    iShowedAtCursorShowingTime = iShowingTime;
  30.    
  31.    var o = document.getElementById(o);
  32.    oShowedAtCursor = o;
  33.    o.style.display = '';
  34.    o.style.top = tempY-10;
  35.    o.style.left = tempX-10;
  36.    if (behind) {
  37.        o.style.top = tempY+10 - o.offsetHeight;
  38.    }
  39.    o.style.position = 'absolute';
  40.    //o.onclick = new Function("this.style.display = 'none';");
  41.    o.onmousemove = new Function("iShowedAtCursorLastActivity = (new Date()).getTime()");
  42.    
  43.    document.body.appendChild(o);
  44. }
  45.  
  46. function showHint(o, pos) {
  47.    if (!$('ahint' + o)) {
  48.        var s = $(o);
  49.        var top = pos.offsetTop - 144;
  50.        var left = pos.offsetLeft+pos.offsetWidth-7;
  51.        var id = o;
  52.        
  53.        var content = '<div style="padding: 5px 9px;"><div style="text-align: right;"><span onmouseover="this.style.cursor='pointer'" onclick="java script:$('ahint'+id+'').display='none';" style="font-family: arial; font-weight: bold;">X</span></div><div>';
  54.        content += '<div style="text-indent: 4px; font-size: 11px;">' + s.innerHTML + '<div>';
  55.        content += '</div></div>';
  56.        
  57.        div = document.createElement('div');
  58.        div.innerHTML = content;
  59.        div.style.top = top;
  60.        div.style.left = left;
  61.        div.style.position = 'absolute';
  62.        div.style.background = 'url(img/hint.gif)';
  63.        div.style.width = '268px';
  64.        div.style.height = '152px';
  65.        div.setAttribute('id', 'ahint' + id);
  66.        
  67.        document.body.appendChild(div);
  68.    } else if ($('ahint' + o).style.display != '') {
  69.        $('ahint' + o).style.display = '';
  70.    }
  71. }
  72.  
  73. function unShowHint(o) {
  74.    $('ahint' + o).style.display = 'none';
  75. }
  76.  
  77. var bTaskerActive = false;
  78. var iTask = 0;
  79. function taskerAddTask(m, t) {
  80.    bTaskerActive = true;
  81.    iTask ++;
  82.    setTimeout("if(bTaskerActive && iTask == "+iTask+"){"+m+"}", t);
  83. }
  84.  
  85. function taskerUnactivate() {
  86.    bTaskerActive = false;
  87. }
  88.  
  89. function goTo(m, qs) {
  90.    location = 'index.php?str=' + m + '&' + qs;
  91. }
  92.  
  93. function insertinto(o, t) {
  94.    t = t.replace(/<br/>/g, "\n");
  95.    document.getElementById(o).value += t;
  96.    document.getElementById(o).focus();
  97. }
  98.  
  99. function changeDisplay(id, pc) {
  100.    if (pc) {
  101.        var e = document.getElementById(id).getElementsByTagName('div');
  102.        for (k in e) {
  103.            if (typeof(e[k]) == 'object' && e[k].parentNode.id == id) {
  104.                if (e[k].id == pc) {
  105.                    e[k].style.display = 'block';
  106.                } else {
  107.                    e[k].style.display = 'none';
  108.                }
  109.            }
  110.        }
  111.    } else {
  112.        var o = document.getElementById(id);
  113.        if (o.style.display != 'none') {
  114.            o.style.display = 'none';
  115.        } else {
  116.            o.style.display = 'block';
  117.        }
  118.    }
  119. }
  120.  
  121. function $(id) {
  122.    return document.getElementById(id);
  123. }
  124.  
  125. function nf(v, curr) {
  126.    var s = v.toString();
  127.    var res = "";
  128.    for (var i = 0; i < s.length%3; i ++) {
  129.        res += s[i];
  130.    }
  131.    var j = 0;
  132.    for (var i = s.length%3; i < s.length; i ++) {
  133.        if (j%3 == 0 && i != 0) {
  134.            res += ' ';
  135.        }
  136.        j ++;
  137.        res += s[i];
  138.    }
  139.    if (curr) {
  140.        res += ' PLN';
  141.    }
  142.    return res;
  143. }
  144.  
  145. function payConfirm(value, title, url, type) {
  146.    var c = document.createElement('div');
  147.    document.body.appendChild(c);
  148.    
  149.    var types = [];
  150.    types.push("jednorazowe obciÄ…Å¥enie");
  151.    types.push("cotygodniowe obciÄ…Å¥enie");
  152.    types.push("comiesiÄ™czne obciÄ…Å¥enie");
  153.    types.push("cozesonowe obciÄ…Å¥enie");
  154.    
  155.    if (types[type]) {
  156.        type = types[type];
  157.    } else {
  158.        type = "inne - " + type;
  159.    }
  160.    
  161.    var name = 'cash'+(new Date()).getTime();
  162.    
  163.    c.innerHTML = '<div class="sheet-info" id="'+name+'"><div class="sheet-text"><h4>Potwierdzenie obciÄ…Å¥enia kasy klubowej:</h4><div><span class="pointer">+</span> Nazwa: '+title+'</div><div><span class="pointer">+</span> Wartość: '+nf(value,true)+'</div><div><span class="pointer">+</span> Stan po: '+nf(<?php echo intval($aKlub['stan_konta']); ?>-value, true)+'</div><span class="pointer">+</span> Typ: '+type+'</div><div><input type="button" class="ibutton" onclick="window.location=''+url+''" value="Zatwierdź" /> <input type="button" class="ibutton" onclick="$(''+name+'').style.display = 'none';" value="Anuluj" /></div></div></div>';
  164.    
  165.    showAtCursor(name, 500);
  166. }


Wyswietla on szczerze nie wiem co bo sie nie znam na js
Tylko wiem ze pokazuje mi jakie¶ dodatkowe okienko
c.innerHTML jak dodam w linku

  1. <?php
  2. [/php]
  3.  
  4. [php] <a href="java script:payConfirm('.$aNextPoziom[0].', 'Poziom Szkó³ki - '.$iNextPoziom.' ', 'index.php?str=szkolka&cmd=upgrade&from='.$_GET['from'].'', 0);"><b><font color="#33CC99">Podnie¶ poziom</b></font></a>
  5. ?>


I Wyskakuje mi okienko Z Informacj± o poziomach ect

Porblem w tym ze w firefox dzia³a ale w ie o opera nie sad.gif
Czemu