Transparent gradient in table cell
When I try to fill a table cel with a feathered gradient that has transparent areas in it, the gradient turns opaque in the table cell. I've also tried anchoring a shape with a gradient into a table cell, and again the transparent areas turn opaque.
Is there a workaround to fill a table cell with a gradient that has transparent areas in the gradient?
Corrigendum:
If one is aware that the gradient, even when applied to a cell, takes in reference the entire table, then yes, it is possible!
The shadow on the table is a little gift from Obi-wan!
Similar Messages
-
How to put gradient style table cell in a table?
Hey, I am making a custom table cell right now but my custom cell is just white cell with some buttons and labels in background color which looks not that great.
Is there a way to render the background color so that the cell has some vertical gradient effect?
For example, on top of the cell it looks white and as it gets closer to center of the cell, it gets darker.
But as it gets closer to the bottom of the cell, it gets whiter again.
A great example would be this free app called "friendsaroundme".
Another thing is that I don't want to use custom image to do it (i.e make the cell.backgroundcolor = [uicolor colorwithpatternimage:somethingsomething.png..... ) because it's not that flexible.
So is there anyway to render the gradient style programatically?Congrats on answering your question, David! I'm sure many of the developers here would like to see your solution, so I hope you'll post it when you have the time. - Ray
-
Color transparency in table cells
Hi;
Is there any way to adjust the opacity of the background
color of a table
cell ?
Thanks;
PatThanks Murray. I'll give it a try.
Pat
"Murray *ACE*" <[email protected]> wrote
in message
news:fb44ib$6r1$[email protected]..
> No - not background color. But you can make a PNG image
with adjusted
> opacity and use that image as a cell background - be
aware that unadjusted
> IE6 and earlier doesn't support PNG transparency. A
google search will
> reveal workarounds for you, though.
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Pat Jones" <[email protected]> wrote in
message
> news:fb447e$6cf$[email protected]..
>> Hi;
>>
>> Is there any way to adjust the opacity of the
background color of a table
>> cell ?
>>
>> Thanks;
>>
>> Pat
>>
>
> -
I know that table cells can be filled with a color or not have a fill (in which case they are transparent. However, is it possible to have a semi-transparent color in a table cell. I'm not referring to a tint, but a color that you can see through to objects that are underneath it.
Hi Jay,
The only way I can think of is by cheating, you could put a transparent rectangle shape into the actual cell, make sure you set the cell insets to 0 though. However if you want text in the cell as well this text will be transparent. -
Hi there
Hope everyone is doing well
I have been using the addt looper wizard and it works great.....
I usually put all the things I want to loop into one cell.... then select all the things and apply the looper.... which works fine....
But..... it is hard to align all the elements I want to loop
I have been using transparent gif images to space the loops evenly but when I space dynamic taxt on top of each other there is a large gap.....
It is a nightmare to get it looking even
Ok say I want to loop this.....
A thumbnail
Product ID
Price
It would look like this
A thumbnail
Product ID
Price
Because I cannot reduce the space between the lines......
So I would like to place all the different elements in separate table cells and loop them..... I have tried and get really strange results....
When you look at most online shops, their product pages have a thumbnail image the id, price, description, etc.... all spaced evenly.... and looks like is looped...... So.... how do I do it?
Is there any easier way to align the things I want to loop?
Any help would be greatHi there
I seem to have figured out how to loop cells....
Should have thought of it earliar but anyway
Was easy....
Just create a looped (repeat) region and insert a table into the region and edit the table to align all the looped elements easily....
Cool -
Slide show in table cell and text in layer above images
I need to create a slide show within
a table cell (one cell of several). The
display should commence after the launch page has been completely loaded and only appear once. Also, there needs to be text in a layer above the slide images which changes coordinated with each slide but is generated independent of each slide and therefore may be positioned within the cell independently.
Anyone?Hi again Nancy,
You've provided very helpful information in the past. The code for the "show" in the upper right position would be perfect if the text-bar background could be made transparent and positioned higher against the image. Your suggestion has forced me to clarify my concept in my own mind. The need for transparency hadn't occurred to me yet.
An alternative would be the upper left "show" in a bottom layer with text with a transparent background in a top layer. The text in the top layer would remain constant from the time of the page's loading; i.e., would be independent of changes in the bottom layer. Perhaps I could figure out the code necessary to coordinate that text's change of shade from one slide to the next appropriate to the slide's shade.
I'm assuming that a table cell can be partitioned into layers using HTML and each layer programmed independently using JavaScript.
Thanks again for your prompt attention. -
How to link a table cell?
Hi,
What would be the best way to link this table cell? I want the entire cell to be linked rather than just the text inside it.
<table width="160" border="0" align="right" cellpadding="5" cellspacing="0" class="backgroundbox-video">
<tr>
<td width="167" align="left" valign="top"><p class="navheader-lg">Video Clip</p>
<p class="navheader-sm">Watch a short<br />
testimonial video</p></td>
</tr>
Thanks so much
LauraHere is what I have in the style sheet...
.vidA a {
text-decoration: none;
display:block;
background-image: url(../images/videoclip-imageandcolor-tr.gif) no-repeat scroll right bottom;
background-color:#B1D6D5;
padding:10px;
.vidA a:link, .vidA a:visited, .vidA a:hover{
color:black;
.vidA a:hover{
background-color:#4AA3C9;
.vidA p {
margin:5px;
.audioA a {
text-decoration: none;
display:block;
background-image: url(../images/audioclip-imageandcolor-tr.gif) no-repeat scroll right bottom;
background-color:#B1D6D5;
padding:10px;
.audioA a:link, .vidA a:visited, .vidA a:hover{
color:black;
.audioA a:hover{
background-color:#4AA3C9;
.audioA p {
margin:5px;
and here is what I have for those tables...
<td align="right" valign="top" bgcolor="#FFFFFF"><table width="160" border="0" align="right" cellpadding="5" cellspacing="0" class="backgroundbox-video">
<tr>
<td class="vidA" width="167" height="100" align="left" valign="middle"><a href="http://www.12results.com/video1.html" onclick="MM_openBrWindow('http://www.12results.com/video1.html','','width=400,height=400');return false">
<span class="navheader-lg">Video Clip</span><br />
<span class="navheader-sm"><br />
Watch a short<br />
testimonial video</span></a></td>
</tr>
</table></td>
</tr>
<tr>
<td align="right" valign="top" bgcolor="#FFFFFF"><table width="160" border="0" align="right" cellpadding="5" cellspacing="0" class="backgroundbox-audio">
<tr>
<td class="audioA" width="167" height="100" align="left" valign="middle"><a href="http://www.12results.com/video1.html" onclick="MM_openBrWindow('http://www.12results.com/video1.html','','width=400,height=400');return false"> <span class="navheader-lg">Audio Clip</span><br />
<span class="navheader-sm"><br />
Listen to a 40 min<br />
interview about SAW</span></a></td>
</tr>
</table></td>
---I completely removed the styles for those tables (was background-video, background-audio) because all it had was the background styling (which you said to remove) and can't see any other reason to have it there?
So it's perfect except for the background images are not showing...so did I do something wrong in the fireworks/make transparent process do you think?
Thanks...
Laura -
Table cell collapse...
My last question for now...
How can I get this cell to collapse so only my CSS assigned
to this particular cell is dominant. Right now, my CSS inserted
graphic shows, but the cell left a block of white space above the
graphic...as if the table cell didn't know to collapse (or crop
down) to the CSS image. Here is the bit of code & I am unsure
as how to edit it accordingly. -- I just need for the cell to
collapse in favor of the assigned CSS image graphic.
<tr>
<td width="0" height="0"
class="dotbar01"> </td>
</tr>
Thanks a lot!r_tist wrote:
> Here is the status now...
> I deleted " " from my code & that made the
cell extra space collapse. When
> the cursor is in this cell, my properties shows my
designated name of CSS,
> however, the CSS visual does NOT appear (even though
it's name does). -- make
> sense?
>
> .dotbar01 {
> background-image: url(dotbar01.jpg);
> background-repeat: repeat-x;
>
> That's my CSS for .dotbar01. It seems to only show up on
screen if I include
> the " " in my code, which causes the problem of
including a chunk of white
> space, the cell not collapsing to the graphic height.
>
> Any ideas? --Thanks!
>
Thats because the   stops the cell from completely
collapsing. Try
putting some height in cell.
.dotbar01 {
background-image: url(dotbar01.jpg);
background-repeat: repeat-x;
font-size: 7px;
or
.dotbar01 {
background-image: url(dotbar01.jpg);
background-repeat: repeat-x;
height: 7px;
or put a transparent gif into the cell set at the height you
want it to be. -
Separate or move character in table cell
I have table with "$" value. I want to separate the $ in cel befor it. is there a script that can move this "$" in the previous cell.
Hi Kent,
For the Table cell editor only basic UI controls can be added. It doesn't supprt container controls like scroll container or transparent container. So adding the scroll container n then inserting a text view element into it is not possible in case of table cells.
One of the solution can be....just add a text view control as the cell editor n sets the following properties :
For text view: Set 'Wrapping' to true.
For table column: Set 'Resizable' to true.
Hope it serves your purpose. -
I have 3 table cells that need a jpeg graphic placed into them.
I can paste a grahic into a table cell, but when i try to preview that page on the iPad, ibook shuts down. I must be placing the graphic wrong or formats are wrong, like object wrap or "inline" "floating" or "anchored". the graphic shows up in the fill once I copy and paste into the cell, but it doesnt show up when I look at the file info in the inspector. Also, once I preview the iBook author project on my iPad, that page will shut down the iBook app.Well KT.....I tried that. But it still didnt work. I have 2 pages that have tables. The first page is just a full page with text only with a gradient colored screen in the table column heads. The 2nd page has the graphic illustration in the 3 table cells. Both pages shut down when opened to full screen view. But when i remove the graphic, there is no problem with a shut down. I know its got to be something you have to do but is unwritten in any manual.
-
Make Table Cells Transparents in InDesign CC 2014?? HELP!
Hi!
I used to be able to make the fill on my table cells different transparencies in indesign. I could make it so the background would lightly show through, and the text would still be legible. I also was able to make the table border be transparent so the background would totally shine through. I can't do this anymore with the new 2014 release.
Does anyone know how to fix this??? Thanks!!!I think it works like this here:
-
Can i do an invisible link in a table cell
Hi people, can anyone help.
i need to create an invisible link in a table .
i was originally using a photoshop image as my web page and
placing links on it using an image map. Giving me links hovering
over glowwing text in the original photo to take me to other pages.
Now i have changed my ways and placed the image in a layout
table and used style sheets and cells to position, add video and
links in cells in the table, with the old image now being
background for the table.
i still want to use the photoshop background images' glowing
text to link to aswell as my other video and text links but cannot
trigger the image map as the glowing text is not a foreground image
therefore has nothing to link to.
Adding a table cell around the section i want to link , i
need to place an invisible image in the cell giving something to
link to, which would give the appearence of linking to the the
background glow text, i cant fill a box with same colour text to
look invisible because the background image is too complex. And i
can't mimick my cool glow text in dreamweaver, so
what can i do.? Link to anchors on other pages ? Invisible
link in cell ?
Really appreciate your help !
ThanksYou can add a transparent gif - create a 1x1px clear.gif, and
then size
it any size you want in your table cell. Add a link to that
gif.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
var aData = [
{notificationNo: "10000000", description: "Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
{notificationNo: "10000010", description: "Genreal Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
{notificationNo: "10000011", description: "boiler Maintenance", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
{notificationNo: "10000012", description: "Pump breakdown", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
{notificationNo: "10000013", description: "External service boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
jQuery.sap.require("sap.ui.model.json.JSONModel");
var oEnterpriseAsset_NotificationConsole;
sap.ui.model.json.JSONModel.extend("EAM_Notification_Console", {
CreateNotificationConsole:function(){
oEnterpriseAsset_NotificationConsole = this;
var oTable = new sap.ui.table.Table({
//title: "Table Example",
visibleRowCount: 7,
firstVisibleRow: 3,
selectionMode: sap.ui.table.SelectionMode.Single,
/* toolbar: new sap.ui.commons.Toolbar({items: [
new sap.ui.commons.Button({text: "Button in the Toolbar", press: function() { alert("Button pressed!"); }})
extension: [
new sap.ui.commons.Button({text: "Button in the Extension Area", press: function() { alert("Button pressed!"); }})
}).addStyleClass("tableform");;
oTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "Notification"}),
template: new sap.ui.commons.Link().bindProperty("text", "notificationNo").bindProperty("href", "href",
function(aValue)
// sortProperty: "notificationNo",
//filterProperty: "notificationNo",
width: "200px"
oTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "Description"}),
template: new sap.ui.commons.Link().bindProperty("text", "description").bindProperty("href", "href"),
//sortProperty: "notificationNo",
//filterProperty: "notificationNo",
//width: "200px"
var oModel = new sap.ui.model.json.JSONModel();
oModel.setData({modelData: aData});
oTable.setModel(oModel);
oTable.bindRows("/modelData");
var idForTable= "DimTable"
//alert("id of tbale " + idForTable);
var htmlOutput = '<table id=' + idForTable + ' name="DimTab" style="border: 1px solid black;margin-left:15px;" cellpadding=6 cellspacing=0><tr style="background-color:#E5E5E5"><td><b>Dimension</b></td><td><b>Value</b></td></tr>';
for(var i=0;i<aData.length;i++)
alert(aData[i].notificationNo);
htmlOutput += '<tr style="display:none;"><td style="border-right:1px solid #e5e5e5;">Contract No</td><td>'+ aData[i].notificationNo+'</td></tr>';
htmlOutput += '<tr style="display:none;"><td style="border-right:1px solid #e5e5e5;">Unit No</td><td>'+ aData[i].description+'</td></tr>';
htmlOutput += '</table>';
var html2 = new sap.ui.core.HTML({
// static content
//content : "<div style='position:relative;background-color:white;'>Weather</div><script src='//www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/builtin_weather.xml&synd=open&w=320&h=200&title=__MSG_weather_title__&lang=en&country=ALL&border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages%2F&output=js'></script>",
content : htmlOutput,
//2 wrkng sydney content : '<div id="cont_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><div id="spa_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><a id="a_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/australia/sydney_v37463/" target="_blank" style="color:#333;text-decoration:none;">Weather forecast</a> © weather</div><script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"></script></div>',
//content : '<div style="margin-left:-10px;margin-top:10px;width:100%;"><LINK rel="StyleSheet" href="http://weatherandtime.net/new_wid/w_5/style.css" type="text/css" media="screen"><div class="ww_5" id="ww_5_2119"><div class="l_b"></div><div class="c_b"><div class="day" id="d_0"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_1"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_2"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="cl"></div><div class="links"><a target="_blank" title="Pune Weather forecast" href="http://weatherandtime.net/en/Asia/India/Pune-weather.html">Pune Weather forecast</a><br><a style="font-size:12px !important;color:#12A0D7 !important;text-decoration:none !important;" href="http://weatherandtime.net/en/widgets-gallery.html" title="weather"></a></div></div><div class="r_b"></div></div><script type="text/javascript" src="http://weatherandtime.net/w_5.js?city=2119&lang=en&type=2&day=3"></script></div>',
// initially behaves the same as Sample 1
preferDOM : false,
// use the afterRendering event for 2 purposes
return oTable;
/* In the screen shot as u can see.. I have to highlight the table cell in green color and red color for ordered and unordered status(which is binded to a json data) respectively....anyone please help??Hi Abhi,
Check this link it may helpHow I made highlight of specific values in Table -
Highlighting text in a table cell
Im trying to get text in a table have it background shaded a different colour to the rest of the table cell but it doesnt work. No exceptions are thrown does anyone have any idea.
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
setFont(table.getFont());
this.setText(value));
this.selectAll();
this.setSelectionColor(new Color(0,0,255,100);
return this;
}The answer is similar to what someone else asked recently for highlighting text in a JFormattedTextField cell.
class MyFocusListener extends FocusAdapter
public void focusGained(FocusEvent e)
SwingUtilities.invokeLater(new Runnable()
public void run()
selectAll();
Put that in your cell editor or its base class. You can change the color or whatever you want. I think the problem is a timing thing where normal focus processing is interrupting your changes. So give the focus processing time to run with this Runnable triggering your processing to occur on the Awt thread (as is proper) after the system is doing whatever it wants to do. Let us know if it works for you. -
How can I make a table cell extend beyond a page? The text disappears when the cell becomes bigger than the page. I want the table to continue to the next page.
As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.
Maybe you are looking for
-
AP tables - Payments vs Checks
Hi All, We need to report transaction totals as per date range: - Total No of Invoices Paid - Total Amt Paid ($) - Total No of Invoices processed Had a basic question... which table to use.. AP_INVOICE_PAYMENTS_ALL or AP_CHECKS_ALL... because the tot
-
BADI - WORKORDER_GOODSMVT - check for BATCH management
Hi there, I have implemented WORKORDER_GOODSMVT BADI (Backflush method) to fill the batch number with a default value for a given plant. This is working fine. However, I only want to fill this if the Material in the Production Order is "batch managed
-
Can't open a class with enrollments more than 140 learners
Hi Gurus, Could anyone please help me find the correct patch for this error? Class can't open and comes up with error when enrollments reach more than 140 learners. I examined the code being called and it shows that a function called ota_utility.get_
-
New Speedtest UI coming Soon.!
Follow the Link to View (( http://goo.gl/TGFWxD A updated UI change to Speedtest is coming out Very Soon.! for Android.. Look for the new update in the Google PlayStore
-
IMovie shared "using quicktime"
Can anyone please tell me: 1) if Macbook can make an iMovie project autoplay when put on a CD? Movies are exported "using Quicktime". 2) A 2 minute movie usually end up being some 50MB in size. Can I reduce file size (for websites) without compromisi