October 21, 200917 yr I have created a graphic I want to load up on top of my site if the user is using IE6 or earlier and when it's clicked it closes. I want the simplest and easiest method of doing this. Here it is if you're interested. Thanks Guys Luke
October 21, 200917 yr Insert a div at the top of your body, do the mark up etc... put display as hidden in your CSS. Then create a conditional comment for IE 6 to load a different CSS file which has display as block. There are a few other methods, but i find this the best.
October 21, 200917 yr Author Insert a div at the top of your body, do the mark up etc... put display as hidden in your CSS. Then create a conditional comment for IE 6 to load a different CSS file which has display as block. There are a few other methods, but i find this the best. Do I need any kind of javascript to detect IE6? and is there any good tutorials you know of? Cheers Luke
October 21, 200917 yr i just found a new way, which is an adaptation of what i was saying before. You can use <!--[if IE 6]> <div class="bing">bang bong</div> <![endif]--> Enter in that tag what you want to appear, and only IE 6 will show it.
October 21, 200917 yr Just to add my own personal opinion to the issue. Firstly, gaz's code is right on the mark for what you want to do. But with your graphic, I'd recommend taking a more softly-softly approach to users with IE6. Recent market research has indicated that the people most likely to upgrade from IE6 have already done so, leaving the vast majority of people still using IE6 in the category of "IT unconfident", who either aren't sure/don't know about upgrading, or people in offices who probably haven't been given the choice by their IT department whether to upgrade or not. So I think the bottom line is go ahead with the great image of Mr. T, but I'd include a link to a page somewhere (one must exist) detailing the reasons why a user should upgrade. This might help these two demographics more than just "Upgrade now!" Darren
October 22, 200917 yr Author Just to add my own personal opinion to the issue. Firstly, gaz's code is right on the mark for what you want to do. But with your graphic, I'd recommend taking a more softly-softly approach to users with IE6. Recent market research has indicated that the people most likely to upgrade from IE6 have already done so, leaving the vast majority of people still using IE6 in the category of "IT unconfident", who either aren't sure/don't know about upgrading, or people in offices who probably haven't been given the choice by their IT department whether to upgrade or not. So I think the bottom line is go ahead with the great image of Mr. T, but I'd include a link to a page somewhere (one must exist) detailing the reasons why a user should upgrade. This might help these two demographics more than just "Upgrade now!" Darren I really appreciate the advice and in the situation of a clients website or even my own that is the approach I would take however this is just for a laugh to go onto our band website that struggles to display properly in IE6. It's more of a warning to say "if it doesn't display right it's your problem" not so many people use IE6 anymore and there rare occasions that it would show would hopefully be seen by fans of the band that share our sense of humor. Many Thanks Luke
October 22, 200917 yr Author I was just having a think. I have Lightbox setup on the page would it be possible to detect IE6 and then automatically open that image with lightbox which the user can shut by clicking off the image or hitting close? Ideas and solutions please send away
Create an account or sign in to comment