Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

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

on my site: www.windera.com I have java script, which is not showing on firefox browser, but it is visible on smart phones , IE and safary. Is it posible to get fix for firefax?

  • 4 përgjigje
  • 32 e kanë hasur këtë problem
  • 4 parje
  • Përgjigjja më e re nga raj2052

more options

Any body can help to make the following script visible on Firefox:

<script type="text/javascript">

var delay = 6800; //set delay between message change (in miliseconds)
var maxsteps=30; // number of steps to take to change from start color to endcolor
var stepdelay=55; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(255,255,255); // start color (red, green, blue)
var endcolor=new Array(0,0,0); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div style="font: normal 17px Georgia; padding: 7px;">'; //set opening tag, such as font declarations
fcontent[0]="<b>What is WINDERA?</b><br><br>It is a Vertical Axis Hybrid Wind Turbine.</br><br>This is a: </br><br>100% USA developed</br><br>100% USA manufactured </br><br>Created by US Solution's engineering team"
fcontent[1]="<b>Windera 500 </b><br><br>This series of VAHWT is the main driving power for US Solution's H.E.L.P.S.</br><br>Hybrid <br><br>Electric </br><br>Light </br><br>Pole </br><br>System"
fcontent[2]="<b>H. E. L. P. S.</b><br><br>This Art-Deco creation represents US Solutions engineering concept for: <b><br><br>Versatile <b><br><br>Unified <b><br><br>Simplicity</a>";
closetag='</div>';

var fwidth='225px'; //set scroller width
var fheight='320px'; //set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
  if (index>=fcontent.length)
    index=0
  if (DOM2){
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    if (fadelinks)
      linkcolorchange(1);
    colorfade(1, 15);
  }
  else if (ie4)
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  index++
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj.style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) { 
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);
 
  }   
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor-endcolor);
    if(diff > 0) {
      newcolor = startcolor-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor = startcolor+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)
  document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent

</script>

It is visible on IE; Safary; smart phones.

Thanks in advance

Any body can help to make the following script visible on Firefox: <pre><nowiki><script type="text/javascript"> var delay = 6800; //set delay between message change (in miliseconds) var maxsteps=30; // number of steps to take to change from start color to endcolor var stepdelay=55; // time in miliseconds of a single step //**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect var startcolor= new Array(255,255,255); // start color (red, green, blue) var endcolor=new Array(0,0,0); // end color (red, green, blue) var fcontent=new Array(); begintag='<div style="font: normal 17px Georgia; padding: 7px;">'; //set opening tag, such as font declarations fcontent[0]="<b>What is WINDERA?</b><br><br>It is a Vertical Axis Hybrid Wind Turbine.</br><br>This is a: </br><br>100% USA developed</br><br>100% USA manufactured </br><br>Created by US Solution's engineering team" fcontent[1]="<b>Windera 500 </b><br><br>This series of VAHWT is the main driving power for US Solution's H.E.L.P.S.</br><br>Hybrid <br><br>Electric </br><br>Light </br><br>Pole </br><br>System" fcontent[2]="<b>H. E. L. P. S.</b><br><br>This Art-Deco creation represents US Solutions engineering concept for: <b><br><br>Versatile <b><br><br>Unified <b><br><br>Simplicity</a>"; closetag='</div>'; var fwidth='225px'; //set scroller width var fheight='320px'; //set scroller height var fadelinks=1; //should links inside scroller content also fade like text? 0 for no, 1 for yes. ///No need to edit below this line///////////////// var ie4=document.all&&!document.getElementById; var DOM2=document.getElementById; var faderdelay=0; var index=0; /*Rafael Raposo edited function*/ //function to change content function changecontent(){ if (index>=fcontent.length) index=0 if (DOM2){ document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")" document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag if (fadelinks) linkcolorchange(1); colorfade(1, 15); } else if (ie4) document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag; index++ } // colorfade() partially by Marcio Galli for Netscape Communications. //////////// // Modified by Dynamicdrive.com function linkcolorchange(step){ var obj=document.getElementById("fscroller").getElementsByTagName("A"); if (obj.length>0){ for (i=0;i<obj.length;i++) obj.style.color=getstepcolor(step); } } /*Rafael Raposo edited function*/ var fadecounter; function colorfade(step) { if(step<=maxsteps) { document.getElementById("fscroller").style.color=getstepcolor(step); if (fadelinks) linkcolorchange(step); step++; fadecounter=setTimeout("colorfade("+step+")",stepdelay); }else{ clearTimeout(fadecounter); document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")"; setTimeout("changecontent()", delay); } } /*Rafael Raposo's new function*/ function getstepcolor(step) { var diff var newcolor=new Array(3); for(var i=0;i<3;i++) { diff = (startcolor-endcolor); if(diff > 0) { newcolor = startcolor-(Math.round((diff/maxsteps))*step); } else { newcolor = startcolor+(Math.round((Math.abs(diff)/maxsteps))*step); } } return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")"); } if (ie4||DOM2) document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>'); if (window.addEventListener) window.addEventListener("load", changecontent, false) else if (window.attachEvent) window.attachEvent("onload", changecontent) else if (document.getElementById) window.onload=changecontent </script></nowiki></pre> It is visible on IE; Safary; smart phones. Thanks in advance

Ndryshuar nga cor-el

Zgjidhje e zgjedhur

If you mean the script that shows the slide show then that is working fine for me with Firefox 3.6.11


You can reload the page and bypass the cache with:

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)

See Keyboard shortcuts - Perform common Firefox tasks quickly and Use mouse shortcuts to perform common tasks in Firefox


  • "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
  • "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems

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

Krejt Përgjigjet (4)

more options

Zgjidhja e Zgjedhur

If you mean the script that shows the slide show then that is working fine for me with Firefox 3.6.11


You can reload the page and bypass the cache with:

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)

See Keyboard shortcuts - Perform common Firefox tasks quickly and Use mouse shortcuts to perform common tasks in Firefox


  • "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
  • "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems

more options

My home page: http://windera.com/default.aspx can not load on Firefox!? It uploads perfect on IE. Do I have any problem with my footer java script? I just delete the scrolling text, but page still can not upload? What could be solution?

more options

The home page loads mostly correctly in Firefox 4.0 Beta 7, which is what I happen to be using at the moment (when I happened to see your question and website).

However, a few notes:

-- The slideshow itself displays OK, but the slideshow *controls* are not visible.

-- Your website is heavily dependent upon proprietary Microsoft technologies, which frequently means that a site will work in IE but not Firefox. (Most of the pages seems to be .aspx; I saw in the page source a reference to MS Silverlight (which I tried six months ago or so, but then uninstalled), and you're doing cross-site scripting with Microsoft's "officelive" website.) Your web-authoring software also seems to be inserting lots of unnecessary "div" tags -- it's possible even that is causing some problems.

more options

check this link walllook