Amicuk Programming Answers

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

2015-10-11   Views:0


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 |
| 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.

The replay answer
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
if($row_spec_rx['locked'] == 1) {
echo "button html goes here";
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. html Get sample from here->[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:[More]

Hello Expert, We need to change the package assigment of sproxy generated DDIC objects. How can we assign sproxy generated objects to a different package? Regards, ThulasiAny idea?Read other 2 answers [More]
Trying to update to Mavericks (from Mountain Lion 10.8.5) failed due to low bandwith. In the process, Safari got corrupted (shows as "not-responding"). Any way to get Safari working again (under OsX 10.8.5)?Low bandwidth? The issue is that you n [More]
Hi Experts, My client wants to implement ACH Payments for Garnishment Child Support in US Payroll instead of mailing live Checks. Can you please provide me with the Standard config settings/SAP documentation needed to achieve this functionality. I al [More]
when the iphone4s will be Available united arab emirates ?You will have to check with local retailers on this for pricing and colours as well as release date. If  i have helped at all a click on the white star below would be nice thanks. Now using th [More]
Hey everybody, I came across this web site,, and I like the way the main image loads. I appears to me as if there's a mask being applied, and in spite of trying several different approaches I've finding it difficult arr [More]
I am having some trouble when I make changes to my site in DW and then upload them to the server. Sometimes these changes are not being shown online, especially when the change is small, such as centering some text or adding a link somewhere on a tem [More]
Hi, How to schedule picking list to be generated based on the delivery date to be shipment, so that manual key-in to picking list is not necessary? Thanks.Hi, How to schedule picking list to be generated based on the delivery date to be shipment, so [More]
I've installed Safari 6 on Lion (work machine so I cannot upgrade to Mountain Lion just yet) Now Safari Web Content constantly and consistently pegs my processor at 60-98% Add in the Safari process itself using 5-10% and Safari 6 is rendering my comp [More]
How can I stream iTunes Radio in my business?You can't stream from the Apple TV to multiple speakers, however you can do that from iTunes on a computer. You will need AirPlay enabled speakers or speakers that are connected to an airplay enabled devic [More]
hi guys, just in doubt. Is there a security reason as to why there is no entries on the ORATAB on a production or any databases. I find it quite useful in cron script.Fran wrote: Modify this file is not for a security reason, just only if you want to [More]