Skip to main content

Posts

Showing posts with the label dialog

Flash on top of jQuery dialog

I know many have asked this question, but I think my situation is a little bit different. I have a site where I have some ads which is Flash hidden in a because of xhtml/html compatibility issues. But the flash elements is on top of my jQuery dialogs which is not ideal. Some solutions have suggested setting wmode to opaque but I can't because my ads are scripts which outputs flash elements. Another solution suggested hiding ads when a dialog is shown. So my question is: Is there a way to put flash content behind my jQuery dialogs while they are visible and without altering the flash code? Best regards, Lasse Espeholt Update: I have now reopned the question with a bounty. As for now, I hide every Flash ad on "show dialog". But this is still not an optimal solution. So, I'm looking for a script which can make every Flash animation to opaque (a jQuery solution would be nicest, but a plain JavaScript solution will do). Or if there should be another solution n

Exit application programmatically

I have been searching for an answer but I couldn't find a proper one. The question is that I have a dialog themed activity on top of a normal activity. I would like to force the users to either read and click "OK" to the themed activity which will then transfer them to another dialog themed activity for some further questions or cannot enter the application. So, I would like to exit the application, on back press, and not just finish the themed activity that will reveal the content of my app. How is that possible?

Extras on demand in a Android Dialog

In one of the activities of my application the user can select the language. Since the app is only in 5 languages I'd like to do something like: When the user press the button language show a dialog displaying the 5 main languages, and a extra option:"Show more languages". If the user select the last one then show the complete list. I really dont know how to implement that keeping the action natural for the user, since reloading the dialog with all the languages can be confusing. How can I make that? Thanks