Re: [css-d] IE7 problem with dropdowns
Good catch, Georg, and thanks. For some reason, the CMS was removing the second slash when it was adding the JS to the pages. I added the JS directly to the page (instead to the CMS doing it) and it resolved the problem. For those that asked, the CMS is custom built via Ruby on Rails. On Mon, Mar 24, 2008 at 6:10 PM, Gunlaug Sørtun [EMAIL PROTECTED] wrote: Chris Kavinsky wrote: Doing that, and it works fine on the static page. The problem, for some reason, is that it doesn't work on the page that's generated by the CMS (although the source code looks fine). I'm stumped. Fix the script. You've lost a backslash from the original. This line... this.className=this.className.replace(new RegExp( sfhover\b), ); ...must look like this... this.className=this.className.replace(new RegExp( sfhover\\b), ); ...in order to work. Otherwise the script will just keep adding 'sfhover' classes onmouseover, and not remove them onmouseout. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] IE7 problem with dropdowns
I having a very bizarre problem with suckerfish dropdowns and IE7. I have two versions of a page referencing the same CSS file -- one is a static page on the same server as the CSS file, the other generated by a CMS program on a different server. The problem is the dropdown menus are sticking in the CMS version, but the static version works fine. The CMS version is linking to the CSS properly, but seems to be ignoring bits of it. Can anyone see anything wrong that would be cauing this? References: static page: http://ecasite.org/2008template.html CMS page: http://associationdatabase.com/aws/ECA/pt/sp/p_Home_Page CSS file: http://209.235.241.60/css/styles2008.css __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE7 problem with dropdowns
At 07:14 AM 25/03/2008, Chris Kavinsky wrote: I having a very bizarre problem with suckerfish dropdowns and IE7. I have two versions of a page referencing the same CSS file -- one is a static page on the same server as the CSS file, the other generated by a CMS program on a different server. The problem is the dropdown menus are sticking in the CMS version, but the static version works fine. The CMS version is linking to the CSS properly, but seems to be ignoring bits of it. Can anyone see anything wrong that would be cauing this? References: static page: http://ecasite.org/2008template.html CMS page: http://associationdatabase.com/aws/ECA/pt/sp/p_Home_Page CSS file: http://209.235.241.60/css/styles2008.css There's an issue with suckerfish and IE 7.0 with the menus sticking, this link may help. http://www.builtfromsource.com/2006/10/23/a-fix-for-suckerfish-dropdowns-in-ie-7/ Regards Vicki __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE7 problem with dropdowns
Doing that, and it works fine on the static page. The problem, for some reason, is that it doesn't work on the page that's generated by the CMS (although the source code looks fine). I'm stumped. On Mon, Mar 24, 2008 at 4:34 PM, Vicki Stebbins [EMAIL PROTECTED] wrote: At 07:14 AM 25/03/2008, Chris Kavinsky wrote: I having a very bizarre problem with suckerfish dropdowns and IE7. I have two versions of a page referencing the same CSS file -- one is a static page on the same server as the CSS file, the other generated by a CMS program on a different server. The problem is the dropdown menus are sticking in the CMS version, but the static version works fine. The CMS version is linking to the CSS properly, but seems to be ignoring bits of it. Can anyone see anything wrong that would be cauing this? References: static page: http://ecasite.org/2008template.html CMS page: http://associationdatabase.com/aws/ECA/pt/sp/p_Home_Page CSS file: http://209.235.241.60/css/styles2008.css There's an issue with suckerfish and IE 7.0 with the menus sticking, this link may help. http://www.builtfromsource.com/2006/10/23/a-fix-for-suckerfish-dropdowns-in-ie-7/ Regards Vicki __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE7 problem with dropdowns
Chris Kavinsky wrote: I having a very bizarre problem with suckerfish dropdowns and IE7. static page: http://ecasite.org/2008template.html CMS page: http://associationdatabase.com/aws/ECA/pt/sp/p_Home_Page CSS file: http://209.235.241.60/css/styles2008.css FWIW: The CMS version is sticking in both IE/6 and IE/7 /and/ Mac Opera/9.24 (I did not check it PC Opera). CMS's have a bad habit of introducing markup errors. Validate it, and see if it makes any difference at all... -- http://chelseacreekstudio.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE7 problem with dropdowns
Chris Kavinsky wrote: Doing that, and it works fine on the static page. The problem, for some reason, is that it doesn't work on the page that's generated by the CMS (although the source code looks fine). I'm stumped. Fix the script. You've lost a backslash from the original. This line... this.className=this.className.replace(new RegExp( sfhover\b), ); ...must look like this... this.className=this.className.replace(new RegExp( sfhover\\b), ); ...in order to work. Otherwise the script will just keep adding 'sfhover' classes onmouseover, and not remove them onmouseout. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/