Jump to content

Archived

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

bloom1creative

Fixed Elements and Static

Recommended Posts

bloom1creative

Hi guys

 

I never seem to have any joy when inputting custom javascript - am I missing something?  They always work fine in jsfiddle, yet they don't function at all on the DMS.  Options to try and get elements to 'snap' to the top after they have been scrolled over, like on the 'PinsPro' theme overview page you guys have (http://www.pagelines.com/shop/core/pinspro/) in which the "Details / DMS / Pricing" snaps to the top.

 

I have tried to use the Scrolltop() JQuery requests which work brilliantly in jsfiddle as I said, along with many other custom snippets I have tried, and yet when used in the DMS, nothing... Here is an example that works fine on jsfiddle, but doesn't in DMS : http://jsfiddle.net/ult_combo/ayGwn/4/

 

I know like with the top navbar, there are elements of scroll position detection in place, I just can't seem to work out what they are.

 

Any help would be super uber appreciated and I'm sure would help others too :cool:

 

Many thanks


Many thanks

 

Rob1n

Share this post


Link to post
Share on other sites
Simon
Do you get a js error in console?

Share this post


Link to post
Share on other sites
bloom1creative

I was apparently using a $ where Wordpress won't allow it, so I changed that to jQuery and it seems to be playing ball for now :)


Many thanks

 

Rob1n

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

  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using a plugin called Speed Booster Pack to speed up the load time of michaelkummer.com. One of the plugin settings, Minimize HTML and JavaScript causes an error that I only get with Pagelines. With other themes, such as WordPress' Twenty Seventeen, I do not get that error.
      I have reproduced the problem on my staging site and if you look at the JavaScript console, you will see the following error:
      SyntaxError: Unexpected end of script
      Any clue what PageLines may be doing differently to be contributing to this issue? I contacted the plugin developer and they, of course, pointed me to the theme developer
      Thanks
      Michael
    • flourishdesignstudio
      By flourishdesignstudio+
      Hello,
      We are working on a site and the customers are complaining that the site loads too slowly. They contacted their host who mentioned that the Java Script is all loading at the beginning. Is it possible to delay the load of the less important Java Script until after the initial load to speed up the site? The goal is to load the page faster by minimizing the initial javascript calls.
      Are there any preferred plugins that you would recommend or does this end up causing excessive problems with plugins, etc.?
      Thanks for the help!
    • chamois_blanc
      By chamois_blanc+
      I am trying to clone a container on a page. It throws the following javascript error:
      function l(b, c, e, f) { var g = m.a.f.get(b, p); if (!c) { if (g) throw Error("You cannot apply bindings multiple times to the same element."); m.a.f.set(b, p, !0) } I would appreciate guidance and a fix. Thank you
    • Jeremiah
      By Jeremiah+
      Error: editing.js?ver=930684:5 Uncaught TypeError: Cannot read property 'getData' of undefined
      I have all of the plugins disabled and I still receive the error.
      Page Editor will not load on page.
       
    • jennajonesdesign
      By jennajonesdesign+
      Hi Guys, 
      I am still using DMS. I am trying to use Pins Pro. I have tried installing it on my clients site as well as the demo site we have and I get an error each time. 
      It says:
      Unpacking the package…
      Installing the plugin…
      The package could not be installed. No valid plugins were found.
      Plugin install failed.
      I also tried uploading through FTP. 
      All the files are upload and now it say this under "DropIns"
      db-error.php Custom database error message.
      I did re-download from my dashboard to make sure it was the latest version. I also tried unzipping, and then zipping up the sub folder inside. None of this has worked. Any ideas?
       
      Jenna
       
×