I need to change the open (mouseover, hover, whatever you wanna call it) width of each item on the sliderbar.
Here's the source code for my page:
- Code: Select all
<div id="imageMenu">
<!-- THESE ARE THE LINKS YOU GO TO WHEN YOU CLICK ON A SLIDING DOOR IMAGE-->
<!-- change the href to look like this: <a href="yourlink.com"> -->
<ul id="menu-slider" class="">
<li id="menu-item-10" class="bk0">
<a href="http://**edit**/?page_id=4" style="background-image: url(http://**edit**/wp-content/uploads/2012/06/Poster-2011-e1340678479748.jpg); background-attachment: scroll; width: 68px; background-position: 0% 50%; background-repeat: repeat repeat; ">2011</a>
</li>
<li id="menu-item-20" class="bk1">
<a href="http://**edit**/?page_id=11" style="background-image: url(http://**edit**/wp-content/uploads/2012/06/Poster-2010-e1340677262202.jpg); background-attachment: scroll; width: 68px; background-position: 0% 50%; background-repeat: repeat repeat; ">2010</a>
</li>
<li id="menu-item-30" class="bk2">
<a href="http://**edit**/?page_id=24" style="background-image: url(http://**edit**/wp-content/uploads/2012/06/Poster-2007-e1340677532172.jpg); background-attachment: scroll; width: 310px; background-position: 0% 50%; background-repeat: repeat repeat; ">2007</a>
</li>
The one labeled "bk2" is the open image. Its width is set to 310. I want to change that number when every image is hovered over. I looked in the functions.php file and I'm fairly sure that's where this variable is being set, but I can't decipher the variables enough to set it to what i want. My target width for every image on the slider bar when its open (mouseover, hovered, active, whatever) is 150px. Right now when the images are open the width is set to 310px.
I did not include all the code for all 10 sliderbar images. It seemed redundant. I followed the guide here to increase the sliderbar images from 7 to 10.
Any help would be appreciated.
