| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Apr 2005 Location: Tyne & Wear, UK
Posts: 8
![]() | |
| |
| | THREAD STARTER #3 (permalink) |
| New Member Join Date: Apr 2005 Location: Tyne & Wear, UK
Posts: 8
![]() | Whoa, that was quick! Yes, I know CSS, I even tried doing this in CSS, but I kept messing up. I would love to hear how I can do this via CSS. I'll be able to see where I went wrong! ![]() Would I still need to include JavaScript so that the images are preloaded with the website? Thanks for the quick reply! John |
| |
| | #4 (permalink) |
| NamePros Member Join Date: Apr 2005
Posts: 101
![]() | If your link is: PHP Code: PHP Code: PHP Code: |
| |
| | THREAD STARTER #5 (permalink) |
| New Member Join Date: Apr 2005 Location: Tyne & Wear, UK
Posts: 8
![]() | Digitalman, Thanks for your reply. Unfortunately it has not worked. Am I doing something wrong? http://www.johnpaterson.org/test.html http://www.johnpaterson.org/jporg.css John |
| |
| | #6 (permalink) |
| NamePros Member Join Date: Apr 2005
Posts: 101
![]() | sorry I forgot the display: block; It has to be like this: PHP Code: |
| |
| | THREAD STARTER #7 (permalink) |
| New Member Join Date: Apr 2005 Location: Tyne & Wear, UK
Posts: 8
![]() | Progress has been made...I can see an image! Yet, it is only one image, the 'Mouse click link' image. http://www.johnpaterson.org/test.html http://www.johnpaterson.org/jporg.css Any thoughts as to why it's not bahaving itself? John |
| |
| | #8 (permalink) |
| NamePros Member Join Date: Apr 2005
Posts: 101
![]() | Sorry I didn't test it I thought it would work but it didn't Lets try this: Make 1 image of all the 3 images together like this image http://forumforwebmasters.com/webdesign/homelink.gif Change your link in to this: PHP Code: PHP Code:
Last edited by Digitalman; 04-26-2005 at 01:38 AM.
|
| |
| | THREAD STARTER #9 (permalink) |
| New Member Join Date: Apr 2005 Location: Tyne & Wear, UK
Posts: 8
![]() | http://www.johnpaterson.org/test.html http://www.johnpaterson.org/jporg.css Right, I've done what you've said and it doesn't work, so it will be something that I'm doing wrong. ![]() Look at my source and CSS file, what am I doing wrong? ![]() John |
| |
| | #10 (permalink) |
| NamePros Member Join Date: Apr 2005
Posts: 101
![]() | You used the old CSS, use the last one I posted and copy the image http://forumforwebmasters.com/webdesign/homelink.gif to your website. |
| |
| | #12 (permalink) | ||||
| NamePros Member Join Date: Apr 2005
Posts: 101
![]() |
John use this CSS: PHP Code: | ||||
| |
| | #13 (permalink) |
| NamePros Regular Join Date: Dec 2004 Location: QLD, Australia
Posts: 713
![]() | First of all, you need to remove all javascript, then remake the links in index.html as simply: Code: <a href="index.html" class="home"> </a> <a href="news.html" class="news"> </a> <a href="music.html" class="music"> </a> <a href="soundtracks.html" class="soundtracks"> </a> <a href="studio.html" class="studio"> </a> etc... ????: NamePros.com http://www.namepros.com/showthread.php?t=85173 Code: a.home:link {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/offlink_home.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
}
a.home:hover {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/hoverlink_home.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
}
a.home:visited {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/offlink_home.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
}
a.home:active {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/clicklink_home.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
} Code: a.news:link {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/offlink_news.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
}
a.news:hover {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/hoverlink_news.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
}
a.news:visited {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/offlink_news.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
}
a.news:active {
background-image: url(http://wac.658e.edgecastcdn.net/80658E/namepros/images/clicklink_news.gif);
width: 80px;
height: 20px;
background-repeat: no-repeat;
display: block;
} Make sure you use the right images too.
Last edited by Rowan W; 04-26-2005 at 05:48 AM.
|
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rollover question | bdd | Web Design Discussion | 1 | 11-05-2004 07:39 PM |
| 3 images needed | WorldHatred | Graphic Design / Flash | 4 | 10-19-2004 03:08 PM |
| Loading different images depending on the browser (JavaScript) | Nevsan | Programming | 3 | 04-04-2004 09:36 AM |
| Why are my images distorted? | Rhino1616 | Graphic Design / Flash | 1 | 06-27-2003 12:34 PM |