473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

how to use javascript for sliding content

ken


Hi,

In this site it has sliding content,
http://kids.yahoo.com/games/index
e.g. acade games, it has 2 arrows at the top right corner. when you
click -more content will slide in.

i have reviewed it with DOM inspector, and know that both are done in
2 ULs. But i don't know what do they do to make sure that one of UL is
not visible.
Can you please tell me how they do that?

Thank you.

Feb 8 '07 #1
3 1651
I think you're looking for the overflow:hidden CSS rule.
http://www.google.com/search?q=css+overflow%3Ahidden

--
Isaac Z. Schlueter
(One of "they"--I built the version of that component that you see on
http://food.yahoo.com and http://games.yahoo.com/.)

Feb 8 '07 #2
Isaac Schlueter wrote:
I think you're looking for the overflow:hidden CSS rule.
http://www.google.com/search?q=css+overflow%3Ahidden

--
Isaac Z. Schlueter
(One of "they"--I built the version of that component that you see on
http://food.yahoo.com and http://games.yahoo.com/.)
yup, overflow: hidden is the secret css sauce that makes javascript clip
scrolling possible. Took me way too long to discover that.
--
http://www.hunlock.com -- Musings in Javascript, CSS.
$FA
Feb 8 '07 #3
yup, overflow: hidden is the secret css sauce that makes javascript clip scrolling possible.

It's not all that secret.
http://developer.yahoo.com/yui/animation/#scroll
http://www.w3.org/TR/REC-CSS2/visufx.html

The Yahoo User Interface library is BSD-style open source.
http://developer.yahoo.com/yui/license.html
If it was secret sauce, I wouldn't be talking it on usenet ;)

--
Isaac Z. Schlueter
http://isaacschlueter.com
Feb 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Prometheus Research | last post by:
http://newyork.craigslist.org/eng/34043771.html We need a JavaScript component which will auto-submit a form after a set period has elapsed. The component must display a counter that dynamically...
1
by: IkBenHet | last post by:
Hello, I found this script to create a simple rich text form (http://programmabilities.com/xml/index.php?id=17): <html> <head> <title>Rich Text Editor</title> </head> <body>
2
by: Mohammad Parwez | last post by:
Hi, Can any one help me creating a control, which slides on any particular event. The scenario is something like this: - I have a form, which loads a user control. On load of the form this...
1
by: Guadala Harry | last post by:
AFAIK, when placing an object into the Cache with no special instructions (no dependencies, sliding expirations, hard expirations, etc), it will just sit there in the Cache until the system decides...
2
by: Lonewolf | last post by:
Hi, does anyone know of a way to do sliding window similar to WMP 9's slider bar which can slide up when the mouse gets to the bottom of the screen in fullscreen mode during playback. Basically...
12
by: rhino | last post by:
I'm having some problems with Sliding Doors, as described in an article in A List Apart (http://www.alistapart.com/articles/slidingdoors/) and as detailed in the CSS Tab Designer v2.0 program. ...
4
by: Chuckhriczko | last post by:
I need to possibly twist an image on the z axis in Javascript. Here is the deal. We have sliding effects and so forth for our company's website but there is too much sliding. We want something more...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.