Jump to content

Archived

This topic is now archived and is closed to further replies.

renderinnovations

Javascript header breaks pagelines

Recommended Posts

Simon

The latest jquery is already used by wordpress/dms you dont need to do that.

 

What code are you trying to run?

Share this post


Link to post
Share on other sites
renderinnovations

I'm trying to create a "scroll to fix" aka by bootstrap "affix".  I'm trying to get a sidebar to be fixed to the top once the user scrolls to it.  Exactly what Twitter's nav does, but I"ll have more than a nav.  I got the affix working by uploading bootstrap's affix, but I can only do that by writing in div tags.  I'm trying to make the whole "column" or "sidebar" be affixed. 

 

So, the only way I can get the sidebar to be fixed on scroll is by calling javascript and because all the sections DMS has, you can only add "classes" instead of "ids" or other variables, like Twitter's data-spy="affix".

 

This is my goal:  

 

1. http://stickyjs.com/

 

or

 

2. http://getbootstrap.com/2.3.2/javascript.html#affix

 

My issues;  pagelines stalls when I try to call out external javascripts, even google's api, which you answered my question.  But now that all columns and sections are only callable by "classes" I don't know a way around the issues.

 

Thanks!
AB

Share this post


Link to post
Share on other sites
renderinnovations

Thanks!

Share this post


Link to post
Share on other sites
renderinnovations

My issue was fixed,  Thanks for answering my question.  I was having issues for the javascript src to be read, I added raw script into the header.  I was trying to keep it clean without so much script in one box.

 

AB

Share this post


Link to post
Share on other sites
Danny

Thanks for informing us the issue has been resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×