Giter Site home page Giter Site logo

Comments (5)

tkahn avatar tkahn commented on September 22, 2024

I'm sorry but I think this is not an error in the scroller. I haven't used the plugin the way you describe. To be perfectly honest I'm not sure what you are doing?

from smooth-div-scroll.

sghanbari avatar sghanbari commented on September 22, 2024

Hi!
Yes I guess this isn't an error in the scroller because it works right in IE or other browser but I don't know why I try to show the content of the html in a WebBrowserContorl it moves much slower than I've configured !
In my application I have to view a html file in a .net windows form application , to do that I use WebBrowserContorl.
Here is my simple code :

using System.Windows.Forms;
namespace SmoothDivScroll
{
public class Form1 : Form
{
public Form1()
{
InitializeComponent();
var _webBrowser = new System.Windows.Forms.WebBrowser();
this.Controls.Add(this._webBrowser);
_webBrowser.Navigate(@"C:\Smooth-Div-Scroll\index.html");
}
}
}
the index.html file has the script of the Smooth-Div-Scroll and I've added autoScrollingInterval: 5 to configure the scroller a little fast, it works just right in IE but when I run my application to view the content of the index.html the scroller moves so slow!
Thanks,
Sepideh

from smooth-div-scroll.

tkahn avatar tkahn commented on September 22, 2024

I found a post on Stackoverflow which deals with this issue. You could take a look at it to see if it solves your issue.

from smooth-div-scroll.

sghanbari avatar sghanbari commented on September 22, 2024

I had seen that post but it was not use full, when I Open my html file in IE8 the problem exists. adding or changing registry doesn't fix it !
I guess some scripts doesn't run in IE8 .

from smooth-div-scroll.

tkahn avatar tkahn commented on September 22, 2024

Smooth Div Scroll runs in IE8 if you use it the normal way. I think something happens when you use it in a WebBrowserControl(?)

from smooth-div-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.