rnmcd Posted March 14, 2005 Posted March 14, 2005 I just noticed that the site I am slowly building doesn't work in Internet Explorer if the "www." is not included as part of the URL. www.fsboiowa.com works fine but fsboiowa.com shows errors in Internet Explorer but NOT in Firefox. fsboiowa.com doesn't display the dynamic menu items......... any idea what might need to be done to correct this? Quote
TCH-Bruce Posted March 14, 2005 Posted March 14, 2005 May want to open a Help Desk ticket and have one of the techs have a look. Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 May want to open a Help Desk ticket and have one of the techs have a look. <{POST_SNAPBACK}> I'll give it a try. Thanks. Quote
TCH-Andy Posted March 14, 2005 Posted March 14, 2005 Hi, I've had a quick look at the server - and can't see any issues there. However, I would have a look at 3 things. 1. Has the script got any checks for IE in it - and then performs separate functions if it does or doesn't. 2. It is probably also picking up a config parameter for the base URL from a config file - check this is correct. 3. Check you do not have any rewrites in your .htaccess which could conflict with the script calls. Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 May want to open a Help Desk ticket and have one of the techs have a look. <{POST_SNAPBACK}> I'll give it a try. Thanks. <{POST_SNAPBACK}> They responded back to me that both www. and without "www." work but they didn't tell me what they did. The only difference that I noticed is that the IE error message (exclamation point in lower left corner of browser) is gone but the navigation menu doesn't work. I don't think this is a tech support issue as much as a coding problem. Any ideas? Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 Hi, I've had a quick look at the server - and can't see any issues there. However, I would have a look at 3 things. 1. Has the script got any checks for IE in it - and then performs separate functions if it does or doesn't. 2. It is probably also picking up a config parameter for the base URL from a config file - check this is correct. 3. Check you do not have any rewrites in your .htaccess which could conflict with the script calls. <{POST_SNAPBACK}> Hello Andy. I will look into those things. But why would the site work fine in browsers OTHER than IE? For example, it works in Firefox. Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 I wrote back to tech support and they said they didn't make any changes but for some reason the IE warning (lower left corner of browser) is gone but the menu still doesn't work without the "www." Quote
TCH-Andy Posted March 14, 2005 Posted March 14, 2005 But why would the site work fine in browsers OTHER than IE? For example, it works in Firefox. <{POST_SNAPBACK}> Because you have the code >[if IE]><style type="text/css" media="screen">body{behavior:url(<?PHP echo $config[baseurl]?>/css/csshover.htc);}</style><![endif]-- in your script Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 Because you have the code >[if IE]><style type="text/css" media="screen">body{behavior:url(<?PHP echo $config[baseurl]?>/css/csshover.htc);}</style><![endif]-- in your script <{POST_SNAPBACK}> Please bear with me on this...but isn't that commented out? Quote
TCH-Andy Posted March 14, 2005 Posted March 14, 2005 Most other browsers will interpret the following code as comment, yes ><!--[if IE]> code <![endif]--> However, IE will interpret the code. Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 So, do you think it was the purpose of the line: ><!--[if IE]> code <![endif]--> to have IE interpret it differently than other browsers? Also, when I 'Viewsource' for the code that you showed: >[if IE]><style type="text/css" media="screen">body{behavior:url(<?PHP echo $config[baseurl]?>/css/csshover.htc);}</style><![endif]-- it displays for me as follows: ><!--[if IE]><style type="text/css" media="screen">body{behavior:url(http://www.fsboiowa.com/css/csshover.htc);}</style> <![endif]--> How did you 'see' the ><?PHP echo $config[baseurl]?> Quote
TCH-Andy Posted March 14, 2005 Posted March 14, 2005 Yes, I think the purpose of the code it to have IE interpret it differently - it adds a different Java script. I could only 'see' the config[baseurl] because you submitted a ticket earlier - so I logged in and had a look before responding to your ticket. Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 I could only 'see' the config[baseurl] because you submitted a ticket earlier - so I logged in and had a look before responding to your ticket. <{POST_SNAPBACK}> Oh, I get it! You looked at the actual file for the code...I thought you were just Viewing Source and I couldn't figure out how you came up with the actual code. Thanks for helping me! Quote
rnmcd Posted March 14, 2005 Author Posted March 14, 2005 What would anyone recommend as the best way to 'remedy' this problem? Quote
owatagal Posted March 15, 2005 Posted March 15, 2005 Suckerfish Dropdowns This is sort of a drastic solution, since you'll end up rebuilding your menus on all your pages, but the code is good, it's a popular method so support is widespread, browser quirks are documented (and generally with workarounds). It's also easy to implement, and after your first page you can just copy/paste code anyway. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.