rotating images in iphone & ipad browsers

Posted by ncplsatyamutyvsp-20221 under JavaScript on 1/11/2013 | Points: 10 | Views : 1109 | Status : [Member] | Replies : 3
hi,
I developed web app(rotating images in a page)using javascript. the project runs in all browsers. so I want run in iphone and ipad ..browsers please guide me. which type of code required in my project. I write the code index.htm page in asp.net below attached.

Regards,
satyamurty.j




Responses

Posted by: Shubham on: 1/11/2013 [Member] Starter | Points: 25

Up
0
Down
Hi!!!!
i want to ask u something is image is not rotating in iphone or ipad only?

Thanks&Regards:-
Shubham Choudhary
Software Engineer
www.facebook.com/shubham.kunar

ncplsatyamutyvsp-20221, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: ncplsatyamutyvsp-20221 on: 1/16/2013 [Member] Starter | Points: 25

Up
0
Down
yes...image are not rotating iphone and ipad..browsers

ncplsatyamutyvsp-20221, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shubham on: 1/16/2013 [Member] Starter | Points: 25

Up
0
Down
Hello plz use this method on page load event
void compatibility()
{
if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
Request.Browser.Adapters.Clear();
}
}

Thanks&Regards:-
Shubham Choudhary
Software Engineer
www.facebook.com/shubham.kunar

ncplsatyamutyvsp-20221, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response