The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Roll-over image link
maria haugen
post Apr 3 2011, 04:52 PM
Post #1





Group: Members
Posts: 5
Joined: 3-April 11
Member No.: 14,261



Hi! I'm new here, and come from Norway, so sorry for my bad english. blush.gif
I have a website, and i youse an FTP-program (Filezilla) to build (?) it. I youse just HTML-codes, and youse notepad (PHP).
Now i have a problem.. I have always yoused roll-over effect on my meny and other stuffs there, but now the code doesn't work anymore! So i need a new one. I have scratch a bit on google, but i can't find the code i need. Here is the code i yoused before:

<img src="http://websitename.com/picture1.gif" style="position: absolute; top: 650px; left: 284px;" height="200" width="200"></a>

<a href="http://websitename.com/random.php">
<img src="http://agnetej.host22.com/blank.png" class="domroll http://websitename.com/picture2.gif" border="0" style="position: absolute; top: 650px; left: 284px;" height="200" width="200"></a>

Does someone have a new code for me? Something like i yoused before.. please!

Again, sorry my bad english. blush.gif

//Maria! biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 3 2011, 05:28 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Hei! tongue.gif

There is no rollover code there. What do you use, JavaScript or CSS? Anyway, you've missed a closing quote here
CODE
class="domroll

and after that comes what looks like a value missing its attribute (and an opening quote).
CODE
http://websitename.com/picture2.gif"

Is the latter maybe supposed to be part of the value of an onmouseover?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
maria haugen
post Apr 4 2011, 01:44 PM
Post #3





Group: Members
Posts: 5
Joined: 3-April 11
Member No.: 14,261



QUOTE(pandy @ Apr 4 2011, 12:28 AM) *

Hei! tongue.gif

There is no rollover code there. What do you use, JavaScript or CSS? Anyway, you've missed a closing quote here
CODE
class="domroll

and after that comes what looks like a value missing its attribute (and an opening quote).
CODE
http://websitename.com/picture2.gif"

Is the latter maybe supposed to be part of the value of an onmouseover?


I use JavaScript..
But the code worked before.. But not now.. :-/
Well, i don't know..
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 4 2011, 03:24 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



So you've deleted the JavaScript bits maybe. There is no JavaScript there now and that would explain why it looks like a piece is missing.


Maybe it was something like this?

HTML
<img src="http://agnetej.host22.com/blank.png" class="domroll" onmouseover="this.src='http://websitename.com/picture2.gif'" onmouseout="this.src='http://agnetej.host22.com/blank.png'" border="0" style="position: absolute; top: 650px; left: 284px;" height="200" width="200">
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
maria haugen
post Apr 4 2011, 04:36 PM
Post #5





Group: Members
Posts: 5
Joined: 3-April 11
Member No.: 14,261



QUOTE(pandy @ Apr 4 2011, 10:24 PM) *

So you've deleted the JavaScript bits maybe. There is no JavaScript there now and that would explain why it looks like a piece is missing.


Maybe it was something like this?

HTML
<img src="http://agnetej.host22.com/blank.png" class="domroll" onmouseover="this.src='http://websitename.com/picture2.gif'" onmouseout="this.src='http://agnetej.host22.com/blank.png'" border="0" style="position: absolute; top: 650px; left: 284px;" height="200" width="200">



hm.. nope.. not working.. sad.gif
the code has always bin like before.. because i have a "backup-code" of it.. and nothing is change.. :S so i don't know..
its a red cross in left corner of the "onmouseover".. The "outmouseover" work.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
maria haugen
post Apr 4 2011, 04:51 PM
Post #6





Group: Members
Posts: 5
Joined: 3-April 11
Member No.: 14,261



I took a print screen of it:

Outmouseover:
IPB Image

Onmouseover:
IPB Image

you see, its the outmouseover's problem..
when i click at the image, "amy's" infosite comes up, u know? but i don't get the problem..
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 4 2011, 04:57 PM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Neither do I. Screen caps don't help really. Please post the URL to the page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
maria haugen
post Apr 4 2011, 05:01 PM
Post #8





Group: Members
Posts: 5
Joined: 3-April 11
Member No.: 14,261



QUOTE(pandy @ Apr 4 2011, 11:57 PM) *

Neither do I. Screen caps don't help really. Please post the URL to the page.


http://mariahaugen.com/kaninene.php
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 4 2011, 06:39 PM
Post #9


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



It looks like it works to me, in Firefox, Chrome, Safari, and Opera (all on Mac).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 06:33 PM