By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,287 Members | 1,581 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,287 IT Pros & Developers. It's quick & easy.

expandable text view dhtml

P: n/a
The MS Help file pages use a nice dhtml effect which allows the user
to click on a keyword which then causes the paragraph to expand with
the definition of that word (in green). The source code for these
pages shows that a javascript file called ExpCollapse.js is being
referenced. But I haven't been able to replicate the function. Has
anyone successfully implemented this effect?
thanks, Chris
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I would actually reccomend that rather than try to copy Micro$oft's
programming (where they embed the definition in the js file) that you
actually place the definition inline with the paragraph in a <span>
with an id, then toggle it between display:none and display:inline.
This approach is both more flexible and will degrade for the user with
CSS disabled.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.