how to initiate a phone call w/ edge?


i tried this:

 

function call() {

    window.location.href = 'tel:555-678-1234';

}

 

 

and this:

 

<a href="tel:8005551212">800-555-1212</a>

it looks basic format right. may want include plus sign and/or area code phone trigger it.

 

see : http://demosthenes.info/blog/536/adding-phone-numbers-to-web-pages-with-html5-&-microdata

 

however, success , implementation depends on you're trying , on device/platform.

 

first, you'll need call function you're defining. you'll use call(); after defining function way did above. recommend renaming though calltele doesn't confused built in method "call" accidentally.

 

that auto start call whenever browser code flow got call.

 

or on click event example. having function or html anchor tag there won't anything.

 

use activate on click : sym.getcomposition().getstage().calltele();

 

you'll want put original function in compositionready on stage code (document ready).

 

then associate telephone function event within animate, may need create click event on symbol.

 

 

lastly, device needs support html5 feature. if doesn't won't work. try surfing sites see if test device supports it. many older desktop browsers don't either.

 

mario



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account