March 11, 201511 yr Does anyone know why this page won't allow a fast scroll when spacebar is pressed? Another section of the site does allow it.
March 18, 201511 yr I have a feeling it may be to do with the errors that I'm seeing in the console (especially the last error). I think if you fix these then your problem may resolve itself as a bi-product. "NetworkError: 404 Not Found - http://nialldevlin.com/images/sidebar/winterscenes2015.jpg" winters...015.jpg "NetworkError: 404 Not Found - http://nialldevlin.com/olwjubilee/images/searchbutton.svg" searchbutton.svg "NetworkError: 404 Not Found - http://nialldevlin.com/images/sidebar/winterscenes2015.jpg" winters...015.jpg TypeError: submitbutton is null if(submitbutton.addEventListener){ /olwjubilee/ (line 17) We should always be looking into the console at the first sign of things not working as they should. I always have the console open by default when developing, it solves a lot of headaches.
March 18, 201511 yr Author I have a feeling it may be to do with the errors that I'm seeing in the console (especially the last error). I think if you fix these then your problem may resolve itself as a bi-product. "NetworkError: 404 Not Found - http://nialldevlin.com/images/sidebar/winterscenes2015.jpg" winters...015.jpg "NetworkError: 404 Not Found - http://nialldevlin.com/olwjubilee/images/searchbutton.svg" searchbutton.svg "NetworkError: 404 Not Found - http://nialldevlin.com/images/sidebar/winterscenes2015.jpg" winters...015.jpg TypeError: submitbutton is null if(submitbutton.addEventListener){ /olwjubilee/ (line 17) Thanks NOCK, I'm unfamiliar with Error Console, but installed it and sorted these issues - unfortunately the scrolling problem is still there. I see a lot of errors, but I have no idea how they relate to the page (I can't find what they refer to when I search the page). For instance; tTimestamp: 18/03/2015 17:08:27 Error: The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. Source File: https://a.gfx.ms/Compose3_VnEKqpX980jRwJ5mpmmN0g2.js Line: 0 Timestamp: 18/03/2015 17:13:52 Error: TypeError: can't access dead object Source File: chrome://thumbnailzoomplus/content/overlay.js Line: 1360 Timestamp: 18/03/2015 17:09:09 Error: Error: Permission denied to access property '__qosId' Source File: https://a.gfx.ms/Shared_iXfFugajQUakhrSicKp4ow2.js Line: 1
March 18, 201511 yr It may be due to the fadeSlideShow plugin, it binds the spacebar to an autoplay function. You'll notice the images at the top stop when you press the spacebar. You can turn off keyboard control in the options. jQuery(document).ready(function(){ jQuery('#slideshow').fadeSlideShow({ width: 934, height: 340, allowKeyboardCtrl: false // <- insert this line }); });
March 18, 201511 yr Author That's sorted it, thanks Wynn. What should I do about the results of the Error Console? I thought W3C validation was enough...
March 18, 201511 yr Thanks NOCK, I'm unfamiliar with Error Console, but installed it and sorted these issues - unfortunately the scrolling problem is still there. I see a lot of errors, but I have no idea how they relate to the page (I can't find what they refer to when I search the page). For instance; tTimestamp: 18/03/2015 17:08:27 Error: The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. Source File: https://a.gfx.ms/Compose3_VnEKqpX980jRwJ5mpmmN0g2.js Line: 0 Timestamp: 18/03/2015 17:13:52 Error: TypeError: can't access dead object Source File: chrome://thumbnailzoomplus/content/overlay.js Line: 1360 Timestamp: 18/03/2015 17:09:09 Error: Error: Permission denied to access property '__qosId' Source File: https://a.gfx.ms/Shared_iXfFugajQUakhrSicKp4ow2.js Line: 1 Not sure what you mean by having to install the error console. The console is a part of the Chrome developer tools that come with the browser. I recommend you do some googling on them. They are one of the most invaluable things to have for developing websites.
March 18, 201511 yr Author Not sure what you mean by having to install the error console. The console is a part of the Chrome developer tools that come with the browser. I recommend you do some googling on them. They are one of the most invaluable things to have for developing websites. I installed a Firefox add-on called Error Console thinking it was what you meant, but then I realised that enabling it through about:config was the way to go. I'll certainly educate myself on it. I used FF, not Chrome.
March 18, 201511 yr Use chome for developing. their dev tools (at the moment) are by some way the most powerful.
March 18, 201511 yr In this instance, either are fine. Firefox has an Error Console built in too, which I'm sure you already know. Yeah the're all good for basics, just there's a whole load more powerful features on the chrome dev tools. Well worth learning all you can do with it especially performance metrics. The rabbit hole goes pretty deep
March 19, 201511 yr I was a big user of firebug, but then chrome released all the performance stuff and it allowed me to measure really useful things that just weren't possible with firebug. If you watch some of Paul Irish's videos going through what you can do with the chome dev tools I'm sure you'll see why I find them so useful. A few things I find useful: highlighting which parts of a page get repainted during each animation frame Showing real time FPS Ability to breakdown what code is executing on each animation frame to find bottlenecks / inefficiencies CPU profiling Network throttling simulation Memory profiling to find memory leaks in your javascript Some of this stuff is invaluable when trying to improve the performance of your website. That's not to say Firebug won't release an update that will blow the chrome dev tools out of the water, but right now I could not live without the Chrome dev tools.
Create an account or sign in to comment