How do they overlap content using JavaScript as in menus and all.. pretty amazing and also like they keep a box or image at the right corner or the bottom right corner constantly... Jus' wanted to know that. Thanks a lot...
JavaScript Overlaps
i dont get what you're trying to say, maybe post an example?
| rohan2kool wrote: |
| How do they overlap content using JavaScript as in menus and all.. pretty amazing and also like they keep a box or image at the right corner or the bottom right corner constantly... Jus' wanted to know that. Thanks a lot... |
The second: maybe css, value fixed for position attribute.
http://dynamicdrive.com/. You will find lot of examples like the ones you described.
All of that can be done (and should be done) using CSS not Javascript. In fact, all you would need JS for is to force compatibility for IE browsers.
It all invloves the :hover pseudo-selector in CSS. Since IE doesn't associate this selector with anything but the Anchor tag (A), you need a simple JS to force IE to mimic that behavior on other elements (like LI for example).
If you want to learn how to make those cool menus (and even floating boxes) then you should check out SuckerFish Dropdowns here:
http://www.htmldog.com/articles/suckerfish/dropdowns/
I use a modified version of these dropdowns in one of my test sites here:
http://www.systemwisdom.frihost.net/test/ddmenu/ (Page best viewed in Firefox)
Enjoy!
It all invloves the :hover pseudo-selector in CSS. Since IE doesn't associate this selector with anything but the Anchor tag (A), you need a simple JS to force IE to mimic that behavior on other elements (like LI for example).
If you want to learn how to make those cool menus (and even floating boxes) then you should check out SuckerFish Dropdowns here:
http://www.htmldog.com/articles/suckerfish/dropdowns/
I use a modified version of these dropdowns in one of my test sites here:
http://www.systemwisdom.frihost.net/test/ddmenu/ (Page best viewed in Firefox)
Enjoy!
Thanks systemwisdom.... Those links are great. jus' what i wanted. My problem's solved now.
