euphoriuhh
Forum Replies Created
-
Thanks Travis!
I was trying to stay away from the .htaccess hack.
As it turns out, I realized that links to pdfs on external domains were not exhibiting the issue. I then added a www. in front of the pdf url and it worked as expected.
A little bizarre but hey, whatever! 😉 Feel free to Resolve. Thanks!
It does seem much more stable! I am still on 2.4.4 but yeah, seems to be working great! Thanks for everything!
You’re right its really not a huge deal. just a bit bizarre.
I’m just a little stressed out with a big website launch for my site at http://whatthefestival.com/_wp coming in a few days. hoping we’ve collectively ironed out most of the issues around this whole plugin.thanks again Dean – btw, I’ve got a donation coming your way next week ish.
^^^^ wow! I was just about to post about that one! I’ve been on a goosechase disabling W3 Total Cache plugin and other troubleshooting trying to determine that it is not just me.
It is actually quite frustrating.
I’d been doing most of my development in Chrome, just started testing in Firefox and experienced the error flashing temporarily issue. So pleased to see it already addressed!
Thanks so much Dean!
what’s your url?
somewhere there should be something like $(“#some_object”).someSliderThing();
It is particularly bad for me this morning.
When I inspect the Network traffic on a page load, I see 3 or 4 “canceled” GET requests to the url page via the ajax-page-loader.js. It appears to be choking at line 90 a few times before finally completing the request.
The problem appears to be the following section. What performance improvements can be made?
$('#' + content).fadeIn("slow", function() { http.open('GET', url, true); isWorking = true; http.onreadystatechange = showPage; http.send(null); });There is a section in the ajax-page-loader.js file that reads DROP RELOAD CODES HERE or something to that effect. Directly underneath that comment, duplicate the instantiating javascript/jQuery codes from your header file.
I have experienced pretty varying speeds. Sometimes it does feel like too much latency. Unfortunately, it largely depends on the network and the delay in the ajax request. However, I would very much like to see some performance improvements and I will be trying to explore possibilities for same this weekend.
Forum: Fixing WordPress
In reply to: no timthumb images after moving serverCurrently banging my head against this issue.
quick update. There are definitely more elegant solutions and there must be ways to recreate the same functionality in IE using History.js.. but for now, wrapping the history.pushState call in a conditional check like
if (typeof history.pushState !== “undefined”) {
}alleviates the js error and gets the site working in IE. It doesn’t update the URL but I’m really not too concerned with perfect functionality for IE people.
Do you know of any other sites utilizing your plugin? Just curious to take a look. I’m wondering if my issues are unique to my situation.
Even still, seems like some integration with Modernizr or even maybe History.js plugin could resolve any compatibility issues.
Hey Dean – Sorry to be a pain again.
Hmm. Just tried it on IE9 on Windows7.
Surprised to hear you say it works, especially on the older versions. Everything I have seen says that IE does not yet support history.pushState() ( http://stackoverflow.com/questions/3722815/does-internet-explorer-support-pushstate-and-replacestate )
I wonder if I am missing some kind of workaround? My site is http://whatthefestival.com/_wp
Thanks much.
The snippet I posted enables the current tab highlighting in a custom navigation menu. It wasn’t working beforehand, not sure if you were expecting it to. The URL was updating with each AJAX page load but the highlighted nav tab (which is set via the .current-menu-item class) wasn’t updating.
So my snippet basically removes the class from each nav li and then applies it to the li (and/or its parents) which just triggered the ajax load. Hopefully that makes sense.
As for the nivoSlider… My particular reload code looked like
/////////////////////////////////////////
// DROP YOUR RELOAD CODES BELOW HERE //
/////////////////////////////////////////
$(‘#slider’).nivoSlider({
pauseTime:3000,
effect:’boxRandom’,
animSpeed:700,
directionNav:true,
controlNav: false
});….. followed by much more custom JS from all over my site.
Thanks again for everything, Dean!
Hey Dean and everyone. Sorry for the many successive posts! I wanted to come back and report that I came up with a solution for the menu tab highlighting issue. It might be a nice addition if you want to merge it back into the main branch of the plugin.
in ajax-page-loader.js , pageLoaderInit()
// highlight the current menu item $('ul.menu li').each(function() { $(this).removeClass('current-menu-item'); }); $(this).parents('li').addClass('current-menu-item');