IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Sunday, June 16, 2013

Javascript to tigger mp3 on rollover not working on iPhone

on a site I just built http://***.buko.net I'm using javascript to trigger an mp3 sound on a rollover. it works fine on a regular computer in a browser.  but on the iPhone there is no sound. using both Safari and Chrome.

 

You can see the rollover works the key looks as if its depressed. One tap seems to trigger the rollover second tap is the click that takes you to the link. the links are on the bottom left.

I was hoping that someone might be able to point me in the right direction.

 

Buko


View the original article here

Wednesday, January 30, 2013

Safari JavaScript Issues on iPad on with iOS6

I have an older HTML application that I am supporting, and admittedly, some of the JavaScript techniques are old, but I don't have the time to re-write the application at this time, it is 100,000's of lines of code.

 

A little background:

  • the code has been unchanged in several years
  • the code works on OSX (10.8.2) in Safari
  • the code works in Win 7 in Safari (5.1.7)

 

Unfortunately, several of my users have upgraded to iOS6 on the iPad and the code does not work in either Safari or Chrome.

 

The application will pop-up a window/tab based on the onChange event of a select element or from the onClick of a button.

 

The onClick from the button does not trigger the Safari "Allow Pop-up", but the onChange event does.

 

Once the pop-up window/tab has been opened (via one of the two methods above), the user makes a selection on screen and clicks a button which (ultimately) triggers a window.opener function.

 

I can not ever get the window.opener function to trigger when the pop-up window was triggered from the onChange (select element).

 

The window.opener will usually (maybe always, but I seem to remember it didn't once or twice) trigger if the pop-up window remains open, but the user manually puts focus on the "opener" window.

 

Again this works (and has worked) for many years on many different browser, unfortunatey, most of my users are now on iPads.

 

Any thoughts or tips would be greatly appreciated.

 

BTW first post, so please be kind.


View the original article here

Wednesday, January 2, 2013

Re: javascript open() function returns undefined

Don't listen to him he's just drinking the koolaid. there are several instances in which safari fails to conform like other more complient browsers. As for your dialog problem. are you testing on an iOS device or on OSX? That's where I would start my hunt for a solution. But as for an answer I don't have one right off the top of my head.


View the original article here

Re: javascript open() function returns undefined

Don't listen to him he's just drinking the koolaid. there are several instances in which safari fails to conform like other more complient browsers. As for your dialog problem. are you testing on an iOS device or on OSX? That's where I would start my hunt for a solution. But as for an answer I don't have one right off the top of my head.


View the original article here

javascript open() function returns undefined

The javascript function open() specs like "fullscreen", "width", "height", seem not to work under Safari while they do under Firefox, Opera and even Explorer. So, I open a popup with : Win=open("","","") and then , I use Win.resizeTo(,) where and was evaluated previously . But I obtain the message : "TypeError : 'undefined' is not an object (evaluating Win.resizeTo)".

 

I found several problems with Safari (performance different from other browsers), and up to now, I managed to get round the problem. But in this case, I go blank !!!

Please, can you help me to produce a code visible by Safarists ;o)

 




View the original article here

Re: javascript open() function returns undefined

Don't listen to him he's just drinking the koolaid. there are several instances in which safari fails to conform like other more complient browsers. As for your dialog problem. are you testing on an iOS device or on OSX? That's where I would start my hunt for a solution. But as for an answer I don't have one right off the top of my head.


View the original article here