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