Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
feeding different code to differnet browsers
Old 10-31-2010, 12:09 PM feeding different code to differnet browsers
Skilled Talker

Posts: 57
Name: karim
Trades: 0
I'm having a really stressful time trying to get a css dropdown menu to work on the browsers.

It works really well on modern browsers, however for older browsers Ie6 etc it doesn't seem to work at all, the drop down menus dissapears bihind another div layer.

I've tried everything, including

the following css codes
x-index
position:absolute
overflow:allow/auto/true etc

Still it gets hidden behind the body div layers.

I noticed that fewer and fewer people are using IE6, so I was thinking... why not just serve the slow javascript 300kb dropdown menu to ie6 users, and the serve modern browser users the new css menu.

What is the code I can use to feed different browsers the different menu?

Should I go specify which slow browsers to feed the old slow but compatible dropdown menu..

OR should I specify which new browsers to feed the new css menu to, and feed everyone else the new menu??
__________________

Please login or register to view this content. Registration is FREE
for businesses and dealers
Please login or register to view this content. Registration is FREE
TurboLizard is offline
Reply With Quote
View Public Profile Visit TurboLizard's homepage!
 
 
Register now for full access!
Old 10-31-2010, 02:26 PM Re: feeding different code to differnet browsers
Crimson's Avatar
Skilled Talker

Posts: 56
Name: Connor
Location: United States
Trades: 0
Quote:
Originally Posted by TurboLizard View Post
I'm having a really stressful time trying to get a css dropdown menu to work on the browsers.

It works really well on modern browsers, however for older browsers Ie6 etc it doesn't seem to work at all, the drop down menus dissapears bihind another div layer.

I've tried everything, including

the following css codes
x-index
position:absolute
overflow:allow/auto/true etc

Still it gets hidden behind the body div layers.

I noticed that fewer and fewer people are using IE6, so I was thinking... why not just serve the slow javascript 300kb dropdown menu to ie6 users, and the serve modern browser users the new css menu.

What is the code I can use to feed different browsers the different menu?

Should I go specify which slow browsers to feed the old slow but compatible dropdown menu..

OR should I specify which new browsers to feed the new css menu to, and feed everyone else the new menu??
Before you give up on doing it with CSS, why not post the code / website here, and see if someone can figure out the problem?

One thing that jumps out to me is you say you tried x-index, but the CSS property that you'd need to try is z-index. Don't know if this is a typo.
__________________

Please login or register to view this content. Registration is FREE

I solve code problems, browser compatibility (including IE 6), Wordpress trouble, the works.
Crimson is offline
Reply With Quote
View Public Profile Visit Crimson's homepage!
 
Old 10-31-2010, 04:41 PM Re: feeding different code to differnet browsers
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You develop it to work in GOOD browsers, and use conditional comments and separate css files for the bad ones -- like IE6 and to a lesser degree, IE7.

The problem with dropdown menus in IE6, and 7, is the z-indexing bug. You basically have to force a new z-indexing context to make either of them work.

Let us see the code or the page
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-31-2010, 11:56 PM Re: feeding different code to differnet browsers
Average Talker

Posts: 21
Name: Gohring Robert
Trades: 0
I never use IE6, fewer and fewer people use it. Maybe Ie6 will die out.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE

Gohring Robert is offline
Reply With Quote
View Public Profile Visit Gohring Robert's homepage!
 
Old 11-12-2010, 01:39 AM Re: feeding different code to differnet browsers
Junior Talker

Posts: 1
Trades: 0
In present when we designing website we only consider about browser compatibility for greater version of IE 6+, Firefox 3.0.
__________________

Please login or register to view this content. Registration is FREE
and
Please login or register to view this content. Registration is FREE
pathway to glamour
Marcie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to feeding different code to differnet browsers
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.45232 seconds with 12 queries