Currently, I am working on customizing a script found at the following link: http://tympanus.net/Tutorials/ExpandingImageMenu/index_3.html
However, instead of just 6 divs (or in this case, 6 guys), I have 11 divs where the last 4 are opened using a unique navigation.
My goal is to increase the width of these last 4 divs, potentially making them variable in size to occupy more space on the right side of the content div.
What would be the best approach to achieve this?
Thank you for your help!
/* get the item for the current */
var $item = $menuItems.eq(current);
var $item2 = $menuItems + 7; /* i added this line */
&
/* if not just show it */
$item.css({width : '400px'})
$item2.css({width : '700px'}) /* and this one */
.find('.ei_image')
.css({left:'0px', opacity:1,});
I attempted using the "+++++ css thingie", but unfortunately had no success. The website can be viewed at: