using html to 'mouseover' images |
Author: |
Message: |
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: using html to 'mouseover' images
Yeah, you need the name or else the piece of Javascript won't know what to change
|
|
11-17-2005 11:53 PM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: using html to 'mouseover' images
quote: Originally posted by Ezra
Yeah, you need the name or else the piece of Javascript won't know what to change
you could do this:
code: <img src="blah.gif" onmouseover="this.src='blah.jpg';">
|
|
11-18-2005 05:07 PM |
|
|
M73A
Veteran Member
Posts: 3213 Reputation: 37
34 / /
Joined: Jul 2004
|
RE: using html to 'mouseover' images
use the create navbar thing in dreamweaver.... save the hassle
or there is the rollover image thing... but hey, do what ya want... loadsa people hate dreamweaver
This post was edited on 11-18-2005 at 05:17 PM by M73A.
|
|
11-18-2005 05:16 PM |
|
|
Concord Dawn
Veteran Member
This is a loopy fruit.
Posts: 1203 Reputation: 16
34 / / –
Joined: Feb 2004
|
RE: using html to 'mouseover' images
quote: Originally posted by Lee Jeffery
quote: Originally posted by Ezra
Yeah, you need the name or else the piece of Javascript won't know what to change
you could do this:
code: <img src="blah.gif" onmouseover="this.src='blah.jpg';">
IE doesn't support that properly.
|
|
11-18-2005 05:17 PM |
|
|
Plik
Veteran Member
Posts: 1489 Reputation: 46
35 / / –
Joined: Jun 2004
|
RE: using html to 'mouseover' images
code: <a href="msn.html" onmouseover="image4.src='images/msn-over.png';"
onmouseout="image4.src='images/msn.png';">
<img name="image4" src="images/msn.png" border=0></a>
</div>
You had the ; inside the single quotes. Which ment it was looking for images/msn.png;
This post was edited on 11-18-2005 at 07:35 PM by Plik.
|
|
11-18-2005 07:33 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: using html to 'mouseover' images
quote: code: <a href="msn.html" onmouseover="image4.src='images/msn-over.png';"
onmouseout="image4.src='images/msn.png';">
<img name="image4" src="images/msn.png" border=0></a>
</div>
You had the ; inside the single quotes. Which ment it was looking for images/msn.png;
yeah, sorted thanks mate, now for another idea... let me just host the page so i can show you what i mean.... <uploading>
ok, uploaded. Go to this page
it uses the js, so i dont know if it'll work in IE, but that isnt the problem. Have a look on the page and mouse over the navi bar at the top and the icons in the middle, after they englarge, what happens???? they disappear, why!?!?
wait a sec, the page is down, my FTP client just messed up!
ok sorted, can someone tell me whats up with the page please?
This post was edited on 11-18-2005 at 08:52 PM by stoshrocket.
|
|
11-18-2005 08:14 PM |
|
|
hmaster
Senior Member
Posts: 716 Reputation: 24
33 / /
Joined: Nov 2004
|
RE: using html to 'mouseover' images
change:
onmouseout="image1.src='images/graphics.png ;'"
to:
onmouseout="image1.src='images/graphics.png ';"
the same error on every image..
you can see the comp help one doesnt disappear beause you missed the ; out altogether
This post was edited on 11-18-2005 at 09:02 PM by hmaster.
|
|
11-18-2005 08:56 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: using html to 'mouseover' images
whoops.... hahaha, thank-you!
Anyway, that wasnt supposed to be the problem originally, what i originally wanted was i wanted to know whether i could adjust the code so that the whole set of icons in the middle are placed slightly lower (ie when you mouse over the icons it sets them lower, that height) so that when you mouse over the other icons stay as they are and only the moused over icon would move, and that would be larger. Anyone know of a way i can do this???
This post was edited on 11-18-2005 at 09:09 PM by stoshrocket.
|
|
11-18-2005 09:04 PM |
|
|
hmaster
Senior Member
Posts: 716 Reputation: 24
33 / /
Joined: Nov 2004
|
RE: using html to 'mouseover' images
lol The hover images should work in IE too now..
Your design looks like a mix of absorbations and shrbr's site !
and your second design page image links to msn
This post was edited on 11-18-2005 at 09:08 PM by hmaster.
|
|
11-18-2005 09:07 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: using html to 'mouseover' images
lol, i havent seen shrbr's site, ill have a look now, the original design wasnt supposed to be but this thread was originally about making my owne icons, but 'thats too advanced' so i had to use absorbtions hahaha, can you look at the problem above please...
|
|
11-18-2005 09:10 PM |
|
|
Pages: (3):
« First
«
1
[ 2 ]
3
»
Last »
|
|