Results 1 to 2 of 2
Jan 21, 2008, 10:42 #1
- Join Date
- Oct 2006
- 0 Post(s)
- 0 Thread(s)
Searching for text in a hidden DIV
I've got a long page of text and options, and I'd like to be able to use DHTML to expand and collapse the sections when the user clicks + and - buttons. Eventually I'll need to break this monolith into separate pages, but that's not going to happen right now.
The catch is that the text needs to be findable with the browser's Ctrl-F function. Unfortunately, implementing a custom search function on this page is way out of scope for the project -- and would be very inconsistent with other pages in the application. Is there a way to make sure the user can find text, even in hidden DIVs?
UI design pattern lens
Jan 21, 2008, 12:23 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 198 Post(s)
- 3 Thread(s)
Maybe instead of hiding the div collapse it? eg. instead of toggling display, toggle dimensions.Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse