How to generate a simple popup using jQuery

First the CSS – tweak this however you like: a.selected { background-color:#1F75CC; color:white; z-index:100; } .messagepop { background-color:#FFFFFF; border:1px solid #999999; cursor:default; display:none; margin-top: 15px; position:absolute; text-align:left; width:394px; z-index:50; padding: 25px 25px 20px; } label { display: block; margin-bottom: 3px; padding-left: 15px; text-indent: -15px; } .messagepop p, .messagepop.div { border-bottom: 1px solid #EFEFEF; margin: 8px … Read more

How to implement a pop-up dialog box in iOS?

Yup, a UIAlertView is probably what you’re looking for. Here’s an example: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@”No network connection” message:@”You must be connected to the internet to use this app.” delegate:nil cancelButtonTitle:@”OK” otherButtonTitles:nil]; [alert show]; [alert release]; If you want to do something more fancy, say display a custom UI in your UIAlertView, you … Read more

tech