Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML/Dreamweaver help?
#4
Sn1perJohnE Wrote:Sorry, I completely changed my approach with it instead. Originally I was using separate button, but now they are one image, and Im using hotspots to swap out a whole new image for each menu option. Not the best way to do it, but it works in the end.

thats not a very good practice though. it can actually be done without having to have the browser load 5 seperate images.

make the image similar to this :

[Image: NUkszAY.png]

and then use css to adjust the position when hovered :

[HTML]
#mainlink:hover{
background-position: 0 0;
}
[/HTML]

granted, your images are just a few small ones, but its a good practice.
Reply


Messages In This Thread
HTML/Dreamweaver help? - by Sn1perJohnE - 2014-05-15, 02:36 AM
HTML/Dreamweaver help? - by Untradeable - 2014-05-15, 04:35 AM
HTML/Dreamweaver help? - by Sn1perJohnE - 2014-05-15, 05:17 AM
HTML/Dreamweaver help? - by DeanNim - 2014-05-17, 09:20 PM
HTML/Dreamweaver help? - by Sn1perJohnE - 2014-05-18, 04:21 AM
HTML/Dreamweaver help? - by DeanNim - 2014-05-18, 10:15 AM
HTML/Dreamweaver help? - by Sn1perJohnE - 2014-05-18, 09:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)