Jump to content

Question

Posted

Im having error on slider in my thor patcher the sliders is like a small square like this when
i browse the slide.html in internet explorer

Here when i browse my url where i save the slide.html and also that is the same image showing on my thor patcher 

post-467-0-41932100-1458374818_thumb.png

but when i browse in Google Chrome its working fine ?? how to solve this please help
post-467-0-64443200-1458374821_thumb.png

 

6 answers to this question

Recommended Posts

  • 0
Posted

already solved it..

<script type="text/javascript"
   src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript"
   src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?
   load=effects"></script>
<style>
html,body{margin:0px;padding:0;border0px;overflow:hidden;}
</style>
 <script type="text/javascript">

  function ShowEffect(element){
       new Effect.Appear(element,
       {duration:1, from:0, to:1.0});
   }
    function FadeEffect(element){
       new Effect.Fade(element,
       {duration:1, from:1.0, to:0});
   }
   
var i = 0;
var path = new Array();
 
// LIST OF IMAGES
path[0] = "link/to/image";
path[1] = "link/to/image";
path[2] = "link/to/image";

function swapImage_0()
{
   document.slide.src = path[i];
   if(i < path.length - 1) i++; else i = 0;
 
 setTimeout("FadeEffect('hideshow')",4000);

setTimeout("ShowEffect('hideshow')",5000);

 setTimeout("swapImage_0()",6000);
 
 
}
window.onload=swapImage_0;

</script>

<div id="hideshow">

<a href="link/to/image" target="_blank"><img height="auto" name="slide" src="link/to/image" width="auto"/></a>

</div>
  • 0
Posted

Thor Patcher uses Internet Explorer, so, check any code on IE and it probably may be compatible with Thor Patcher.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...