Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] CSS: Remote Rollover?


 
Prev Previous Post   Next Post Next
  #1  
Old Dec 21, 2010, 07:23 PM
49Monsters's Avatar
49Monsters
 
41 posts · Aug 2010
MN
[SOLVED] CSS: Remote Rollover?

I'm trying to code a remote roll-over with a Spite Button in my side bar. I want to roll over the button, the button goes to hover state and an image pops up elsewhere in the side bar. I know I have been close and have found the prefect example, (I SHOULD be able to get it with the example but...)http://www.onextrapixel.com/2009/05/...t-remote-area/ I keep getting confused when I try to plug in my info.

I think where I keep getting lost is because my code for the (sprite) button is different than in the example. If someone could just plug in the right code, in the right spot, I know it will sink in! I have several I want to do, once I get my head around this first one.
Here is my (sprite) button, which works as I want:
HTML in text widget:

HTML Code:
<a id="Trip_2" href="http://localhost/" title="Home">
	<span>Trip Channel</span></a>
CSS:
HTML Code:
#Trip_2
{
z-index: 4; position: top center; width: auto; 
margin-right: 0px; 
margin-left: 0px;
margin-top: 10px;
margin-bottom: 0px;
  display: block;
  width: 200px;
  height: 25px;
  background: url("./wp-content/themes/atahualpa353/images/Trip_2.jpg") no-repeat 0 0;
}

#Trip_2:hover
{ 
  background-position: 0 -25px;
}

#Trip_2 span
{
  display: none;
}
I have a 100px x 100px image named "RemoteImage_1" that I want to place about 30px below the button. I do not plan to have type as well as an image as in the example.

Thanks for the help!
Guy
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need rollover effect for images in widgets. JaneD Sidebars & Widgets 2 Oct 22, 2010 09:46 AM
[SOLVED] Rollover image with css in header lambdaka Header configuration & styling 2 Apr 10, 2010 12:41 PM
Rollover image not working in Internet Explorer 6 Masselyn Page & Category Menu Bars 0 Oct 12, 2009 12:25 PM
[SOLVED] Rollover Graphic in Header Whatsthatcat? Header configuration & styling 2 Sep 25, 2009 08:51 AM


All times are GMT -6. The time now is 04:44 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.