javascript - Making the HTML code shown via Ajax appear without snapping to the beginning of the site -


first of all, hope question above clear. didn't know how formulate otherwise, i'll try explain little more.

i'm using magnific popup on customizable site has sick timeline using perfect slider. added hrefs portions of text , mp works fine. it's html code appears snaps beginning of site , therefor, navigation bar @ top kinda on popup. wanted know if can make popup appear right originates, aka link clickable make appear, without snapping top.

i hope made myself clear, :)

edit : forgot code, how typical of me. here url site, i'm still trying stuff out on it. click here go site try clicking on text in timeline has background it, , you'll see mean. here's javascript initializing action

<script type="text/javascript">   $(document).ready(function() {      $('.simple-ajax-popup-align-top').magnificpopup({       type: 'ajax',        overflowy: 'scroll' // know popup content tall set scroll overflow default avoid jump     });    }); </script> 

the links same 1 ,just :

<a class="simple-ajax-popup-align-top" href="second.html" >  <h6>text here</h6> <p>and here</p></a> 

ps : i'm complete noob @ javascript :d cheers!

edit : found it. in documentation along, fixedcontentpos.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -