*

Offline Dirk

  • *
  • 84
    • Profil anzeigen
CBE und Opera
« am: 16.02.2007 13:05 Uhr »
Habe heute die Mitteilung bekommen, dasss wenn ein Angemeldeter User auf sein eigenes Profil geht erscheint  im PMS  folgender Code:
Allerdings nur bei Opera Browser. Kennt Ihr das Problem?
 
var popup_layout = getdata_arr[0]; var new_count_popup = getdata_arr[1]; var new_count_text = getdata_arr[2]; if(new_count_popup>old_count_popup) { document.pmsnotify.old_count_popup.value = new_count_popup; document.getElementById("popup").style.display = "block"; document.getElementById("popup").innerHTML = popup_layout; } if(new_count_text!=old_count_text) { document.pmsnotify.old_count_text.value = new_count_text; if(new_count_text==0) document.getElementById("count_text").innerHTML = new_count_text + ' '; else document.getElementById("count_text").innerHTML = new_count_text + ' '; } else { if(old_count_text==0) document.getElementById("count_text").innerHTML = old_count_text + ' '; else document.getElementById("count_text").innerHTML = old_count_text + ' '; } } } function pmsnotify_handleHttpResponse_pmsnotify() { if(http_pmsnotify.readyState==4) { if(http_pmsnotify.status==200) { document.getElementById("popup").style.display = "none"; document.getElementById("popup").innerHTML = ""; if(document.pmsnotify.popup_link.value=="redirect") window.location.href = "index.php?option=com_pms&Itemid="; } } } function pmsnotify_check_unread() { http_check_unread.open("GET", "modules/mod_pmsnotify/check_unread.php?my_id=62", true); http_check_unread.onreadystatechange = pmsnotify_handleHttpResponse_check_unread; http_check_unread.send(null); } function pmsnotify_set_pmsnotify(link) { document.pmsnotify.popup_link.value = link; http_pmsnotify.open("GET", "modules/mod_pmsnotify/set_pmsnotify.php?my_id=62", true); http_pmsnotify.onreadystatechange = pmsnotify_handleHttpResponse_pmsnotify; http_pmsnotify.send(null); } function pmsnotify_getHTTPObject() { var xmlhttp; // try to create a new instance of the xmlhttprequest object try { // Internet Explorer if(window.ActiveXObject) { for(var i = 5; i; i--) { try { // loading of a newer version of msxml dll (msxml3 - msxml5) failed // use fallback solution // old style msxml version independent, deprecated if(i==2) { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } // try to use the latest msxml dll else { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP." + i + ".0"); } break; } catch(excNotLoadable) { xmlhttp = false; } } } // Mozilla, Opera und Safari else if(window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } } // loading of xmlhttp object failed catch(excNotLoadable) { xmlhttp = false; } return xmlhttp ; } var http_check_unread = pmsnotify_getHTTPObject(); var http_pmsnotify = pmsnotify_getHTTPObject(); pmsnotify_check_unread(); var active = setInterval("pmsnotify_check_unread()", 30000); Aktuell 1 Gast und
2 Mitglied

*

Offline admin

  • *****
  • 6.360
  • Support Joomla100
    • Profil anzeigen
    • 100 Prozent Joomla-Hosting
Re: CBE und Opera
« Antwort #1 am: 16.02.2007 17:53 Uhr »
Da müssten Sie mal beim Entwickler der Komponente nachfragen: www.stefan-klingner.de

Evtl. hat der eine Lösung.
Vollkasko-Versicherung für Ihre Homepage?
https://www.joomla100.com/sicherheit/vollkasko-versicherung