Viewing 8 replies - 1 through 8 (of 8 total)
  • Yes, I too would like more info about this..where is it that you add the code, so it can be recalled after the content changes?

    And, Is there a way to find out what the code is? I’d like Easy Fancybox to work with this, if possible. Also Portfolio Slideshow.
    An example would be great.

    Also, Is there a way to make the ajax only apply to certain pages? maybe categories?

    thanks

    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.

    Thanks! actually I contacted premium support for a slidshow plugin I purchased, wanted to use it with the ajax page loader, they didn’t seem to know what “code which binds the javascript to the element” means. So I’m desperate to find out what I’m even looking for, what is this code? how might one find out more about how to proceed with this?

    duplicate the instantiating javascript/jQuery codes from your header file.

    does this mean the code for the slideshow should be in the header? If so, I don’t see it. Or maybe that’s not what you mean..?

    what’s your url?

    somewhere there should be something like $(“#some_object”).someSliderThing();

    I see code for the slideshow when I look at the site in Firebug, but not in header.php, so I think maybe that’s what you mean. If so, maybe if you look you can tell me what part I neeed to copy into the “DROP RELOAD CODES HERE”.

    site link

    Thanks!

    Plugin Author Dean Williams

    (@deano1987)

    It means the code which is called to bind slider/gallery/etc to the content in the page, as euphoriuhh says its usually:

    $(‘#id .class element’).featurename();

    When you use any system such as a gallery viewer, you usually define a ID or Style tag to use to identify what HTML data is going to be used, it’s this code you have to re-call. Because the new HTML in the page is not automatically re-checked by javascript, and any javascript run when the page loaded is not loaded again.

    Thread Starter pierreg_

    (@pierreg_)

    I just find the code to reload “facebook photo fetcher” plugin :

    jQuery("a.fbPhoto").fancybox({
    				"transitionIn"	: "elastic",
    				"transitionOut"	: "elastic",
    				"titlePosition" : "inside",
    				"titleFormat"	: function(title, currentArray, currentIndex, currentOpts)
    				{
    					return "<span id=\'fancybox-title-over\' style=\'background-image:none; text-align:left;\'>" + (title.length ? title : "") + "</span>";
    				}
    			});

    Was this ever resolved for Portfolio Slideshow? I’m also having trouble with this. I don’t understand where I should find “$(‘#id .class element’).featurename();” for my particular application. Should I use the code inspector when my page is loaded, or should I be looking at the php in the plugin editor? The website I am talking about is here.

    Thanks!
    alejandro

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Advanced AJAX Page Loader] Problem with other Javascript plugins (Front-end Editor, Faceboo’ is closed to new replies.