FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


JavaScript Overlaps





rohan2kool
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...
d34db0lts
i dont get what you're trying to say, maybe post an example?
Stubru Freak
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.
kv
http://dynamicdrive.com/. You will find lot of examples like the ones you described.
SystemWisdom
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!
rohan2kool
Thanks systemwisdom.... Those links are great. jus' what i wanted. My problem's solved now.
Related topics
Drag images (Javascript)
PB PHP, Iframe and Javascript
Clock-javascript
javascript: needed script for displaying window
Handling Css using Javascript
Navigation Script (javascript) Help Please!
resolution detection with javascript
A Useful Javascript
Tutorial: Image Rollovers w/ Javascript
Save webpage source into javascript variable
Professional JavaScript For Web Developers
Nice site for Javascript
Language
javascript free code
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.