Web Analytics Made Easy -
StatCounter iFrame Scroller problem - CodingForum

Announcement

Collapse
No announcement yet.

iFrame Scroller problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • iFrame Scroller problem

    I have installed the iFrame Scroller - called scroller IE.

    I use it within my portal tool that I am using called Geeklog as a portal block and it works fine - except for one problem.

    Every once in a while, it gets a case of jitters and goes into a loop, jittering up and down a few pixles at the top of the contents.

    I can refresh the page 20 times and not see this and then I can get it to occur several times out of 5 tries. It's very random and I can't see the connection.

    I also had the iFrame Ticker script - called ticker IE - installed and it is working fine. Disabled it to see if there was a conflict but did not solve the intermittent problem.

    Any ideas?

    Blaine

  • #2
    Show us your code or a URL. I have an idea on what the problem is...

    Quيet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

    Comment


    • #3
      Site URL and code..

      Thanks very much for the help. My site is here

      Cheers,
      Blaine

      Attached is my code:
      --------------------------------------------------------------------
      <html>
      <body>

      <div id="datacontainer" style="position:absolute;left:0;top:10;width:100%" onMouseover="scrollspeed=0" onMouseout="scrollspeed=cache">

      <!-- ADD YOUR SCROLLER MESSAGES INSIDE HERE--------------------->

      <align="left"><font face="Verdana" size="1"><p><br>Sign up to personalize the Site to your liking. Member features include: <li>Setup your stocks<li>Setup your weather location<li>Try different layouts<li>Know who leaves messages<li>Request an album<li>Additional Privilleges<p>Signing Up is easy - just click on the <i><b>New User</b></i> link on the left side by the Username and Password fields<p>If you visit, record your vote and be sure to leave a comment.<p>My old site can be found <a href=http://blweb.langfamily.ca>here</a><br></font></p>

      <!-- END SCROLLER CONTENT---------------------------------------->

      <div>

      <script language="JavaScript1.2">

      //<iframe> script by Dynamicdrive.com

      //Specify speed of scroll. Larger=faster (ie: 5)
      var scrollspeed=cache=1

      function initialize(){
      marqueeheight=document.all? parent.document.all.datamain.height : parent.document.getElementById("datamain").getAttribute("height")
      dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")
      dataobj.style.top=5
      thelength=dataobj.offsetHeight
      scrolltest()
      }

      function scrolltest(){
      dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed
      if (parseInt(dataobj.style.top)<thelength*(-1))
      dataobj.style.top=5
      setTimeout("scrolltest()",50)
      }

      window.onload=initialize

      </script>

      </body>
      </html>

      Comment


      • #4
        iFrame Scroller problem

        Originally posted by Quiet Storm
        Show us your code or a URL. I have an idea on what the problem is...

        Was a solution to this particular problem ever posted? I too am experiencing the same issue, without having multiple 'onload' scripts on the page.

        Thank you for the great resource!

        Comment


        • #5
          Wouldn't mind seeing the solution myself!!

          TIA

          Comment

          Working...
          X