Search Issue in Safari

15 years 9 months ago #65480 by tarzan
Search Issue in Safari was created by tarzan
Hi,

There's a problem with the Search feature in Safari (I've had more than one user point it out). The text fields only appear after clicking the dropdowns numerous times.

Also, is it possible to turn off this Ajax feature?
And how would I go about customizing the search options - not what can be searched but how it's searched?

Big thanks in advanced

Please Log in to join the conversation.

15 years 9 months ago #65542 by tarzan
Replied by tarzan on topic Re:Search Issue in Safari
Bumping.
Is no one else having this issue with Safari?

Please Log in to join the conversation.

15 years 9 months ago #66609 by beat
Replied by beat on topic Re:Search Issue in Safari
Nope, safari 3.1 here and all is ok.

Maybe a javascript problem in your site template or a module ?

safari: right click on page, choose inspect, then check the console for errors ;)

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 to join the conversation.

15 years 9 months ago #66615 by tarzan
Replied by tarzan on topic Re:Search Issue in Safari
Hi Beat,

Thanks for replying.

Okay, found an error - don't know if this is what's causing the issue.

Console reports:
[code:1]Error: partscollect[0] is undefined
Source file: /index.php?option=com_comprofiler&task=userslist&listid=&searchmode=1&Itemid=61
Line: 211
[/code:1]

From Inline Script at /index.php?option=com_comprofiler&task=userslist&listid=&searchmode=1&Itemid=61
[code:1]
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
[/code:1]

Please Log in to join the conversation.

15 years 9 months ago #66650 by wrongjon
Replied by wrongjon on topic Re:Search Issue in Safari
Hi, did you get a fix for this. I get the same problem in Safari 3.1.2 and you can only get the search text boxes to appear if you set a drop down to phrase etc and then hit search

thanks
Jonathan

Please Log in to join the conversation.

15 years 9 months ago #66651 by wrongjon
Replied by wrongjon on topic Re:Search Issue in Safari
Hi

I also get that same issue when you try to change your avatar so it seems that simply changing a drop down list value is not triggering the ajax to hide/show the elements?

Beat when I right click in safari I don't have an inspect option?

This problem also exists with the main out of the box Joomla 1.5 basic template?

regards
Jonathan

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn