I've got an magazine app. In it, I implement AFK Page Flipper for page curl. But now I have no idea how to create active content. I mean for example when I've got image on page I want to tap on it and get bigger in model view. Like in Flipboard app. Any ideas? Thx for reply!
I got it... Flipboard has page turning on swipe not on tap. So wehn I want to show image I tap. When I want to turn over page, I sipe...
Related
I want to add a button on the passcard. I am using Laravel 8 to create a passcard. I can see that layout does not support doing so. Is there any way we can add a button on the passcard and that button will act as a clickable URL to route to some web link. Please help me to achieve this.
I am looking forward to hearing.
Thanks,
I think you cannot add button(s) on cards, maybe on Passes like boarding tickets, but the only link I can see on Passes is a image button (logo of the app) redirecting to the ios app linked.
Alternative for cards you can do:
Format your card with a text encouraging the user to press the dots button.
Then on card description you can add links
We have Urban Airship integrated in our app, and some pushes determine a landing page is displayed to the user when the app is opened.
This landing has a button that will usually trigger a deeplink, taking the user to a specific flow within the app.
The problem is that, when doing so, the landing page banner is NOT being dismissed. The deeplink works properly, but the banner is still shown above everything else, forcing the user to close it with the upper-right close button.
Any ideas on why this might be happening? Did somebody run into this issue? We are not doing anything on our end to handle this behaviour as I understand it should be automatic.
Thanks in advance for any tips you might throw our way ;)
Are you using one of the templates? There is a checkbox "close after action" that needs to be checked:
If you are using a custom template, call UAirship.close() after running the action.
I'm kinda new to rails so forgive if this is a stupid question.
The scenario is:
I got my events controller with a index view that shows all events on the page. Now, what i want to achieve is: User clicks on one of the events, lightbox comes up showing all info about about that one event, with all the other events still behind the dark background of the lightbox. User closes the light box and process repeats. Pinterest is a good example of what i'm trying to do.
At the moment, i got these 2 views working properly. User clicks on the event and is taken to the show action.
So i'm wondering if what i'm trying to do is RESTfully achievable(without too much hacking around) in rails(3.2.8) and if so, would appreciate some insight as to where i should start from.
Thanks a lot.
As far as I understand what you want to achieve, it has nothing to do with actually rendering 2 views at the same time. What you're describing is simply making an ajax call with lightbox that opens up an URL that renders another view in the shown DIV or IFRAME (whatever lightbox uses)...
Depending on which version of Rails you use the implementation of this looks a bit different. But actually what you have to do is simply include LightBox2 in your Rails app, by simply adding the appropriate JS and CSS files and then supply the necessary class at your link_to calls...
Hope it's clear what I mean.
UPDATE
See this link for further info.
I have a login-screen.
After the user enters his credentials, he clicks on "Login" to login.
Now in the background with the login there will be a load of a few things, so it need around 3 seconds to display the next view.
How to solve that the screen is not freezing within this 3 seconds?
I had the idea to solve this by a loading screen (Typical for iPhone Apps) or shange the clicked button to "Try to Login...", so the user is not only thinking "has my click worked or should I click again"...
I hope its understandable...
Whats to do?
I suggest to use MBProgressHUD its show an indicator with label if you want like "loading" for example and disable the user action on the view also its easy to use and has a good/simple interface.
you can find it on this link
I loaded the Like Box iframe code generated on Facebook into an UIWebView on my iPhone App. It works well, but when I scroll, it scrolls the UIWebView itself, and not the content inside the iframe. How can I block the UIWebView from scrolling (i.e the UIWebView takes the fullscreen frame) and allow the overflowed content of the iframe to scroll instead ?
ps : I tested a simple .html in MobileSafari.app and I have the same problem
You use two fingers in the like box instead of one. Then it scrolls.
You won't have much control over a plugin that is rendered as an iframe due to cross domain restrictions and they do not give many options to customize the appearance.
You could replace it with a Facebook like button. Then below it, you could add code that reads and displays the Fan Page feed using the graph api's page's feed connection (/pageId/feed). This would give you full control over the rendering and still gives the user the option to like your page. To improve performance of this solution you could use the Facebook real-time updates API to get notified when new updates get posted to the page and then you could pull those down and cache them.