Im making a flashbanner for a client. In this banner the viewer should be able to scroll down to see more text. This works ok in Chrome (Can I set scrollspeeds?), but it doesnt work well in firefox nor Safari.
If I scroll lightly, nothing happens, if I give the mousewheel an agressive whirl it scrolls down a liiitle bit...
I tried things like wmode window settings, and using the macmousewheel class, but to no results...
Do you guys have any idea what this could be, it's driving me CRAZY :)
Thanks in advance!!
This is a problem of ScrollPane object. And it's not the only problem of it. As far as I know, you can't avoid it continuing to use ScrollPane. I think you have to download on of custom Scrollbars/Scrollpanes, many of them are freely available.
Related
I am developing website and have a strange bug that appears only on Chrome. I have a latest Chrome version and as I googled it seems to be old bug on older versions of Chrome(v18 - v20). Basically what happens: browser loads page, but on the bottom of the screen I have white spaces/rectangles instead of content or footer. Once I hover it - the rest of the content is loaded. Any ideas, links or solutions would be great.
I tried to work with this around with setting height to auto, but this didn't help. Also tried to load page in incognito to make sure it is not caused by any of the extensions I use, but this as well had no affect in resolving the issue.
Another solution that I think of is to set interval to re-trigger CSS in some milliseconds the page is loaded, but this is not the best solution and there should definitely be some other, more optimal, way to solve this.
P.S.:
All other browsers work like a charm.
Thanks in advance for the help.
In my case issue was with fade-in animation set on whole content. As website owner decided to skip the animation to save time. No further digging was done.
First of all, let me explain what I mean by "smooth scrolling" here. When I rotate the mouse wheel by one "step", e.g. on Google Search results page, the page gradually moves up/down - the transition from the "before scroll" to "after scroll" states takes some time and is nicely animated. However, whenever I create a long page in html and try to scroll just one "step", there is no animation or transition on scroll - the page just instantly jumps few lines up or down. The average repaint time of my page takes about 5ms, with peaks up to 8ms, so I know repaint time is not the cause of that.
I know that such smooth scrolling can be achieved without any scripting, as for example the site http://www.thecssninja.com/ scrolls super-smooth on Chrome even with js disabled.
Why does Chrome choose not to scroll my page smoothly? How do I achieve smooth scroll without depending on JS, as CSS Ninja manages to?
PS Firefox does not seem to have that issue. How do I tell Chrome with my html/css that I'd like my page to scroll smoothly?
Either you can enable chrome smooth scrolling manually, which does not make sense for website development.
Or you can use some of the libraries to achieve that.
https://github.com/fatlinesofcode/jquery.smoothwheel
Sadly for chrome you cannot enable smooth scrolling through HTML, CSS or JS.
I know you're not after JS solutions, but I've never seen anything guarantee this outside of JavaScript, and karan's link above is certainly the smoothest example I've seen of doing this.
(Proviso: I'm using Chrome for Windows, not Linux. Apparently, that may make a difference.)
I use Chrome myself, and I always get the pages scrolling in jumps, not smoothly--even the pages you described as 'smooth' above step for me several lines at a time, including the Google results page. There used to be a flag available for this in Chrome, which allowed you to turn on smooth scrolling -- it could be accessed through Chrome's flags (go to chrome://flags/ to see those that are available) -- but it's now only available for the Linux Chrome platform. It may be available again in the future, but for now at least, it isn't. Hopefully, though, these experimental features will eventually find their way into Chrome, and render this whole issue obsolete.
Firefox, on the other hand, scrolls in nice smooth steps no matter what page I'm on--including my own local info pages which have almost no styling at all. IE scrolls smoothly, though not nearly as nicely as Firefox, while Opera behaves like Chrome, and steps through the pages several lines at a time.
I'm pretty sure that this is an issue to do with the browser, and not something that you can currently remedy with styling alone. Sorry I couldn't be of more help, but if you're doing this for a client, at least you'll be able to explain the issue.
I would highly recommend finding an alternate solution, but I have managed to find a solution to this exact problem for one of my websites. Akin to just using glitter glue to solve a leak in a wall, I discovered that including an iframe for a Google map on the page (even if it's hidden) somehow added in smooth scrolling. I have no idea how it works, but for some bizarre reason it does.
As I said though, I highly recommend not doing this, as its an extra (and sometimes lengthy) request made on each page to include an element most users won't ever see.
Folks I'm baffled. I've produced an HTML page which uses CSS animation and some very basic Javascript. Although I'm sure I haven't done it the best/most efficient way (still a bit new to this), it works enough for me to be happy with it, but when running in Chrome, Safari or Opera I run into an intermittent issue with how some elements are rendered.
Live example: http://careers.dept.shef.ac.uk/MOOCs/STAR/
Navigate down to "Problem Solving Skills", then from there navigate to either "Communication skills" or "Leadership skills". The navigation buttons that were at the bottom Problem Solving Skills are still visible. But they're not really there... if I hit Ctrl+A they disappear. You can't click on them, they're just left there.
I've tried this on a few PCs and had the same issue. Sometimes it doesn't happen at all. It doesn't seem to happen on IE or Firefox. Could it be to do with how these browsers render elements and how they process opacity?
Many thanks in advance.
EDIT: here's a screen grab: http://i.stack.imgur.com/FPtGQ.png
It's a long shot, but you have malformed HTML on those buttons, trying fixing that and see what happens:
<p class="btnText">Communication skills</p class="btnText">
should be:
<p class="btnText">Communication skills</p>
Edit
Okay, try adding this style to .example2:
height: 100%;
and change overflow to:
overflow:hidden;
I have an issue in a site that I've been working on, and it's only happening in Chrome.
After the page loads (link below), everything but the navigation bars and sponsors banner disappears. However, if I scroll down, things reappear the way they should be. Scroll back up, and they disappear again. I haven't been able to test this out in many other places, but I've tried it on at least one other computer (in Chrome) and the same thing happens. I was not the one who built the site originally, but I have been working on it for a while now and have a pretty good understanding of it. However I've never seen anything as weird as this. Other notes: Sometimes the whole background and content disappears, sometimes only portions of it. It's also really laggy, again only in Chrome.
I think this may be JavaScript related, but I don't know. Can anyone tell me why the page behaves this way? Maybe how to fix it? Why it only happens in Chrome? Help would be greatly appreciated.
Link: http://www.calpolysae.org/main/baja_media.php
Here are a couple screenshots too, to show the difference before and after scrolling down.
https://drive.google.com/folderview?id=0B7HP2Q5qXoqrTjdwMldBbzRDVm8&usp=sharing
start with fixing the error on page : "'jquery' with version '1.10.0' not found! "
afer that said,
i think it related to the width of that banner:
<img id="banner" style="position:relative; top:-300px; width: 430px; height:auto;display: block;" src="images/SAElogo.png">
try to make it smaller , set it to :
width: 300px;
I have a site (link below) where the clients work displays on a long horizontal page. The menu is fixed on the left hand side and the images disappear under the menu when scrolling across.
The client has now uploaded quicktime movies which do not go under the menu like the images but scroll over the menu.
http://www.calebchurchill.com/projects/horny_dog/
I have tried to sort this using z-index but am so far been unsuccessful.
Any ideas?
See here - are you facing the same problem?
The OP there finally went on to use RealPlayer instead, hope it helps you...
Try this
Quicktime video appearing over Fixed DIV
They use special quicktime params to make the Quicktime Player use the stackorder.
I havenĀ“t tested it myself because its not exactly my solution, but it might help you, if you can access the embedding code of the player.