njgroup
asked on
how to put div tag always shown in top left in html page?
hi,
I wanna put a div tag that always shown in top left (left corner) in page, and moreover,
I want anther div also should be always shown (as bar in top of page) when when a client scroll 50px down
example of what I mean exactly:
http://findmebyip.com/litmus/#target-selector
1- see triangle in top left corner ("New Development Tools")
2- scroll a little down, you will see a black bar of main menu always shown even with scrolling
so any idea how to do that?
I wanna put a div tag that always shown in top left (left corner) in page, and moreover,
I want anther div also should be always shown (as bar in top of page) when when a client scroll 50px down
example of what I mean exactly:
http://findmebyip.com/litmus/#target-selector
1- see triangle in top left corner ("New Development Tools")
2- scroll a little down, you will see a black bar of main menu always shown even with scrolling
so any idea how to do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
With the URL's and explanation in my last post, you don't need CSS3. It works cross browser and should be fully semantic.
ASKER
thanks you LZ1 the demo is really perfect, but are you sure it does not uses CSS3?, because the title of article is: "Menu with CSS3 and jQuery"
thanks gurvinder372, I used this website: http://www.jtricks.com/javascript/navigation/fixed_menu.html
its really nice
and thanks for jmatix, its also works fine
thanks gurvinder372, I used this website: http://www.jtricks.com/javascript/navigation/fixed_menu.html
its really nice
and thanks for jmatix, its also works fine
You can do it without the CSS3 stuff. The CSS3 stuff they're using is stuff you don't really need like the gradient, text-shadow and border styles.
Other than that, it should be everything you need.
Other than that, it should be everything you need.
ASKER
thanks for everyone
ASKER