Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 72

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
01/24/14 03:15 PM (11 years ago)

Menu With Image question

Is there a way to prevent screen bounce in Menu With Image, like we can with the "document behavior" section of the control panel on some other plugins? A line of code would be great if possible, since I have several hundred screens. Thanks!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/24/14 03:29 PM (11 years ago)
Tell us more of what you want to do. For example, do you want to stop the slide in from the right of the next screen?
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
01/24/14 03:34 PM (11 years ago)
Nope, just when scrolling up or down my menu list, when it gets to the top or bottom it does the bounce effect. For example, create a screen with custom html, fill it with a few paragraphs or images, then in your control panel of the screen go to the "document behavior" section and change the setting for "prevent screen bounce". You'll notice the difference in behavior when scrolling on that screen in your app. That's what I"m looking to do with my Menu With Image screens. When you get to the top or bottom of your scroll, it "bounces" with some blank area. It's not a bug or anything (actually, it's a feature, lol), but looking to keep the same feel to all of my screens in my app, and preventing the bounce is part of it.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/24/14 08:51 PM (11 years ago)
OMG -- Steve Jobs is wailing that you are not wanting to use their patented technique! All I know is that one can disable scrolling or one can switch to Android for dead-end stop-in-your-tracks haltings. Perhaps you can mollify the situation a bit by specifying a background color that will help the ease of the bounce effect. Of course, you can appease Steve Jobs by using a fabric background texture! Hahahah. Sorry, this is too funny. :-) -- Niraj
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
01/25/14 08:58 AM (11 years ago)
Lol, that's funny. No, there must be a way to turn if off programmatically somehow, as some plugins have that switch in their control panel. Just trying to make all of my screen behave the same way. It's hard to describe without seeing my app, but the pages with the bounce effect when scrolling look out of place compared to the screens that don't. Turning off scrolling isn't an option, since most of my menu with image screens contain upwards of 100 items... so turning off scrolling would only show like the first 6 or so. Already using a background image. It's not the background that makes the bounce effect look odd, it's the empty space that the effect creates when it bounces, where the non-bounce screen don't have that. It simply stops scrolling when it reaches the end, which is the desired effect for my app. There must be a way to turn off the effect with a line of code... since it's an option in other plugins.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/26/14 01:22 AM (11 years ago)
Which plugins have that setting to turn-off the bounce?
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
01/26/14 01:27 AM (11 years ago)
CustomHTML is one of them
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.