I have use where I want to change the default scroller for my application in mozilla firefox. I tried with ::-moz-scrollbar but this doesn't help. I tried using scroller plugins but that as well doesn't help me . I am able to achieve my use case in chrome but not in mozilla firefox. I have attached two different scrollers ,one in google chrome and the other in mozilla firefox. I have to achieve the same scroller as of google chrome.scroller in google chrome for my application
scroller inmozilla firefox.
Is there any to achieve this use case in mozilla fiefox ?
You can try mCustomscrollbar plugin, he has taught you how to configure and demos.
http://manos.malihu.gr/jquery-custom-content-scroller/
I used this plugin in my previous project, the compatibility is very good, it is easy to configure.
This is the github address
https://github.com/malihu/malihu-custom-scrollbar-plugin
Should be able to meet your needs.
::-webkit-scrollbar This is only valid for webkit kernel browsers.
Firefox browser does not provide css to modify the scrollbar api, it can only be modified by javascript
I haven't used it myself but I have heard about perfect-scrollbar you might to want to give it a try
perfect-scrollbar
Related
I have read a lot and try a lots of different techniques to manipulate my google map in different way of resizing and everything but none have gave my decent results. The fact simply is that when I hit cmd-p in google Chrome I didn't see my map and the same operation work perfectly in other browsers... I have try many many times to remove all kind of styles possible from my code... I can only conclude that it's a Chrome bug ??
Cmd-p with Chrome 47.0.2526.106 (64-bit)
Cmp-p on the same page with Safari Version 9.0.2 (11601.3.9)
I don't think it's relevant here to put all the code that I use to generate driving directions and that stuff...
This just not working in Chrome !?
Thx in advance...
Serge Savoie
Twitter bootstrap is overriding some style that should not :
Here is the solution
#media print {
img {
max-width: none !important;
}
I'm working on a Markdown text editor using a contenteditable and Rangy to easily add links and images. The problem is that rangy.createRange();, an important function in the Rangy library, cancels the ability to undo an action (text added in the contenteditable in my case).
I have browsed the Web to find a solution and I have found UndoManager, but I cannot find information about how to use it and if it has been added in Chrome (I'm working on a Chrome Packaged App so I don't care if Safari does not support it).
If somebody knows something about this piece of HTML5 it would be amazing.
Thanks in advance.
According to this link , none of the current browsers support the UndoManager spec. You can test that in your browser by trying to access document.undoManager which undefined in Chrome
I'm developing a web-app and want to use JavaScript and HTML5 for gestures. I came across this -http://scripty2.com/demos/touch/ , but for this we need Starlight browser (http://starlight-webkit.org/Starlight/).
I don't want to restrict users to a specific browser. For Firefox I found this ( http://felipe.wordpress.com/2010/08/11/multitouch-in-firefox4/ ).
So I was wondering if someone can point me to any resource that won't restrict me to a particular browser. My goal is to define custom gestures.
-AB
I've tried to use these firefox resources but they didn´t work on my HP TouchSmart 300.
So here´s my solution:I´ve found my way using TuioJs and npTuioClient . This connects TUIO to your desktop browser. It works on firefox and chrome, didn´t try on IE.
Unfortunately, we cannot expect that an average user will set up TUIO just to visit our website, but anyway, it is a solution. Let´s hope there will be better solutions using HMTL5 in the near future.
I used the worderfull javascript library called raphaeljs on my website to draw maps, animations and animated functionalities. I have noticed that the script using this library work perfectly with iPhone but not with Android.
Can someone confirm this (just going on the demo page of raphaeljs will tell you if it works of not) and if it doesn't, does someone has any idea why, and what could be tested.
Thanks
The default Android browser did not support SVG until they recently re-introduced it with Android 2.3. One workaround is to use Opera Mobile (free from the Android Market) which will work whatever the Android version.
EDIT: My mistake, it's Android 3.0 (Honeycomb) that added SVG support in the default browser.
2ND EDIT: Better add a disclaimer that I work for Opera. There may be other non-default browsers that support SVG (but I haven't tried them).
Actually SVG is supported by Android since 2.0 I think (with WebKit, default browser), it's just not enabled by default : http://jindroid.com/2010/02/15/svg-support-on-android-webkit/
There's a patch you can apply (quite hard to do though) to enable it but I would advice you to download Opera or Mozilla Firefox for Android (via Market), which also supports svg quite well (I tested FF4 with Raphael JS).
Regards
I'm using a lot of JQuery in a web application that I am building for a client and I want to find an javascript implementation of a modal dialog that is reasonably stable across the following browser set.
IE 7+
FF 2+
Chrome and Safari
I've tried a couple of jQuery plugins but there always seems to be artifacts in one of these browsers.
--- Edit
jqModal seems to be more stable but I have an issue in IE7 where the dialog immediately disappears after popping up. I suspect a js event isn't being canceled or something. I'll have a bit more of a play.
I used jqModal few times and I'm very satisfied. It is pretty configurable yet very light weight.
Have you tried YUI? I'm not sure what the support is for Chrome but I've had good luck with it for IE and Firefox and allegedly it works with Safari.
We currently use BlockUI. It's awesome, in word. Can be styled via css (of course), blocks any element and seems stable, certainly in block IE and Firefox....
If you need a hand with it, post and I'll lend a hand...
http://www.malsup.com/jquery/block/
I went through a similar exercise, tried most of the plugins I could find. I used YUI for quite a while with good results; the only issue I ran into was resizing centered modals, which is quite an obscure use case.
I ended up with http://dev.iceburg.net/jquery/jqModal/ , I'm pretty happy with it.