Mootools domready called twice - joomla

I can't seem to work out why my domready function is being called twice.
window.addEvent('domready', function() {
alert('Ready!!111');
}
Its on a joomla 1.6 installation (mootools 1.3) with a joomlart t3 template and a couple of ja modules. Other than that I have my own custom component, nothing special. With a bunch of code that runs when dom is ready. I'v spent many an hour trying to work out why domready is executed twice but to no avail.
Link: http://elwood.visualdomainhosting.com/
Anyone got any ideas on what may be causing this? Or experienced something similar?
Edit:
After some further testing on PC in Firefox, IE, Chrome, Opera and Safari I found the issue is only present on Chrome and Safari. Being a Mac user using both Chrome and Safari for my dev I assumed it was an issues in all browsers (stupid assumption on my part). I'm running Chrome 12.0.742.112 and Safari 5.0.5 (6533.21.1) if you still dont get the same results as I described above.

Looks like the template is using a bunch of Javascript to handle layout functions, not a good practice for just these reasons. I'd consider another template/rework the functionality in PHP.

Related

Problems with Ajax calls and serialization macOS Chrome

I have been testing a piece of code that I use for the purpose of auto saving the stuff from the site. It was achieved with ajax calls and serializing all the fields that are being displayed. It does work perfectly on all the major browsers on Windows e.g. Firefox, Chrome, IE, Edge etc. However, when it comes to mac there seems to be an issue with Chrome. Does anyone know something about the bug with macOS, Chrome and ajax/ data serialization that has been reported?

error parallax effect in firefox but works on google chrome

I need your help my website is not functioning properly on firefox browser but in edge, chrome and opera and safari it works only firefox is not functioning properly
Firefox Browser
Google Chrome Browser
I would recommend setting up all your projects in Xampp or something similar first before testing it. If you are going to upload to a server you need to replicate the environment locally before you decide whether it is going to work or not. It seems complicated but it is quite simple, you can find out more here. https://www.apachefriends.org/
That said, check your urls, they are not the same for your two different screens, the one is referencing an anchor tag.

Landing page in Joomla with problems on iOS

Can someone help me here?
I cannot understand why ONLY in iOS the "Autenticar" button does not work! :(
http://www.select.pt.la/
It works on "ALL" browsers in Windows and Android, but in iOS... nothing!
Can't figure this out.
EDIT:
Since this is a test platform, you can login with
User: demo
Pass: demo
You have some serious issues on that site which could be having all kinds of strange effects. You are running javascripts that need jquery, and jquery is not loaded
Why not use this free plugin to see if it stops the errors, and as a secondary function fixes your button
JQuery Easy

AJAX not working in IE7

We have a lot of AJAX in our pages. Mostly it's been in our internal systems, so we haven't tested it with a lot of browsers. But at the moment we're developing a major feature, that will use AJAX, for our customers and we testing it more thoroughly. One of the tests have been in IE9 running IE7 mode, which worked just fine. But when we took a machine running a real IE7 browser, we discovered that AJAX only works once on any of our pages. It seems that after a part of the page is re-rendered with ajax, all javascript events in the part of the HTML that was re-rendered stops working. It's impossible to get even a javascript alert() box to appear.
Since we only have one machine with IE7, we would like to know if anyone can verify that this is a real problem, and not just a problem with this one machine of ours?
And if it is a real problem, what did you do to fix it? 10 % of our users still use IE7, so cutting that browser just isn't a workable solution.
UPDATE / SOLVED:
We decided to get a new server and set it up with Windows XP. Even though we don't support it, we tested it in IE6 and it worked. Then we installed IE7 and it worked too. Guess our old test server is all messed up some how. So all works in IE7 after all.
Thank you for the suggestions all.
Personally I intend to forget about older browsers, but I usually use the jQuery library for my AJAX requests since I usually use jQuery anyway for specific animations etc.
jQuery supports these browsers:
Firefox 3.6, 5.0.x, 6.0.x
Internet Explorer 6+
Safari 5.0.x Opera Current - 1
version Chrome Current - 1 version
source
Because jQuery AJAX is very much part of the jQuery library as anything else, I assume that the jQuery AJAX is supported by these browsers as well.
jQuery AJAX API
AJAX calls are cached in IE. Use "cache: false" in the ajax call options.

uploadify in firefox is not working

I have the uploadify control in my app. When running in IE, everything is ok. but when in firefox, it is giving the error:
uploadify flashVer.split is not a function
has anyone experienced this?
I know that this question is quite old, but i had the same issue.
this seems to be a bug with flash that cause it to ignore browser session, instead it pulls cookie from IE no-matter what browser your using, which causes the problem,
since Uploadify uses flash so it wont work in FF or chrome, the bug is not fixed yet, however you might find this URL helpful for some workarounds.
http://joncahill.zero41.com/2009/11/problems-with-uploadify-aspnet-mvc-and.html

Resources