Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

confict script?

  • escalona
  • escalona
  • OFFLINE
  • Posts: 113
  • Thanks: 5
  • Karma: 1
11 years 5 months ago - 11 years 5 months ago #226722 by escalona
confict script? was created by escalona
Hello:
I have a problem with a google map in Listbingo component.
I have written to support listbingo and this is his answer:


Please check this script , this is the problem from community builder .

<script type="text/javascript"><!--
if ( typeof window.$ != 'undefined' ) {
window.cbjqldr_tmpsave$ = window.$;
}
if ( typeof window.jQuery != 'undefined' ) {
window.cbjqldr_tmpsavejquery = window.jQuery;
}
--></script><script type="text/javascript" src=" instrumentosyluthiers.com/components/com_comprofiler/js/jquery-1.5.2/jquery-1.5.2.min.js?v=96c3148ea04b96a9 ">
<script type="text/javascript"><!--
cbjQuery( document ).ready( function( $ ) {
var jQuery = $;
var cbshowtabsArray = new Array();
function showCBTab( sName ) {
if ( typeof(sName) == 'string' ) {
sName = sName.toLowerCase();
}
for (var i=0;i<cbshowtabsArray.length;i++) {
for (var j=0;j<cbshowtabsArray[0].length;j++) {
if (cbshowtabsArray[0][j] == sName) {
eval(cbshowtabsArray[1]);
return;
}
}
}
}
});
if ( typeof window.cbjqldr_tmpsave$ != 'undefined' ) {
window.$ = window.cbjqldr_tmpsave$;
}
if ( typeof window.cbjqldr_tmpsavejquery != 'undefined' ) {
window.jQuery = window.cbjqldr_tmpsavejquery;
}
--></script>

The error is because of this script , please check where does this script coded , so that we can work in to this issue .

Regards,
Gobingoo Support."


Can you give me an answer for them?

TANKS
Last edit: 11 years 5 months ago by escalona.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #226758 by krileon
Replied by krileon on topic confict script?
Not sure what error they're pointing at. There's nothing wrong with CBs jQuery. If they meaning it's conflicting then it's all on them for not running jQuery in noConflict. CB pushes its jQuery to a deep noConflict (own namespace, see cbjQuery variable). Others using jQuery should be using noConflict as well. If there is an error in browser console in relation to any of CBs JS then please provide that error.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum