Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

I have created .net application and it is running properly in Internet Explorer.If i am trying to run the same in mozilla, javasript popup Windows not working.

  • 2 përgjigje
  • 3 e kanë hasur këtë problem
  • 1 parje
  • Përgjigjja më e re nga sachusafeena

more options
this.showPage = function(url, title, width, height, topLength, leftLength) {
        try {
            if (top.window.document.getElementById('divContainer') == null) {
                var objDiv = top.window.document.createElement("<div id='divContainer' ></div>");
                objDiv.style.cssText = divStyle;
            }
            else {
                var objDiv = document.createElement("<div id='divContainer' ></div>");
                objDiv.style.cssText = divStyle;
            }
}

is working properly in IE,But not in Mozilla

<pre><nowiki>this.showPage = function(url, title, width, height, topLength, leftLength) { try { if (top.window.document.getElementById('divContainer') == null) { var objDiv = top.window.document.createElement("<div id='divContainer' ></div>"); objDiv.style.cssText = divStyle; } else { var objDiv = document.createElement("<div id='divContainer' ></div>"); objDiv.style.cssText = divStyle; } }</nowiki></pre> is working properly in IE,But not in Mozilla

Ndryshuar nga cor-el

Zgjidhje e zgjedhur

I don't know if Firefox allows to set a value to cssText


A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

Lexojeni këtë përgjigje brenda kontekstit 👍 0

Krejt Përgjigjet (2)

more options

Zgjidhja e Zgjedhur

I don't know if Firefox allows to set a value to cssText


A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

more options

I got the solution for this.

Instead of

var objDiv = top.window.document.createElement("
");

I used as var objDiv = top.window.document.createElement("div"); objDiv. id="divContainer" ;

Its working fine in Mozilla