I am just getting back into web design after a break of a few years, and I have an error somewhere in my coding I just can't find and wondered if any others have had this.
Clearbox slideshow is working exactly how it should in Google Chrome and Firefox, but in Internet explorer, rather than it opening to a slideshow, it opens the picture on a new blank tab, with nothing to be done except click the back button.
I know that there will be a few of my clients from the other half of my business that will look at this through IE I'd really like to fix it.
This is the site:
Does anyone have any suggestions on where I have gone wrong?
Let me know if you need any other information
Thanks in advance!
Your markup has lots of errors. Fix them by following the report here: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cameragaldesigns.co m%2Flandscape.html&charset=%28detect+automatically%29&doctype=Inline&g roup=0
Once you have your code validated, try it out on IE and let us know if it works. IE goes to quirks mode when it sees malfunctioned code - more often happens in IE than on other browsers.
For example, your doctype itself is incorrect. So is your code formation. You have meta tags before the doctype declaration and/ or head tag in your document. Fix them first.
your slideshow works like a charm in my IE10, and - what is sometimes needed in these cases - without using "compatibility mode".
Could it be that your images are uploaded in a "high definition". Maybe you should manage them with less, to speed up the loading time.
@CameragalDesigns: IE7 & IE8 are not fully HTML5 compatible. You may want to include HTML5Shiv to your <head> section to ensure IE below version 9 interprets HTML5 code:
<!--[if lt IE 9]>
@Preran & hans-g: Other than the original problem itself, OP's code has a lot of invalid markup - one of the primary reason for IE to act up.
I agree, it would therefore be very important you Mr.(?) "CameragalDesigns" would eliminate the obvious flaws first!
AND yet - interestingly - the slideshow works in my IE10.
Thanks for all the input. I have played with coding for a few hours and tidied a lot up (can you tell I am more of a designer than developer??). I am pleased to say that I didn't make it any worse though - It still works in chrome and firefox, and iE9 (and by the sounds of it 10).
IE 8 (and I am assuming earlier versions) I still have the same problem.
I still have some errors in the coding, that everytime I tried to do anything with had an adverse result on the look or functionality.
In particular I have 1 main error still to do with each of the images and was based on the coding that came with the clearbox widget that I would love some ideas on how to fix - ones that look like the below:
Bad value clearbox[gallery=Gallery,,comment=MacKenzie Falls, Grampains 2011] for attribute rel on element a: The string clearbox[gallery=gallery,,comment=mackenzie is not a registered keyword or absolute URL
I was wondering if this isn't working because I chose to do it in HTML5. If I want to go back to HTML4.01, is it just a matter of changing the doc type (and removing the HTML5 statement you recommended, and checking for any errors)? Or is there something else I would need to do?