Naptár
|
|
|
|
|
|
|
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
|
|
|
|
|
|
|
2007-02-20 | Javascript: OnMouseOver img + preload img | Írta: Legyes |
1. a <head> tag-be:
<script language="JavaScript"> <!-- if (document.images) { image1on = new Image(); image1on.src = "your animated gif"; image1off = new Image(); image1off.src = "your static gif"; } function changeImages() { if (document.images) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src"); }}} // --> </script>
2. az <a> vagy az <img> tag-be:
onMouseOver="changeImages('image1', 'image1on')" onMouseOut="changeImages('image1', 'image1off')"
3. az <img> tag-be:
name="image1"
| Duplicate entry '242634' for key 'PRIMARY'
INSERT INTO stat ( stat_mname, stat_mid, stat_pagever, stat_datetime, stat_useragent ) VALUES ( 'howto', '100', 'normal', '2024-12-21 14:03:24', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' )
|