Skip to Content Skip to Menu

CB Ajax field works in IE, not safari or firefox

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
15 years 6 months ago #92679 by beat
mediaguru wrote:

Beat are you trying to get yourself banned for multi-posting?

:blink:


Lol... deleted the redundant posts. Had some troubles with my Internet connection, so tried posting several times, thinking without success :D

Sorry about that :D

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

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

  • bab2on
  • bab2on
  • OFFLINE
  • Posts: 25
  • Thanks: 0
  • Karma: 0
15 years 6 months ago #93189 by bab2on
i have also a conflict between CB Ajaxt text Field but with another plugin, it's CB Video Sharing

www.joomlapolis.com/component/option,com_mtree/task,viewlink/link_id,238/Itemid,55/


hera all the js :
[code:1]
var youtubeRE = /(http:\/\/)?([a-zA-Z]+.)?youtube.com\/watch\?v=([\w-]+)/;
var gvRE = /(http:\/\/)?video.google.com\/videoplay\?docid=([\w-]+)/;


function video_Expand(idTag, warnText) {
if (document.getElementById('div'+idTag).style.getPropertyValue) {
direction = document.getElementById('div'+idTag).style.getPropertyValue("display"«»);
} else {
direction = document.getElementById('div'+idTag).style.display;
}
if (direction=='block') {
direction = 'none';
} else {
if (warnText == '' || confirm(warnText)) {
direction='block';
}
}
document.getElementById('div'+idTag).style.display = direction;
}



function video_submitForm(mfrm) {
var me = mfrm.elements;

var url = me.value;
var match = youtubeRE.exec(url);
if (match != null) {
me.value = "youtube";
return true;
}
match = gvRE.exec(url);
if (match != null) {
me.value = "google";
return true;
}

alert( "Please enter a valid YouTube url."«»);
return false;
}[/code:1]

[code:1]<script type="text/javascript">


if (document.getElementById){
document.write('<style type="text/css">')
document.write('.multiparts, #formnavigation{display:none;}')
document.write('</style>')
}

var curpart=0


function getElementbyClass(classname){
partscollect=new Array()

var inc=0
var alltags=document.all? document.all : document.getElementsByTagName("*"«»)
for (i=0; i<alltags.length; i++){
if (alltags.className==classname)
partscollect[inc++]=alltags
}
}

function cycleforward(){
partscollect[curpart].style.display="none"
curpart=(curpart<partscollect.length-1)? curpart+1 : 0
partscollect[curpart].style.display="block"
updatenav()
}

function cycleback(){
partscollect[curpart].style.display="none"
curpart=(curpart>0)? curpart-1 : partscollect.length-1
partscollect[curpart].style.display="block"
updatenav()
}


function updatenav(){
document.getElementById("backbutton"«»).style.visibility=(curpart==0)? "hidden" : "visible"
document.getElementById("forwardbutton"«»).style.visibility=(curpart==partscollect.length-1)? "hidden" : "visible"
}

function onloadfunct(){
getElementbyClass("multiparts"«»)
partscollect[0].style.display="block"
document.getElementById("formnavigation"«»).style.display="block"
updatenav()
}

if (window.addEventListener)
window.addEventListener("load", onloadfunct, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunct)
else if (document.getElementById)
window.onload=onloadfunct


</script>[/code:1]


if you got an idea :)

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

  • sorema
  • sorema
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 1
15 years 6 months ago #94523 by sorema
it's impossible to contact the developer! how to get support and solve this? does anybody have an idea?..please...

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
15 years 6 months ago #94748 by krileon
sorema wrote:

it's impossible to contact the developer! how to get support and solve this? does anybody have an idea?..please...


There is no issue to solve. The problem was a conflict with another existing plugin. Check your existing plugins.


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