Jump to content
theTimHunter

Where to insert code?

Recommended Posts

theTimHunter

Hello all,

I am working on a site and I currently have some transitions set using CSS. Obviously these don't work in IE b/c it is the spawn of satan. In any event, I wanted to use some javascript for the fade-in/out on the images. Where do I put that in pagelines? The images are located in the home page content area...

ellelothlorien.com

Thanks,

Tim

Share this post


Link to post
Share on other sites
theTimHunter

Hey Catrina,

i don't have it yet, i was going to get something online. i really could use some help though, because I am a total newb when it comes to javascript. thanks.

Share this post


Link to post
Share on other sites
catrina

I can't say where the Javascript should be placed if I don't know the instructions for that specific code. Usually, Javascript needs to be implemented by uploading certain files or editing existing code. Does this code require that you add it to any specific place within the code?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Simon

The topic was marked as resolved.

Share this post


Link to post
Share on other sites
theTimHunter

I can't say where the Javascript should be placed if I don't know the instructions for that specific code. Usually, Javascript needs to be implemented by uploading certain files or editing existing code. Does this code require that you add it to any specific place within the code?

I'm looking to incorporate a mouse over hover javascript. It should be a real train wreck...thinking of starting with this code:http://www.thesitewizard.com/archive/rollovers.shtml

Thanks

Tim

Share this post


Link to post
Share on other sites
Simon

Every PageLines Framework page has jQuery loaded by default, most of the sections require it to some degree, so your better off looking for some jQuery code.

Share this post


Link to post
Share on other sites
theTimHunter

Every PageLines Framework page has jQuery loaded by default, most of the sections require it to some degree, so your better off looking for some jQuery code.

Thanks Simon. I will search for that. Thanks for all your guidance, I appreciate it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • 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.
       
    • oseehys
      By oseehys+
      Can someone give me a breakthrough out here?
      I have been on the media player for like 5 hours now yet it is still not displaying on my media box or the textbox,
      its a free media player on soundclound
      Great day ahead to the developers out here...
      am trying to install the Toneden media player https://www.toneden.io/player to display my songs on sound cloud, i followed everything on the doc, but obviuosly am missing something i did everything i can for 5 hours yet no breakthrough, am using the textbox as display.
      This is the html script i used, what am i missing here? see it below
        (function() { var script = document.createElement('script') script.type = 'text/javascript'; script.async = true; script.src = 'http://sd.toneden.io/production/toneden.loader.js' var entry = document.getElementsByTagName('script')[0]; entry.parentNode.insertBefore(script, entry); }()); ToneDenReady = window.ToneDenReady || []; ToneDenReady.push(function() { ToneDen.player.create({''enter code here'' dom: '#player', urls: [''https://soundcloud.com/reginaspektor'' ] }); });
×