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]

Hi All, I have a problem changing the attachment name in my scenario. I use Mail scenario to send a pdf Attachment from R/3 to email address. Everything working fine except the attachment name that becoming untitled.pdf and untitled.txt. Communicatio [More]
Hi All, I was wondering if anyone has had a problem with installing this update, Specifically I am getting an error message where the installer can not install some files to "/". I have repaired permissions before and I get and ACL error in a nu [More]
I usually use Gaussian blur to fix a moire effect on clothing, but that's not doing the trick this time. Footage is a 30-minute one-person interview, filmed waist-up (seated).  The woman's face looks fine, but she's wearing a jacket with brown & blac [More]
Hi Friends,    Can you pls any one tell me how to find out PSA Table and how to check PSA Table Structure? .Thanks in advance. Regards, CSHi Sri, Goto RSA1 trans> select your DS> right clcik> Manage> you will get a Pop-up with all the PSA requ [More]
I wonder if anybody can help with a weird problem. I made a two-slide presentation I'm keynote that included a music track from iTunes. I exported to QuickTime and it worked perfectly. I uploaded the movie (.mov file) to Dropbox and the audio dropped [More]
Hi Kings, Thanks in first. im having view selector v1,column selector c1 user requiremet is to show the view selector and column selector in single row like, V1 pivot1 c1 usd rownumber Company currency 1 abc USD 2 def INR is there ay posibilities to [More]
Heeelllllppppppp.! COME ON APPLE.!!Try replacing the iPod in recovery mode and they restore again via iTunes on your computer. For recovery mode see: iPhone and iPod touch: Unable to update or restoreRead other 2 answers [More]
I need to do a system reinstall to the computer through which I access iTunes and with which I synch my iPod. Does this mean I will lose all the music I've downloaded? How do I do this to avoid losing music and having to start from scratch?Make a bac [More]
Hello everybody, Last night the Lenovo update application in my computer recommended me to do some updates, which I did, including upgrading the BIOS.  After flashing the BIOS, Windows 7 didnt load anymore.  the loading screen got stucked there for h [More]
Heyiahh, I don't get the underlying drawing area scaled down to the object and saved. I can adjust, but when saving and re-opening the file it's not working..Attached you'll find the original .png, when saving as .svg it looks like you just put that [More]