jquery - How to make DIV tag of flash notice to stay in view always? -
i have implemented flash notice in ror website, wherein notice displayed through jquery. changed every 5 seconds. notice slidedown.
<div class="interactive_text"> <%= flash[:notice] %> </div> now issue is, div tag not in view time, scroll down browser window or when notice close footer, notice div slides down every 5 seconds dragging down rest of div tags below it. compromises user experience of website. how make div tag stay in view time?
try setting position:"fixed" div
Comments
Post a Comment