![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: hover over box and display image in another container |
|
Average Talker
Posts: 17
Name: Adrian
|
Thanks wayfarer07,
I thought that would be the only way to go is with JavaScript. I will play around with it and see what I can get it to do. It sounds pretty easy when thinking about the functionality of it but coding it is another whole new ball game. ![]() |
|
|
|
|
|
Re: hover over box and display image in another container |
|
Extreme Talker
Posts: 216
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
If you'd like to see a very bare-bones example, here is one I coded in javascript: http://www.emotecomm.com/ It has a CSS foundation so it does belong in this forum as well as the JS one... I only coded the part at the bottom (am not responsible for nasty tables). If you roll over the links in the three categories, you'll see how the content switches automatically. I recommend opening a split window in Firebug so that you can see how the code switches the styles and classes on the elements to make it happen. The key to the magic is to have the content positioned off the screen, absolutely, with a large negative px, so that the content is already loaded and won't 'flicker' when you need it the first time.
|
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |