Hello All,
Maybe IE7 has nothing against Air Balloons and maybe its my poor coding skills instead, however let me explain...........
I wanted to build something similar to the bbc homepage
www.bbc.co.uk where you click on a tab and it displays an image and links to the article based on whichever tab you clicked. I assumed its done with Ajax, and decided thats how I would do mine. For the time being all images and links etc are just mock up random stuff for the sake of having some content.
So I built my page by linking to a MySql table that has an article ID, a short title (which will display in the tab) and an image. When clicking on the tab it took the nodeValue, passed this to ajax request, built the url with the nodeValue as a variable, returned some nice XML from a db query based on the variable value and updated the original page. And after some small trial and error, it all works great (although it still requires some visual upgrading, but the core functionality is working).
But hang on one moment - I did all my testing in Firefox, lets have a look at IE7. Click....error - object required! Made a small change to the XML header, and now it works. No hang on, it all works except one tab. And the tab text is "Air Balloons". It tells me object required. So I remove this from the database and try numerous different short title entries and related images and every thing is fine, they all work. So then I try the short title tab text of Airballon. And this works fine. And then Air balloon. And this works fine. And then AirBalloon. This is fine too. But then again Air Balloon and it errors in IE7 and tells me object required.
I have not yet tested in any other IE versions as IE7 is the one I currently have on my PC, but will test in other. Firefox has been fine. I will check other browsers soon, but I am just curious as to what is happening here.
To explain aswell, the database field shortTitle displays the text on the tab. When this tab is clicked, the value of this text is held and passed to the PHP page where it queries the database field shortTitle based on that passed value. Therefore it cannot be a spelling mistake as effectively it is the same text.
I should point out I dont need Air Balloons to work, the site will actually have nothing to do with Air Balloons, and there will never be a need to have that word written, and I do not seem to be able to replicate this error with the hundreds of terms I have since tried. I just am confused / curious as to why it doesn't like that word. And as I say, Firefox had no problem at all.
I am extremely pleased with how this has turned out, it will be for a F1 site I am doing, this wasn't so much a post asking for technical help, more I am just curious if anyone else has encountered such a thing or if there is anything obvious............perhaps Mr Gates just cant stand Air Balloons.....