Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

2 javascript triggers from one mouseover event

Participant ,
Aug 05, 2008 Aug 05, 2008
what is the syntax for and is it possible to create 2 javascript triggers from one mouseover event for the same html element as follows:

<td><a href="javascript:;"
onmouseover="MM_showHideLayers('Layer3','','show');
onmouseover="cshowBigImage( 'imagescript.asp?path=<%= coloursAtt1("url_img") %>&width=20','<%= coloursAtt1("url_img") %>','<%= coloursAtt1("alt_img") %>' )"
</td>
TOPICS
Server side applications
288
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 05, 2008 Aug 05, 2008
LATEST
Just sperate them with a semi-colon:

<td><a href="javascript:;"
onmouseover="MM_showHideLayers('Layer3','','show');cshowBigImage('imagescript.asp?path=<%=
coloursAtt1("url_img") %>&width=20','<%= coloursAtt1("url_img") %>','<%=
coloursAtt1("alt_img") %>')">Link</a></td>

--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"aonefun" <webforumsuser@macromedia.com> wrote in message
news:g7b3vg$8if$1@forums.macromedia.com...
> what is the syntax for and is it possible to create 2 javascript triggers
> from
> one mouseover event for the same html element as follows:
>
> <td><a href="javascript:;"
> onmouseover="MM_showHideLayers('Layer3','','show');
> onmouseover="cshowBigImage( 'imagescript.asp?path=<%=
> coloursAtt1("url_img")
> %>&width=20','<%= coloursAtt1("url_img") %>','<%=
> coloursAtt1("alt_img")
> %>' )"
> </td>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines