Jump to content

Search the Community

Showing results for tags 'javascript'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 17 results

  1. Page won't finish loading

    Hi, A site of ours irregularly does not finish loading. The page in question is https://rw360.org/grievance-process/ In Safari, I'll occasionally get the following error: [Error] TypeError: undefined is not an object (evaluating 'a.plModel.init') (anonymous function) (site.js:5:91) i (jquery.js:2:27455) add (jquery.js:2:27750) ready (jquery.js:2:29819) (anonymous function) (site.js:5) Global Code (site.js:5:3421) This seems to be a bug in PageLines as far as I can tell. Any suggestions or a fix coming? Thanks,
  2. [Solved] Issue with minimizing HTML and JS

    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
  3. SEO and JS Loading

    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!
  4. I am using flickrapi plugin to do a flickr slideshow for each page. check out: http://hfsir.com/connieantoniou/ I want to reduce the space between the nav links and blog roll. I first applied: .cycle-wrap { height: 400px; } which bumped up the "Prev Next" links. http://screencast.com/t/MUgFaEYe6 I have tried every variation for the div class, but nothing works. I dug through the php and javascript files but I couldn't spot anything that made any sense. Firebug is telling me the object is element.style. that tells me that its javascript, am I wrong? Is there a better plugin for this I haven't found yet? any ideas would be helpful. party on, wayne.
  5. I've created a responsive full screen background that cycles through background images, as well as through slides in the center of the main column on the homepage. To do this, I wrote some jquery that removes the supersized background on the home page only (which is working), and included some markup for a slideshow to work on the home page. You can see the markup in <div id="background"> just after the body tag. In the header is the 'cycle2.js' script (I'm using cycle2 by Malsup). I have this all working here: http://preview.tinyurl.com/comra5j But, for some reason, incorporating it into my pagelines site is not working (it is the exact copy of my provided example)—and there don't seem to be any conflicts with jquery or any errors in the inspector. http://preview.tinyurl.com/ch8tvg6 Hoping someone can shed some light as to how I might debug this issue. Thanks
  6. Hi there, I've been given a bit of javascript code to add to my Pagelines Framework (v 2.0.0.) WP v 3.3.1 website which I thought would go in the Headerscripts Code area... Query(document).ready(function() { var elm = jQuery('#'+document.location.hash.replace('#','')); if (elm.attr('href')) { elm.addClass('highlighted'); } }); I don't know javascript - do I have to put something round the code to add it or save it as a file somewhere else then call it from the Headerscripts code area with something like the following?... <script type="text/javascript" src="/scripts/emailpage.js"></script> Many thanks in advance!
  7. Dear Pagelines Community, I have not really seen this issue posted before, so I'm posting now. As we all know, WP 3.5.1 has been released. I have encountered a problem when I try to paste a javascript ad code into a post. The problem is, that the code does not display right using the Pagelines theme. I'll give two examples, both using the same javascript ad code. First on Pagelines w/ WP 3.5.1: http://romancehoneymoondestinations.com/test/ Next, same code on another non-Pagelines theme w/ WP 3.5.1 http://russianinseattle.com/test/ Are there any ideas on what the cause can be? I have disabled all plugins, and the display problem is still occuring. Thank you, -Daniel
  8. Hi, Looking for a solution to my sluggish Pagelines Framework install. I'm getting 403 erros when submitting Pagelines admin section changes as well as other WordPress functions like deleting media. I'm also getting the spinning Javascript Issue Detector. Just upgraded to the Pagelines Framework today. Prior to upgrading, I mirrored the site and changed everything there first -- everything worked well. All plugins are currently deactivated. I turned the Pagelines debugger on. I deleted the .htaccess file in the site root, but it didn't seem to help, so I put it back. Any help would be appreciated: http://www.ohionews.org Thanks, Rick
  9. How To : Control Features

    Hello, Hello, Is it possible to get the php code for Features control ? Pause, play, next feature... I need this codes for insert controls button or link into my features (pause, next, etc.) Other question : Is it possible to control features with a script javascript or actionscript ? Is it possible ? How ? Is there an page where find the listing of php code control ? Thank you.
  10. I am getting a javascript issue detector within Site options - can you help? unable to change any settings. New install.
  11. Hi. So, according to http://demo.pagelines.me/tools/ to add standard bootstrap style button easily to my site, I'd do the following: [pl_button type="success" size="large" link="http://google.com" target="blank"]Launch Tour[/pl_button] That basic scenario works well enough, but what I'd really like this newly created button to do is something more complex. I'd like it to act just like this regular text link I've created: <a onclick="PopupCenter('http://exampletourli...om/example.html' 'tour',1300,830);" href="javascript:void(0);">temp launch tour link</a> The question is how do I get the onclick info into the bootstrap button shortcode? Will the javascript:void(0) portion work as the replacement link="xxx"? Thank you, Chris
  12. Is it possible to add a javascript file to WordPress Pagelines? I want to add a javascript file to allow media queries in ie8 and below (css3-mediaqueries.js). Is there a way to add this, and have it work of course?
  13. Where to insert code?

    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
  14. Hello I'd like to edit the theme file containing the post metabar to include some javascript, preferrably inside the loop.php (because need to use php to call permalink and post title for each post) but i couldn't find this file, would you please advice me which file to edit? I've already created a child theme for this purpose. Thanks in advance
  15. jQuery and JavaScript

    Hello pagelines, I want to create an effect where text pops-up when I hover over icons. I'm guessing it would be initialized via a javascript. Where would I place this javascript in my pagelines framework. ellelothlorien.com fyi. The main images should have text appear when you hover. Any help is greatly appreciated. Thanks Tim
  16. Is there a way to add to the header (javascript file for example) on specific pages?
  17. Hello, Today, i give a presentation to my client regarding bootstrap site (non-pagelines yet, coz it still a dummy site), but i got so ashamed because the layout look very miserably. And i just found out that IE 8 does not support media-queries. i google and found two solution: http://ghita.org/tipoftheday/css-media-queries-for-ie and http://code.google.com/p/css3-mediaqueries-js/ but both of it, can't solve my problem on media queries, as i shown here: http://www.doxadigital.com/scrape/mediaqueries.html (using css3-mediaqueries.js) and http://www.doxadigital.com/scrape/mediaqueries2.html (using css-media-queries-for-ie.js) any idea how to solve my problem, i only got 2 days for a revision.. Thanks !
×