Search Issue in Safari

13 years 3 months ago #66661 by tarzan
Replied by tarzan on topic Re:Search Issue in Safari
Hi,

Forgot to mention: Safari 3.1.2 Windows XP, Joomla 1.5.3 legacy mode, but my client's on a Mac and having the same issue as well.

Post edited by: tarzan, at: 2008/06/27 17:34

Please Log in to join the conversation.

13 years 3 months ago #66720 by beat
Replied by beat on topic Re:Search Issue in Safari
tarzan wrote:

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]


Tarzan,

This code is not part of CB 1.2 RC. Must be something else which has this bug in your site (module, mambot, template) and is outputing that on same page.

Hope that helps and you find the culprit. Please report back your findings, so others know too.

Wrongjon, as you got "same" issue, probably same applies to you too.

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.

13 years 3 months ago #66729 by tarzan
Replied by tarzan on topic Re:Search Issue in Safari
Hi,

Okay, found the culprit for the JavaScript error. Coming from the CB plugin "CB My Videos". I unpublished it thinking that would resolve the Safari issue, but unfortunately doing so had no effect in Safari. Still struggling with having the dropdown options fade in an input box. Still need to click multiple times before it finally fades in.

Please Log in to join the conversation.

13 years 3 weeks ago #74951 by dforrestca
Replied by dforrestca on topic Re:Search Issue in Safari
Having the same problem on BOTH Safari(3.1.2) and Chrome with this Ajax implementation. Works fine on IE and Firefox. Other use of Ajax on site is OK. There seems to be NO right-click "inspect" on Safari like firefox. Any help appreciated.

Please Log in to join the conversation.

13 years 3 weeks ago #74952 by Rapunzl
Replied by Rapunzl on topic Re:Search Issue in Safari
Likely this is a Joomla 1.5/template issue. Joomla forums talks about problems with javascript and the Joomla mootools. I can view in Chrome and Safari without multiple clicks.

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

13 years 3 weeks ago #74973 by dforrestca
Replied by dforrestca on topic Re:Search Issue in Safari
Yes, you can view the search criteria dropdown, but, when you select a search condition, the entry field does not show. I see the rapunzalremebers website has a similar ajax issue with the REGISTRATION avatar uploader in safari. Click the dropdown and select "upload" and nothing happens...back to you.

I am using joomla 1.0.15 and cb 1.2rc

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.199 seconds

Facebook Twitter LinkedIn