Note that there are some explanatory texts on larger screens.

plurals
  1. POHover issue with Timeline
    primarykey
    data
    text
    <p>Can anyone help me out with this issue? I am working on having the pin image appear infront of the transparent box when rolled over but keeping the line in back of the box. If anyone has any suggestions of how to solve this I would greatly appreciate it. </p> <p>Thanks in advance. </p> <ul> <li>Mike </li> </ul> <p><a href="http://resources.29kdev.com/timeline/demo.html" rel="nofollow">http://resources.29kdev.com/timeline/demo.html</a></p> <p>here is the HTML: </p> <pre><code>&lt;!DOCTYPE html&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;!-- Attach our CSS --&gt; &lt;link rel="stylesheet" href="style.css"&gt; &lt;!-- Attach necessary JS --&gt; &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; &lt;title&gt;Timeline&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;!-- ======================================= TIMELINE CONTENT ======================================= --&gt; &lt;div id ="pagewrap"&gt; &lt;div id ="wrapper"&gt; &lt;div id="timeline"&gt; &lt;img src="images/timeline.png"&gt; &lt;/div&gt; &lt;!--end timeline --&gt; &lt;ul&gt; &lt;!--begin ul --&gt; &lt;div id="pin01" class="handle"&gt; &lt;div class="handleicon"&gt;&lt;img src="images/handle.png"&gt;&lt;/div&gt; &lt;div class="handleinfo"&gt; &lt;h3&gt;Lorem Ipsum&lt;/h3&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed cursus euismod metus, nec mollis tellus porttitor ut. Nam id accumsan ante. Proin varius ultricies sem et tincidunt.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="pin02" class="handle"&gt; &lt;div class="handleicon"&gt;&lt;img src="images/handle.png"&gt;&lt;/div&gt; &lt;div class="handleinfo"&gt; &lt;h3&gt;Lorem Ipsum&lt;/h3&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed cursus euismod metus, nec mollis tellus porttitor ut. Nam id accumsan ante. Proin varius ultricies sem et tincidunt.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="pin03" class="handle"&gt; &lt;div class="handleicon"&gt;&lt;img src="images/handle.png"&gt;&lt;/div&gt; &lt;div class="handleinfo"&gt; &lt;h3&gt;Lorem Ipsum&lt;/h3&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed cursus euismod metus, nec mollis tellus porttitor ut. Nam id accumsan ante. Proin varius ultricies sem et tincidunt.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="pin04" class="handle"&gt; &lt;div class="handleicon"&gt;&lt;img src="images/handle.png"&gt;&lt;/div&gt; &lt;div class="handleinfo"&gt; &lt;h3&gt;Lorem Ipsum&lt;/h3&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed cursus euismod metus, nec mollis tellus porttitor ut. Nam id accumsan ante. Proin varius ultricies sem et tincidunt.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="pin05" class="handle"&gt; &lt;div class="handlerighticon"&gt;&lt;img src="images/handle.png"&gt;&lt;/div&gt; &lt;div class="handleinfo handlerightinfo"&gt; &lt;h3&gt;Lorem Ipsum&lt;/h3&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed cursus euismod metus, nec mollis tellus porttitor ut. Nam id accumsan ante. Proin varius ultricies sem et tincidunt.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/ul&gt; &lt;!--end ul --&gt; &lt;div id="title"&gt; &lt;div id="lefttitle"&gt; &lt;h4&gt;Our Company History&lt;/h4&gt; &lt;/div&gt; &lt;!--end lefttitle--&gt; &lt;div id="righttitle"&gt; &lt;p class="title"&gt;Rollover an Event&lt;/p&gt; &lt;/div&gt; &lt;!--end righttitle--&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;/div&gt;&lt;!--end title --&gt; </code></pre> <p> </p> <p> </p> <pre><code>&lt;!--fadeToggle script --&gt; &lt;script&gt; $('.handle').on('mouseover', function(){ $(this).css('z-index', '200000000'); }); $('.handle').on('mouseout', function(){ $(this).css('z-index', '100000000'); }); $('.handleicon').on('mouseover', function(){ $(this).css('z-index', '-200000000'); }); $('.handleicon').on('mouseout', function(){ $(this).css('z-index', '-100000000'); }); $('.handlerighticon').on('mouseover', function(){ $(this).css('z-index', '-200000000'); }); $('.handlerighticon').on('mouseout', function(){ $(this).css('z-index', '-100000000'); }); $(".handle").hover( function() { $(this).addClass("topdiv"); $(this).children(".handleinfo").fadeIn("fast"); }, function() { $(this).children(".handleinfo").fadeOut("fast", function() {$(this).removeClass("topdiv");}); } ); $(".handleright").hover( function() { $(this).addClass("topdiv"); $(this).children(".handlerightinfo").fadeIn("fast"); }, function() { $(this).children(".handlerightinfo").fadeOut("fast", function() {$(this).removeClass("topdiv");}); } ); $(document).ready(function() { $('#backgroundfade').fadeOut(2000, function(){$('#maincontent').fadeTo(1000,1);}); }); &lt;/script&gt; &lt;/body&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload