| |
|
|
- Page 1 - |
|
Christian Hahn | Tim Hannemann
Hello people, i sit straight on of my HP and I the following trouble: About JavaScript wished I one onmouseover Event create, which on presently two Images lying (pic1_1.jpg & pic2_1.jpg). goes one now over these Images drüber ought to one other Image on this place showing (pic1_2.jpg or. pic2_2.jpg). I write the whole in XHTML, there functions not, HTML but already. knows of/ one How I the hinbekomme? here time the code the JaveScript function: and here the appeal thanks Schonmal in the advance
Hello Tim, Why so tricky, here plainer Bildwechsler with JS
and here another Link as without JS functions https://1ngo.de/web/bildwechsel.html
mfG Christian |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
Tim Hannemann | thanks Christian has super geklapt but I werd probably the JS variante benefit there tappt im dunkeln me plainer appear |
|
|
| MfG Timää
------------
Betriebssysteme: Windows Vista
Profanversion: XProfan 11 | 05/19/09 ▲ |
|
|
|
|
Christian Hahn | Freut me only as Denkanstoß, The Variante without JS, only with CSS, working too in Browsern in the the users JS deaktiviert has! The CSS Variant neither komplizierter, sees only so from.
mfG Christian |
|
|
| |
|
|
|
| If itself only the BGImage Change should, then would vlt. a CSS-Variante vorzuziehen:
To mind is vlt. that hover not of all Browsern (IE) for _all items mind becomes, but always for a(nchor)s which Yes in the Bedarfsfall too without hRef apply go can.
|
|
|
| |
|
|
|
Tim Hannemann | nene means ifs only the Backgroundimage would hät ichs too over CSS resolved/attempts but is hold one Image to the HP, or rather several Images, which at drüber go into others Images Change ^^
@Christian: Yes I know the JS active his must, but the is really in the rule the case ^^ |
|
|
| MfG Timää
------------
Betriebssysteme: Windows Vista
Profanversion: XProfan 11 | 05/19/09 ▲ |
|
|
|
|
| If you the BGImage änderst, where is the Difference? |
|
|
| |
|
|
|
Tim Hannemann | the Difference is the that I say we 3 Images Have, each this Images has one dazugehöriges presentment what about me want not dozens css classes write ^^ |
|
|
| MfG Timää
------------
Betriebssysteme: Windows Vista
Profanversion: XProfan 11 | 05/19/09 ▲ |
|
|
|
|
| |
|
| |
|
|
|
Tim Hannemann | IF hats of course already as Done markiert but me went over night there yet what by the head what about me hope that your me nochma help can and of course GEHTS still circa onMouseOver and onMouseOut (therefore Have ichs too same with here mere written), but this time should not the image changed go where drüber gone becomes, separate one other. have already attempts instead of this.src=... The ID or names of others Image To take, unfortunately without success.
thanks time again in the advance |
|
|
| MfG Timää
------------
Betriebssysteme: Windows Vista
Profanversion: XProfan 11 | 05/20/09 ▲ |
|
|
|
|
| You can
join with
wonach too
work.
PS: naturally can too in already as Done marked Threads moreover agieren, the Done relating itself on The Hauptaufgabe. |
|
|
| |
|
|
|
Tim Hannemann | you are super ^^ Klappt wonderful thanks vielmals |
|
|
| MfG Timää
------------
Betriebssysteme: Windows Vista
Profanversion: XProfan 11 | 05/20/09 ▲ |
|
|
|
|
| |
|
| |
|
|
| |
|
- Page 2 - |
|
|
| want one several CSS-attributes one Elementes "auf a Schlag" by JS Change bid itself too element.className on - known I then not yet. |
|
|
| |
|
|