PDA

View Full Version : how to script a function to perform callto: command


meerah
05-15-2006, 09:16 AM
Hi all,
how can I script a function to trigger command callto: ?
Jus somethin like that ?

function name {
<a href="callto:contact"/>
}

?
cheers

davidj
05-15-2006, 10:15 AM
if you want to call a script page

function name {
document.location.href="contact.htm";

}

if you want to call a function

function name {

function doStuff()

}

meerah
05-15-2006, 10:55 AM
Thanks
the problem is I would like to initiate a skypecall with this command....
...the original code sounds something like link (callto://contact/) .... I experienced difficulties getting that to work in that way...eg..in ie after I click it www.rolf.cz it disables all other buttons on the page..
tried also.....document.location.href="contact.htm"...it work in firefox but not in ie...same problem

So I am willing to trigger by that button a function which somehow performs teh callto command...well, to make it clear...I know how to create a function but dont know how to script that command in that function to initiate that call ???????


Cheers so far