Post Reply 
[SOLVED] HTML/JAVA mouseover code
I solved my problem! Thanks for all the help!!! :D
Author Message
Gadget
ɯƃıpɐɹɐd ssǝןpuǝ

Posts: 908.2697
Threads: 69
Joined: 23rd Apr 2008
Reputation: 0.85528
E-Pigs: 63.3012
Offline
Post: #5
RE: [HELP] HTML/JAVA mouseover code
Mc Cabe Wrote:Hmmm I always try to use css instead of javascript. Try this:

Code:
<a href="javascript:history.go(-1)"><span>goback</span></a>


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
a {
   width: ##px;
   height: ##px;
   display: block;
   background: #000 url(insert-image-url) top left no-repeat;
}

a:hover {
   background: #000 url(insert-hover-image-url) top left no-repeat;
}

span {
  visibility: none;
}


Well your code worked perfectly for the mouse over image however...It displayed that image allover my board & affected the main CSS,...

Maybe I didn't put it in the right spot? I used the code on the bottom box on my Additional CSS Definitions bottom box beneath all other codes...

look at what it did: [Image: 212fz3q.jpg]

Do you know what I did wrong or?  I am on a VB3.8.2 if it helps...

PSN: Brick_Factory

Spoiler for sigpic:
[Image: 157nb04.png]
Spoiler for NeCr0-B0T:
Necro-Bot
Necro may refer to:
    * necro-, the Greek prefix meaning death
Bot or BOT or similar may refer to:
    * Internet bot, computer program which does automated tasks
    * Botnet, network of "zombie" computers used to carry out automated tasks such as spamming
02/08/2009 10:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] HTML/JAVA mouseover code - Gadget - 01/08/2009, 10:38 PM
RE: [HELP] HTML mouseover code - Mickey - 01/08/2009, 11:02 PM
RE: [HELP] HTML mouseover code - Gadget - 01/08/2009, 11:19 PM
RE: [HELP] HTML/JAVA mouseover code - Gadget - 02/08/2009 10:22 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: