开发者

jqTouch/JavaScript alerts - how to remove the title?

开发者 https://www.devze.com 2022-12-28 13:53 出处:网络
Looking to have some alerts/prompts pop up in my iPhone web app but I see the Title is at the top of the alert (I understand this is the normal behavior). My question is can I remove this? or use an a

Looking to have some alerts/prompts pop up in my iPhone web app but I see the Title is at the top of the alert (I understand this is the normal behavior). My question is can I remove this? or use an alternative solution.

Looking for som开发者_如何学JAVAething that looks like the push notification alert but in JavaScript.


I don't think you can change the default behavior of those popups. What you could do is make a screen filling div which looks the same as the push notification message and handle it's appearance and disappearance in jQuery. With the supported HTML5 and CSS3 options it's a piece of cake :)

But isn't it more stylish to slide in your own layout from the bottom, or use the flip animation?

0

精彩评论

暂无评论...
验证码 换一张
取 消