Comments for Chris Barr https://www.chris-barr.com Photo/Dev/Design Thu, 13 Dec 2018 13:32:15 +0000 hourly 1 https://wordpress.org/?v=4.4.20 Comment on Scrolling a overflow:auto; element on a touch screen device by Daniel https://www.chris-barr.com/2010/05/scrolling_a_overflowauto_element_on_a_touch_screen_device/#comment-14378 Thu, 13 Dec 2018 13:32:15 +0000 http://URLTOYOURWORDPRESS.com/?p=168#comment-14378 Just want to say it’s 2018 and this is still saving lives.

I modified it into a React vertically scrolling carousel component that was scrolling the whole page instead of just the carousel on mobile ios devices.

I found that removing both of the preventDefaults meant that on ios the scrolling still chained up making the whole page scroll. But by removing just the first preventDefault() in the touchStart addEventListener function it allowed items to be clicked AND stopped the scroll-chaining.

Also I removed the line: var el=document.getElementById(id); — because the variable is never used and React nags you about that sort of thing :-)

Thank you!!!!

]]>
Comment on Scrolling a overflow:auto; element on a touch screen device by Paul https://www.chris-barr.com/2010/05/scrolling_a_overflowauto_element_on_a_touch_screen_device/#comment-13588 Sun, 01 Jul 2018 02:46:00 +0000 http://URLTOYOURWORDPRESS.com/?p=168#comment-13588 I like the first part of the solution. Stopping the window scroll on in-div scroll initiation (mousedown event for the overflow element). The touch screens I have seen scroll both the div and the page, just the page moves more and faster, and definitely breaks the experience.

So, I will see if a freeze (or active setting page scroll y to 0 ) solves this issue alone. This would work in any browser then, not needing to support touch events.

]]>
Comment on Lyric Converter V2! by Chris Barr https://www.chris-barr.com/2013/06/lyric-converter-v2/#comment-11431 Wed, 16 Aug 2017 20:08:51 +0000 https://www.chris-barr.com/?p=1626#comment-11431 Yes, this is built into ProPresenter 6. It allows you to import your entire song library from previous versions.

]]>
Comment on Lyric Converter V2! by John https://www.chris-barr.com/2013/06/lyric-converter-v2/#comment-11430 Wed, 16 Aug 2017 20:07:00 +0000 https://www.chris-barr.com/?p=1626#comment-11430 Any way to convert ProPresenter 5 songs into ProPresenter 6 format? My software on my Mac isn’t reading the PP5 songs.

]]>
Comment on Scrolling a overflow:auto; element on a touch screen device by ankiewicz84 https://www.chris-barr.com/2010/05/scrolling_a_overflowauto_element_on_a_touch_screen_device/#comment-10298 Wed, 15 Mar 2017 07:44:05 +0000 http://URLTOYOURWORDPRESS.com/?p=168#comment-10298 Oh my word!!!.. you saved my life! I just spent the last 5 hours trying to figure out what the issue was, reading that this method wasn’t needed because of CSS updates, yup, that wasn’t true at all!!

Anyone utilizing this code please note: The code above will stop all clicks occurring in these sliders. Be sure to delete the prevent.default. Other then that this code works perfectly!

“` function isTouchDevice(){
try{
document.createEvent(“TouchEvent”);
return true;
}catch(e){
return false;
}
}

function touchScroll(id){
if(isTouchDevice()){ //if touch events exist…
var el=document.getElementById(id);
var scrollStartPos=0;

document.getElementById(id).addEventListener(“touchstart”, function(event) {
scrollStartPos=this.scrollTop+event.touches[0].pageY;

},false);

document.getElementById(id).addEventListener(“touchmove”, function(event) {
this.scrollTop=scrollStartPos-event.touches[0].pageY;

},false);
}
}

touchScroll(“YOUR_ID_GOES_HERE”);“`

]]>
Comment on Lyric Converter V2! by Paul https://www.chris-barr.com/2013/06/lyric-converter-v2/#comment-10211 Sat, 04 Mar 2017 20:43:15 +0000 https://www.chris-barr.com/?p=1626#comment-10211 ]]> Good work! I just wanted to let you know that I just released a Pro6 tutorial that lets people know about your work at lyricconverter.com as a resource for people to convert lyrics (and also an EasyWorship converter, too.): http://www.trinitydigitalmedia.com/2017/03/propresenter-6-tutorial-converting-lyrics-worship-software/
Thought you might find it interesting, (despite me making a mistake and listing Mediashout, not Easyworship, at the beginning). 😉

]]>
Comment on Scrolling a overflow:auto; element on a touch screen device by Bob https://www.chris-barr.com/2010/05/scrolling_a_overflowauto_element_on_a_touch_screen_device/#comment-9831 Thu, 19 Jan 2017 17:37:01 +0000 http://URLTOYOURWORDPRESS.com/?p=168#comment-9831 Really helpful. Thank you!

]]>
Comment on The Comic Sans Effect by What Is Comic Sans Effect – inmom.net https://www.chris-barr.com/2008/04/the_comic_sans_effect/#comment-7601 Sat, 16 Apr 2016 02:54:54 +0000 http://URLTOYOURWORDPRESS.com/?p=81#comment-7601 […] The Comic Sans Effect | Chris Barr – The Comic Sans Effect April 25, … Comic Sans is commonly used when the designer wants to show something as being simple or for children since it looks like … […]

]]>
Comment on Scrolling a overflow:auto; element on a touch screen device by Ian Onvlee https://www.chris-barr.com/2010/05/scrolling_a_overflowauto_element_on_a_touch_screen_device/#comment-7018 Sat, 12 Mar 2016 19:41:53 +0000 http://URLTOYOURWORDPRESS.com/?p=168#comment-7018 This solution of yours I think is great, I’m gonna check it out.

]]>
Comment on Scrolling a overflow:auto; element on a touch screen device by Ettienne Pro https://www.chris-barr.com/2010/05/scrolling_a_overflowauto_element_on_a_touch_screen_device/#comment-7014 Sat, 12 Mar 2016 12:17:33 +0000 http://URLTOYOURWORDPRESS.com/?p=168#comment-7014 I want this functionality on a desktop size device. You know using the mouse wheel scroll to navigate the page.. Normally with mouse wheel it takes long long to scroll down about 20 scrolls and even longer for blogs.. The mobile device flick up and down would be epic if used on a mouse wheel so if you scroll down fast it’ll do the same as mobile and when you want to stop at a point you just scroll up..

Perhaps that behavior can be archived only on your own website, so maybe it needs to e a browser extension..

]]>