•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,123 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,335 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2080 | Replies: 3
![]() |
| |
•
•
Join Date: Mar 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I have searched many sites looking for this solution and have been unsuccessful. In dynamic drive, there is a new collapsible content box (Switch Content Script II) that almost does what I need. To wit:
Switch Content Script II adds contact/expand functionality to any content using icons such as an image as the toggling interface. Apply it to content on your page you wish to give the viewer the option to hide. Cookies are used to remember and recall each content's last state.
Instead of displaying coded content, I would like to display 4 contnet boxes, each displaying content from a server side file using php. I get this to work fine as coded in DD. Since I am displaying the contents of 4 files, I would like to limit the display in each box to the first five lines in the file, with [more] appended to the last line. When the [more] is selected, the remaining lines would appear in the content box, extending its size and overlaying the other boxes. Any help on this would be appreciated. Thanks in advance.
Switch Content Script II adds contact/expand functionality to any content using icons such as an image as the toggling interface. Apply it to content on your page you wish to give the viewer the option to hide. Cookies are used to remember and recall each content's last state.
Instead of displaying coded content, I would like to display 4 contnet boxes, each displaying content from a server side file using php. I get this to work fine as coded in DD. Since I am displaying the contents of 4 files, I would like to limit the display in each box to the first five lines in the file, with [more] appended to the last line. When the [more] is selected, the remaining lines would appear in the content box, extending its size and overlaying the other boxes. Any help on this would be appreciated. Thanks in advance.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- HTML display but xml content (HTML and CSS)
- Forbidden | You don't have permission to access /~username on this server. (Linux Servers and Apache)
- Photoshop: create an interface style content box (Web Design Tutorials)
- Drop down box won't shut off video on reverse in IE (JavaScript / DHTML / AJAX)
- JavaScript/DHTML newbie -- general questions (JavaScript / DHTML / AJAX)
- combo box (PHP)
Other Threads in the HTML and CSS Forum
- Previous Thread: Firefox2.0 and margin-top
- Next Thread: We look for coding partners



Hybrid Mode