5 Einträge, 1 Seite |
$html->li($html->a({-href=>"javascript:void(0);, onmouseover=montre(smenu3);, onmouseout=cache(smenu3);'},'News')
<li><a href="javascript:void(0);" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');">News</a>
$html->li($html->a({-href=>"javascript:void(0);", -onmouseover => "montre(smenu3);", -onmouseout => "cache(smenu3);"},'News');
<li><a onmouseout="cache(smenu3);" href="javascript:void(0);" onmouseover="montre(smenu3);">News</a></li>
Quote$ cat cgi ; perl cgi
Code: (dl )1
2
3
4
5
6
7
8
9
10
11
12use CGI qw();
my $cgi = CGI->new();
print $cgi->li(
$cgi->a(
{ -href => "javascript:void(0);",
-onMouseOver => "montre('smenu3');",
-onMouseOut => "cache('smenu3');",
},
'News'
)
), $/;
<li><a onmouseout="cache('smenu3');" onmouseover="montre('smenu3');" href="javascript:void(0);">News</a></li>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$html->div(
{-class=>'menu'},
$html->li(
$html->a(
{-href=>"javascript:void(0);",
-onmouseover=>"montre('smenu1');",
-onmouseout=>"cache('smenu1');"},
'News'),
$html->ul(
{-id=>"smenu1",
-onmouseover=>"montre('smenu1');",
-onmouseout=>"cache('smenu1');"},
$html->li(
$html->a(
{-href=>'news_cgi.pl'},
'News'),
),
),
),
5 Einträge, 1 Seite |