Jquery FadeIn Messes Up Float Div -


I have a bar at the top of my page when a previous user last 700 px jquery Using this code, the scroll will put the hidden logo in the bar at the bar:

  $ (window) .scroll (function () {var PosFromTop = $ (window) .scrollTop () ; If (posFromTop> 700) {$ ('# logo'). Feedin (200, function) () {});} and {$ ('# logo'). FadeOut (200, function () {});}});   

This works great, but I have a link in that time, when #logo appears #logo appears How can I prevent the link from being blocked?

Link code:

  & lt; Div class = "container-liquid" style = 'height: 50px; Background color: RGBA (242, 244, 247, 0.5); Width: 100%; Status: fixed; Top: 0; Left: 0; Z-index: 30; '& Gt; & Lt; A href = '#' id = 'logo' style = 'font-size: 40px;' & Gt; Logo & lt; / A & gt; & Lt; A href = '# t' style = 'position: absolute; Right: 12px; '& Gt; Start & lt; / A & gt;   

Logo code:

  #logo {display: none; }    

You need status: full on logo Prevent this from affecting other content.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -