Grandstream GXV3140 GMI Guide User Manual
Page 20

Grandstream Networks, Inc.
GMI HTML SDK and API Guide
Page 20 of 43
www.grandstream.com
Last Updated: 09/2010
"
onblur="chang_to_png
(
document
.getElementById
(
'i_ticket_1'
))
"
>
<
table
class
=
"item_tab"
>
<
tr
class
=
"item_tr"
>
<
td
align
=
"center"
><
img
id
=
"i_ticket_1"
src
=
"img/vote.png"
/>
td
>
tr
>
<
tr
><
td
align
=
"center"
><
font
class
=
"item_label"
>
Vote
font
>
td
>
tr
>
table
>
button
>
td
>
<
td
width
=
"20%"
>
<
button
class
=
"menu"
id
=
"b_call_2"
onmouseover="chang_to_gif
(
document
.
getElementById
(
'i_ticket_2'
))
;"
onfocus="chang_to_gif
(
document
.getElementById
(
'
i_ticket_2'
))
;"
onmouseout="chang_to_png
(
document
.getElementById
(
'i_ticket_2'
))
"
onblur="chang_to_png
(
document
.getElementById
(
'i_ticket_2'
))
"
>
<
table
class
=
"item_tab"
>
<
tr
class
=
"item_tr"
>
<
td
align
=
"center"
><
img
id
=
"i_ticket_2"
src
=
"img/messages.png"
/>
td
>
tr
>
<
tr
><
td
align
=
"center"
><
font
class
=
"item_label"
>
Message
font
>
td
>
tr
>
table
>
button
>
td
>
…… //Omit the code for the other menu items
tr
>
table
>
/******************************************************************************
* Draw/Simulate the softkey using HTML. Softkey should also support mouse click
events, therefore the API functions GMIEngine.refresh();GMIEngine.exit() are also
mapped in onclick.
******************************************************************************/
<
table
id
=
"softkey"
>
<
tr
width
=
"100%"
>
<
td
width
=
"40px"
>
td
>