Forum Moderators: open

Message Too Old, No Replies

Menu fix now does strange thing only in ONE browser - help

         

kbeeson

1:04 am on May 30, 2007 (gmt 0)

10+ Year Member



Hello

Had a problem with a fly out menu in OPERA and Safari...a friend fixed it in Safari but couldn't in OPERA...BUT now the default's main header image won't display in Safari and still no background shown on the fly out menu in OPERA -

friend writes...

==============
I found some other information that suggested setting the ClientTarget attribute to ÒuplevelÓ when you detect the Safari or Opera browsers.

I went ahead and implemented that by creating a base class called BasePage (in the App_Code folder) and made every page load derive from it using the ÒInheritsÓ parameter. This seemed to solve the problem on Safari (I donÕt have Opera) without affecting IE7. Note that all new pages you create need to have the Inherits=ÓBasePageÓ tag set in their <Page> element.

So all is good in that the submenus pop up as we would expectÉbut there is a problem with the graphic on the default page. The main image doesnÕt load on the Safari browser unless I remove that ClientTarget=ÓuplevelÓ statement. If I remove it, then the menus donÕt work.
==================

SO, any thoughts on why this image on the HOME page now won't display ONLY in Safari? And how to fix the BG on flyout menu in OPERA?

<url removed>

Thank you very much

KB

[edited by: encyclo at 1:49 am (utc) on May 30, 2007]
[edit reason] See Guide to Posting Code [webmasterworld.com] [/edit]

TheNige

3:48 am on May 31, 2007 (gmt 0)

10+ Year Member



Not sure what fly out menu you are using. Do you mean the ASP.Net 2.0 Menu control? Something else?

Try doing some searches on Google for Browser Caps file. It might be that it is not detecting the Opera or Safari browser correctly and is rending a downlevel version of the menu.