Sitemap

Amicuk Programming Answers

Collapsible panels to show/hide tr .. /tr ?

2015-10-11   Views:0

Advertisement

Is it possible to have 2 table rows per data record where one cell in the first tr is the tab and the 2nd tr is the content? like this +-----+-------+-------+-----+ | tab | xxxx | yyyy | zzz | +-----+-------+-------+-----+ |lorem ipsum ceterum | |cen

Is it possible to have 2 table rows per data record where one
cell in the first tr is the tab and the 2nd tr is the content?
like this
+-----+-------+-------+-----+
| tab | xxxx | yyyy | zzz |
+-----+-------+-------+-----+
|lorem ipsum ceterum |
|censeo Carthaginem |
+------------------------------+
| ...next data record ... |
This structrure is used for each dataset row. I want the
first cell ("tab") to be the clickable tab and the colspanning data
to be the content to hide/show.
Opera 9.5 and FF3 show very strange screen actions ....
Doesn't need to be a table, but <divs> seem to be too
complicated ...
Thanks in advance.
Martin

The replay answer
Advertisement
Thanks for your help, nearly worked but only returned results where the if statement was met ie where locked =0, so I used an additional statement to display something else when when locked=1
<?php
if($row_spec_rx['locked'] == 1) {
echo "button html goes here";
?>
<?php
if($row_spec_rx['locked'] == 0) {
echo "something else";
?>
I am sure there must be a more elegant way of doing this!

Go to See the other 5 answers

Collapsible panels to show/hide tr .. /tr ?

Category:DefaultRelease time:2015-10-11Views:130

Is it possible to have 2 table rows per data record where one cell in the first tr is the tab and the 2nd tr is the content? like this +-----+-------+-------+-----+ | tab | xxxx | yyyy | zzz | +-----+-------+-------+-----+ |lorem ipsum ceterum | |cen[More]

Can`t hide link in Collapsible Panel

Category:DefaultRelease time:-0001-11-30Views:130

Hi all. Have one problem. Сan`t realize in Collapsible Panel show/hide function with Close & Hide links. http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS6A1887F2-D97C-48a9-A26C-C311CE4B1F83. html Get sample from here-> http://labs.adobe.com/te[More]

Spry collapsible panel with spry data

Category:DefaultRelease time:2015-10-11Views:130

I have created a spry collapsible panel and wanted to put srpy data in it, to dynamically load. i also want to hide the entire panel if no data is available. It will show the data, but the click to open/close does not work. here is the code.I have ma[More]

Spry collapsible panel stays open in Internet Explorer.

Category:DefaultRelease time:2015-10-11Views:130

I'm trying to use the spry collapsible panel to hide and show inormation, and it will not stay closed.  I've used the default closed option in the properties panel, and made sure the eye in design view is closed.  Please give some suggestions for cor[More]

Spry Collapsible Panel question

Category:DefaultRelease time:2015-10-11Views:130

I have a file online that uses a Spry collapsible panel.  It can be viewed here.  It works beautifully.  For one exception.  The logo is supposed to be up some 10 pixels or so.  The CollapsiblePanelTab is occupying the space. So I took the CSS for th[More]

How do I place external content in a Collapsible Panel

Category:DefaultRelease time:2015-10-11Views:130

I figured out how to add a tooltip to a collapsible panel today, but I am having trouble getting content to load in the content portion of the panel from another HTML file. I have created a loader.gif animation that I would also like to appear in the[More]

Expand or collapse all collapsible panels at once.

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a page with a number of collapsible panels on it generated from SpryData. I know the collapsible panel names because their IDs are generated from the Spry data with <div class="CollapsiblePanel" id="cp{ds_RowNumber}" spry[More]

Jqzoom widget inside spry collapsible panel

Category:DefaultRelease time:2015-10-11Views:130

I am attempting to place the jqzoom widget inside a spry collapsible panel. The wodget works fine in the html page created for it but will not work in the collapsible oanel page. I believe all documents are in the appropriate folder. Here is the code[More]

Spry Collapsible panel - open and closed default question...

Category:DefaultRelease time:2015-10-11Views:130

I am using a Spry Collapsible panel in a vertical nav menu (DW CS4) and it's in a template for my site. I want it to be closed as default on the Home page, but when a visitor clicks to open it and selects their option, I would like it to remain open[More]

Collapsible Panels - Links to open one, and close others

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am new to Dreamweaver and have been creating my site by learning as I go along. I have already read through all the other related topics associated with Collapsible Panels on this blog and have still not found an answer. I have been able to ope[More]

How do I make a Spry collapsible panel close by clicking a link in its content?

Category:DefaultRelease time:2015-10-11Views:130

People don't understand that they have to close a collapsible panel by clicking on the tab. I want to put the word "close" at the end of the content and have the panel slide closed. Example: http://www.canyonranch.com/miamibeach/our_services/Peo[More]

Hot
Hi there, Can anybody tell me if there could have something like a conditional query? Ok here is the deal.. I have couple of tables where i have the relations between objects, subobjects and sub-subobjects and the status of the sub-subobjects. One ob [More]
Hi, I have created a hashing function with MD5 algorithm in the oracle DB and it's returntype is varchar2. When I try to call this function in BODI, I get the error <OCIStmtFetch>: <ORA-29275: partial multibyte character. I pass a field as an inp [More]
First off, I don't know much about macs so I need some help in backing up our computer. We have a MacBook Pro 10.6.2. It is a little over 3 years old so we don't have Snow Leopard. My husband has been using Backup to back up our info to an external H [More]
Iam getting an error while posting GR.the screen shows the document# but after coming out of the screen it shows Update was terminated "  Express document "Update was terminated" received from author "Kiran Reddy"  " System I [More]
Hello, I administer over 140 mac computers, all with firefox installed. Unfortunately it seems like a daily occurance when a user calls and says that firefox is bugging them to update, which they cant because they are not admin accounts. Now I use ap [More]
I use Tomcat 5.5.4, Jarkata JSTL 1.1.2, here is what I do: (1) copy JSTL jar (standard.jar, jstl.jar) to tomcat common/lib directory (2) create a jsp page like: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> < [More]
Hi Everyone, I downloaded FMS installed it and tried it and it ran well but I have one problem. After I installing the FMS, my designs with Dreamweaver CS4 will not work when I try my design with IIS. Does any know how to make the IIS and FMS run on [More]
I have had the same sata drive for a few years now, and i install and reinstall all the time, so I may have just worn teh drive out.  But, i recently tried using the XFS file system, and now when i hit my enter key or the backspace key on the keyboar [More]
how do I do this? I did it once before and the servers are still churning out the host!port (see bold): http://ucweb.uc.sprintpcs.com/waimea/servlet/html/mail/ViewFolderServlet;jsessionid=DJoOjjpijtoKHPFfELfXMJnDtQI3m4NCt45pQhrcFI8gzWwncLKc!-65622026 [More]
Someone sent me an InDesign 2.0 document and I cannot open it using InDesign CS4, which is the version I have. The error message I get reads: "Cannot open [filename]. The document was edited by a pre-release version of InDesign." Is there any wa [More]