Welcome Guest Search | Active Topics | Sign In | Register

Menu pull down across frame in Chrome broken Options
Joe Kuzma
Posted: Monday, October 18, 2010 2:54:02 PM
Rank: Newbie
Groups: Member

Joined: 10/10/2007
Posts: 1
I just upgraded to the latest version of the EO Controls, and I upgraded our site.

But, in Chrome; I'm still seeing the pull down menus having no styling, and the background transparent to the back of the page.. Its going across a frame, and I have the TargetFrame set fine.. works in Firefox and IE fine...

In chrome it looks like this:

eo_support
Posted: Monday, October 18, 2010 3:11:32 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We are aware of this but we have not been able to find a clean solution yet. Our Menu is able to automatically "inject" CSS styles into a target frame on IE and FireFox, but it appears that Chrome intentionally blocks this, their stated reason is to prevent malicious site designer to create a frame set that modifies a target page's appearance and make it look exactly like their own to deceive their user.

As a result, Chrome requires site designer to explicitly modify the target page to add CSS styles in it. This should not be a problem if all the target pages are your own pages. You would need to go to Menu Builder, then click “To CSS Class” to convert all styles used by the menu into a CSS block. This would fill the menu’s CssBlock property to include all styles used by the menu. You can then copy that into every page (or into your master CSS file if you have one).

If this is not practical, you can consider set the target frame Url to one of your own page, put the menu styles in that page, then use an iframe in your own page to host the real target page. The trouble for this approach is you will need to dynamically resize the iframe when your target frame resizes.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.