Plugin shows a lot of codes ??

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10604 by rbuelund
Replied by rbuelund on topic Plugin shows a lot of codes ??
I can see that code - in the middle of your code ?? I have teste on page with no plugins loaded - still the same error ??

I have this Jquery in my template - that is the only thing that runs on the page:

jQuery(window).load(function() {
jQuery(".col-xs-1").addClass("span1");
jQuery(".col-xs-1").removeClass("col-xs-1");
jQuery(".col-xs-2").addClass("span2");
jQuery(".col-xs-2").removeClass("col-xs-2");
jQuery(".col-xs-3").addClass("span3");
jQuery(".col-xs-3").removeClass("col-xs-3");
jQuery(".col-xs-4").addClass("span4");
jQuery(".col-xs-4").removeClass("col-xs-4");
jQuery(".col-xs-5").addClass("span5");
jQuery(".col-xs-5").removeClass("col-xs-5");
jQuery(".col-xs-6").addClass("span6");
jQuery(".col-xs-6").removeClass("col-xs-6");
jQuery(".col-xs-7").addClass("span7");
jQuery(".col-xs-7").removeClass("col-xs-7");
jQuery(".col-xs-8").addClass("span8");
jQuery(".col-xs-8").removeClass("col-xs-8");
jQuery(".col-xs-9").addClass("span9");
jQuery(".col-xs-9").removeClass("col-xs-9");
jQuery(".col-xs-10").addClass("span10");
jQuery(".col-xs-10").removeClass("col-xs-10");
jQuery(".col-xs-11").addClass("span11");
jQuery(".col-xs-11").removeClass("col-xs-11");
jQuery(".col-xs-12").addClass("span12");
jQuery(".col-xs-12").removeClass("col-xs-12");
});


jQuery(window).scroll(function()
{
var $win = jQuery(window);
if (jQuery($win).scrollTop() == 0)
{
jQuery("#top-container").animate({"border-bottom-color":"#ffffff"},600);
}
else if(jQuery($win).scrollTop() != 0)
{
jQuery("#top-container").animate({"border-bottom-color":"#efefef"},600);
}
});

jQuery( "#linkicon" ).mouseover(function() {
jQuery( "#linkicon" ).effect( "size", {
to: { width: 200, height: 200 }
}, 1000 );
});
jQuery( "#linkicon" ).mouseleave(function() {
jQuery( "#linkicon" ).effect( "size", {
to: { width: 150, height: 150 }
}, 1000 );
});

Please Log in or Create an account to join the conversation.

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10605 by rbuelund
Replied by rbuelund on topic Plugin shows a lot of codes ??
Which code should be instead of this:
'
'+
'';

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #10606 by Dima
Replied by Dima on topic Plugin shows a lot of codes ??
joomla system plugins works on every page, you can't control it loading, ie it is executed (if active). And by this case I wrote you to disable system plugin (not core joomla, the other extension or template), check, enable.

The extra code - it is closing script tag and new line. It is not mine.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago - 7 years 7 months ago #10607 by Dima
Replied by Dima on topic Plugin shows a lot of codes ??
Correct code like this

Don't forget support my developments: post review in JED , donate , help with translation ;)
Attachments:
Last edit: 7 years 7 months ago by Dima.

Please Log in or Create an account to join the conversation.

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10608 by rbuelund
Replied by rbuelund on topic Plugin shows a lot of codes ??
Ok sorry - I found it. YTools is the problem, but I need that to LazyLoad the youtube videos. Right now I have disabled it, but then nothing shows up at all ? I can see the javaScript in the source but it shows nothing ??

Please Log in or Create an account to join the conversation.

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10609 by rbuelund
Replied by rbuelund on topic Plugin shows a lot of codes ??
And sorry again - height was missing. Hmm I will have to workout how to get both plugins to work at the same time..

Please Log in or Create an account to join the conversation.

Time to create page: 0.111 seconds

Donate


Go to top