Accordion control CSS styles only support Websafe colours?
I'm experimenting with styling controls using CSS by messing about with the style for my Accordion control. Here's my current CSS
Accordion
themeColor: #0066ff;
textRollOverColor: #0066ff;
dropShadowEnabled: true;
dropShadowColor: #888888;
openDuration: 800;
headerStyleName: "myaccordionHeader";
.myaccordionHeader
fontFamily: Arial;
fontSize: 12;
fontWeight: bold;
fillColors: #ffffff, #cccccc, #ffffff, #ff55ff;
/* fillAlphas: 0.69, 0.4, 0.75, 0.65; */
selectedFillColors: #99cc33, #99cc33;
If I change the selectedFillColors to #f5f5f5, #f5f5f5 or some other non-web-safe colour, the Accordion selected fill colours revert to the Flex default. Same seems to apply to other colours too.
I have a project coming up that has specific colours; is there a way for me to use 'any' colour in the CSS style? Am I just going crazy? :-)
Steve
I have read the white paper that you have referred to in your response and have included the following in the Header section of my Reports Region -- I am using a custom CSS to format the Table Headers <th> and the table data <td>:
<head>
<title>Air Road Dispatch Board</title>
#HEAD#
<link rel="stylesheet"
href="#WORKSPACE_IMAGES#test.css"
type="text/css" />
</head>
The table data is working based on the CSS but the table headings are still not working correctly and the substitution string #HEAD# is sending the #HEAD# as output on my report at the top. I understood that by placing the reference to the .CSS after the #HEAD# that it would bypass the classes from the core.css file. But obviously this is not working. I also tried the same code above in the page html header to see if it worked but received the same results.
Any ideas?
Regards,
Jeffrey
Similar Messages
-
Apply certain css styles only when JS is enabled?
I'm wondering if there's a relatively simple way to apply certain CSS styles only when JavaScript is enabled in the browser (and thus, not applied when JS is disabled)... I've created a jQuery-based image gallery, and I'd like to modify how it degrades by selectively disabling certain CSS styles...
thanks for any direction here.Hi
As your jQuery image gallery would not work correctly if javascript was disabled,. The better approach would be to enable the required css styles using jQuery, (the title says this, but your post says the opposite).
To do this see the jQuery documentation regarding css, at -http://api.jquery.com/css/.
PZ -
I'm still plagued by these warnings in my Flex project:-
The style 'dropShadowVisible' is only supported by type 'mx.controls.List' with the themes(s) 'spark'
Clicking on the warnings doesn't take me to the code.
The project started as SDK3.5. I've made it into an SDK4.0 project. It uses old Halo components throughout. I've chosen a Halo theme.
I can get rid of these warnings if I "Use Flex 3 compatibility mode". BUT, If I use that mode, I get also Run Time Errors - so I decided against this compatibility, and just edited the styling, deprecated syntax, and a few issues to make the app work.
I tried the solution someone suggested editing the flex-config.xml file, but it didn't work for me.
The application begins...
<mx:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark"
(I've obviously tried clean).Yes, very irritating. "Only a warning" isn't the whole story, it's more than just an annoyance, it can potentially make all warnings useless.
Imagine cases where you have multiple warnings (often FB warnings turn up for EACH component resulting in many repeats, design mode is particularly bad with this). Having a ton of warnings that "aren't really warnings" obscures REAL warnings that we'd want to do something about (and makes errors harder to notice at first--you're so used to always seeing lines under the problems tab that you don't always notice a new error that just popped up). In the worst case scenario a valid warning that would have prevented a bug is missed and something goes to QA or production that should have been caught at compile time...
This wouldn't be nearly as annoying if we had some decent way of filtering these warnings from the problems tab. The current filter isn't good enough and only seems to allow you to filter out one message due to the way it works, but sometimes we see more than one type of "bogus" warning.
Voted and added to comments. I wonder if there's a feature request out there to improve warning filter capabilities? I also wonder why nobody complained about this before, it seems pretty easily visible. Is it the norm for people to just always ignore warnings? This isn't a good practice, warnings tend to exist for a reason.
(Btw, this is part of my reasoning for the claim that Halo seems to have become a "second class citizen" component set - hopefully Adobe can do something about this.) -
Can the number format be controlled with custom css styles
I have a union query where the first query returns a count that I formated as a number '999,999' and the second query returns percentages that I want formatted as '99.9%' I can use conditional formatting to determine which part of the query the result came from but conditional formatting doesn't allow me to control the number format so I was wondering if custom css styles would allow me to control the format. Is converting the number to a character and concatenating a % sign ia better option. I was able to do this using BI Publisher and a different apporach but I want to be able to do it with Answers.
Make sure the address bar in Contribute is displaying your URL and
not a file path.
Your administrator can remedy this by going to the role settings and making sure the Home address is set to the URL. If you can't get the admin to update the role settings, you can enter your URL into the address bar and then the site should be able to find linked style sheets. -
Insert a div box background for one document only while using external CSS style sheet.
I am trying to set a background image in one of my div boxes, but because I am using an external style sheet it changes it in all my documents. How can I do it with just this one page? Preferably in design mode.
What i did to slove this problem was:
Open my external CSS style sheet
Copy the contents of it
Remove the CSS link in the one page i wanted to be different.
Pasted the contents in the <head> under the rest of the CSS rules for that page.
Then I could set the background for that box w/o altering the other pages..
I tried the other suggestions, but could not get them to work. Not saying they are wrong, but maybe i was implementing them wrong. -
Using Column Value in CSS Style for Column in Report
I am trying to apply a CSS style (background color) to a column in a report based on another column.
So for the Column attributes for a specific column, I would like to be able to add this to the 'CSS Style' Field under the group, "Column Formatting":
background-color:#BKG_COLOR#;
It doesn't seem to be taking my column value, which is #daf2ea
In the CSS Style Field, if I change it to: background-color:#daf2ea - then it works.
So it doesn't seem to take my column value of #BKG_COLOR" in the CSS Style field.
Any ideas? Do I need to use the 'HTML Expression' field instead, and how would I do that?
Thanks,
JohnHi,
that's correct, custom report templates will do.
I find them sometimes quite limited, though. And I always ask myself "how would I do it without APEX", because there's often a lean jQuery solution that affords less coding.
If you employ a so called "marker class" that depends on your colour value, you could begin like in the previous answer and enter the follwing into HTML Expression:
<span class="#BKG_CLASS#">#THE_COLUMN_I_WANT_TO_SHOW#</span>
That means you would not query a plain color, but some name that can act as a CSS marker, like
select THE_COLUMN_I_WANT_TO_SHOW
, case when THE_COLUMN_I_WANT_TO_SHOW > 100 then 'hotColor' else 'coldColor' end as BKG_CLASS
from my_tableIn the page's Function and Global Variable Declaration, you'd enter
function colorMyReport () {
apex.jQuery('.hotColor').closest('td').css('background-color','#FAA');
}And under Execute when Page Loads, you enter:
colorMyReport();There's only one challenge, of course, when the report is paged via AJAX, because the script would only run once (on the first page shown).
But if this is a solution for you, I'd be pleased to show you how to overcome this. Just let me know.
Hope there is no typo in my typing, because I have to catch my train now :-)
Bye! -
Hello:
I just upgrade from Flash Builder Burrito to 4.5. After importing my Burrito project into 4.5, I got like 30 errors saying the following:
The style 'backgroundColor' is only supported by type 'mx.containers.Box' with the theme(s) 'halo, spark'.
I have been using backgroundColor through the project to set colors ... Is there a new property name? Do I have to start using CSS?
The only option I had for theme was "Mobile Theme".
I would like to be able to use backgroundColor with out rewritting all that code. Is there a way?
Thanks
PaulI used to have the prerelease "burrito" which I coded all the background colors using the "backgroundColor" property. I just bought the release version from the store and after I unstalled it I started getting the compiler errors releated to "backgroundColor".
Where do I locate the "use flex 3 compatability" box? -
CSS Style drop down menu (contribute 3.11)
Hi,
I am having a problem viewing any styles in the styles drop
down menu at the top of my page when editing.
I am the administrator of the site and I set up the options
like this:
Administrator settings > Styles and fonts >
Document level CSS (pull down)
First 3 checkboxes checked, and show only CSS styles included
in this CSS file (browsed and selected a css file with a single
style).
Checked the remainding 3 checkboxes
No matter what I do I have not been successful in ever seeing
a style of my own within this list.
I have tried...
1) Not using a secure site
2) Allowing a different user on a different PC to attempt to
create a new page
3) Locating the stylesheet in many different locations
4) Hardcoding the styles into the template
5) Show all styles (which wouldn't work anyway since the
pages are PHP based)
6) Banging head violently against wall.
I should mention that I am using a PHP based template which
works fine apart from this styles drop down menu.
Please please please help (asap)!
Thanks,
Dan.dotcom012 wrote:
> I have a web site that uses a javascript and a style
script to
> control some drop down menus at the top, each page has
to have this
> in the <head> area. Is there a way to make say a
CSS so that i can
> say update that one page if say a link needs to be
changed or added
> so i don't have to go to each of the 120 pages to change
the menu! So
> far right now, i have to go to each page, go into the
javascript code
> and update the link or whatever. Is there an easier way?
You may want to read this article, it shows how to use
external files (CSS,
SS-Includes, JS, etc):
http://www.tjkdesign.com/articles/maintenance.asp
HTH,
Thierry
Articles and Tutorials:
http://www.TJKDesign.com/go/?0
The perfect FAQ page:
http://www.TJKDesign.com/go/?9
CSS-P Templates:
http://www.TJKDesign.com/go/?1
CSS Tab Menu:
http://www.TJKDesign.com/go/?3 -
NullReferenceException when using Razor "@" inside of CSS styles
Issue:
Receiving "Object Reference Not set to an instance of an object" when I hit ctrl-v in CSS styles
Steps to Reproduce:
Open Visual Studio Ultimate 2013
Create new ASP.NET Web Application (Create directory for solution)
Choose MVC (Auth is Individual User Accounts)
Open Shared/_Layout.cshtml (I can reproduce the error by following the below steps in any .cshtml file)
DO NOT SAVE FILE CHANGES AT ANY POINT (though I've noticed this makes no difference)
Add <style> </style> just before </head>
Add #foo {color: red;} inside of <style>
CSS syntax highlighting still works at this point
Add razor syntax @ symbol to color: red;
#foo {@color: red}
CSS syntax highlighting is lost
Add #bar {color: green;}
Highlight #bar {color: green;}
Hit ctrl-c to copy
hit ctrl-v to paste clipboard anywhere BUT inside of <style></style>
Pasting outside of <style> should still work.
Now hit ctrl-v and paste clipboard inside of <style></style>
shoudl receive Error message: Object reference not set to an instance of an object
Undo (ctrl-Z) should no longer work at this point
NOTES:
Copying from outside of visual studio and pasting inside the <style> tag in _Layout.cshtml should nto produce an error
Last thing, it does not matter if I am using the @ symbol in valid CSS (background: @url(...)) or invalid CSS (color: @red)
Trying to escape the @ symbol (background: @@url(...)) mnakes no difference.
Info:
Microsoft Visual Studio Ultimate 2013 version 12.0.21005.1 REL
.NET Framework version 4.5.51650
Windows 8.1 Enterprise v6.3.9600 Build 9600
Nuget Packages installed - only what is installed by default when creating new MVC ASP.NET Web ApplicationHi jonathanthomas,
Since this issue is related to the web development,
you could ask this question in the ASP.NET forum:
http://forums.asp.net. If then, you could get
an answer more quickly and professional. Thanks for your cooperation.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Keyboard shortcuts for CSS styles?
I'm trying to be good and move to CSS-only formatting, but
Dreamweaver makes it hard because there's no way to assign keyboard
shortcuts to user CSS styles, as far as I can tell. It's a quick
key-command or click to align=right but I have to use a squirrelly
menu to assign style=right. Any ideas? I tried Keyboard Maestro but
can't figure out a way to work with Adobe's nonstandard menus.
Using CS3 but for this I might consider using CS4. (I have a
license but reverted due to the awful user interface.)allpar wrote:
> If you're just going to be condescending, I'm calling
Support and complaining
> about you.
Feel free to call support and complain about me. It won't do
much good,
though. I'm not an Adobe employee.
> I have NO intention of wasting my time in source code. I
can do that without
> your expensive, bug-ridden software. I can do it in
BBEdit or TextWrangler.
It's not *my* expensive, bug-ridden software. I'm a user just
like you.
> I use Dreamweaver to save time. Got that?
Sure. I use Dreamweaver to save time, and I find the UI
improvements in
CS4 do exactly that - at least for my workflow.
> Now, YOU tell me how I'm wrong for wanting to apply a
CSS style with a
> keyboard command instead of fiddling between source code
and design view.
If you want a keyboard command for doing it, submit a feature
request to
the development team:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
I suppose having a keyboard command might speed things up,
depending on
your workflow. But I don't find myself needing to fiddle
between source
code and Design view, although I do have Split view open most
of the
time, and find it very efficient to go from one to the other,
particularly with the Related Files feature and Code
Navigator in
Dreamweaver CS4. The ability to split the screen vertically
and use Live
View have also made a big difference.
You don't like the new interface. I do. You either work in a
very
different way from me or haven't taken the time to discover
the new
features.
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com -
Can't figure out how to rename css style in mx
Hello,
I can't figure out how to rename css style in mx. I have the
style selected in the proprety inspector. Is there supposed to be a
rename option at the bottom of the same dropdown box? There is
option to edit style and a few others in same dropdown box... but
no rename option. Please be specific... I have looked it up on the
internet... but still cant find the option.
Thanks,
PoJDo a Find and Replace to find name1 and replace with name2.
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
==================
"computerpain" <[email protected]> wrote in
message
news:ed43p3$m9h$[email protected]..
> Hello,
> I can't figure out how to rename css style in mx. I have
the style
> selected
> in the proprety inspector. Is there supposed to be a
rename option at the
> bottom of the same dropdown box? There is option to edit
style and a few
> others in same dropdown box... but no rename option.
Please be
> specific... I
> have looked it up on the internet... but still cant find
the option.
>
> Thanks,
> PoJ
> -
Cannot view css styles in design view
Is there a way to get Dreamweaver to display style in design
view when the css files are in virtual folders?
Have tried using ASP (Vbscript) snippet to write in the
server URL and using Liveview, but still doesn't display. It
appears that DW only recognizes hard coded relative links or hard
coded full URLs.
Browser displays these documents with no errors.
Please Help! I have users who will be confused attempting to
edit the documents without visible style, and need to use the
virtual folders.
Thanks.
Sean> Is there a way to get Dreamweaver to display style in
design view when the
> css
> files are in virtual folders?
Try using Design Time Stylesheets.
Open the Design-Time Style Sheets dialog box by doing one of
the following:
1. Right-click in the CSS Styles panel, and in the context
menu select
Design-time, or
2. Select Text > CSS Styles > Design-time.
Regards
John Waller -
The original "eprint home and biz" recognized both printers on my network. After upgrade, have lost one printer and see no way to add it. HELP, please?!?
Unfortunately the Printer Control app only supports printers manufactured from 2010+ that are ePrint capable. That is why it is not working with your 2710.
And it looks like the HP ePrint app (formerly the ePrint Home& Biz app) has removed support for some of the older model printers with its most recent update.
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
CSS Level 2 Support for RGB Hex Abbreviation
when creating a style sheet during the tutorial in
Flash 8: Training from the Source, i abbreviated my hex
colors as usual when i have repeating pairs (in this particular
case #999 instead of #999999) and the publised Flash page would not
display the correct color. it displayed black text instead of gray.
after changing the #999 to the full #999999, the republished
Flash page displayed the page correctly. I understand from the book
Flash 8 does not support level 2 CSS, which includes more than my
simple abbreviation issue.
when do you (Adobe Flash Team) expect to incorporate CSS
level 2 support into the product? is it supported by Flex 2, as I
am not too familiar with that platform yet?
thank you,Hi Mike,
OHJ uses the ICE Browser, which we license from a company named ICESoft. It generally compares favorably with other Java-based browsers, although it is not as complete as a native browser such as IE or Firefox.
There is a list of what is and is not supported in CSS:
http://www.icesoft.com/developer_guides/icebrowser/htmlguide/featuresappendix3.html#86328
We recently finally resolved the licensing issues that were holding us back from releasing a version of OHJ with JavaScript support. The current versions don't support JavaScript, but our next major release will.
Depending on your needs, we also have OHW, which is a server based help system, that uses the client's native browser.
Regards,
Jeffrey Stephenson
Oracle -
I have built a css style sheet in Dreamweaver. When I try to attach it to my html website, it prompts me that my "css file appears to be an .html file and cannot attach". I've tried removing the /* */ as suggested by other forums, but this has not resolved the issue. I was using css style sheets with no problem 2 days ago. Now I get that error message. How do I fix this so I can attach my style sheet?
What does the code of the CSS file look like?
An external CSS file needs to be written in CSS only (no html tags like <html>, <body>, <head>, etc ).
It also must have a .css file extension, if yours has a .html extension it won't work.
Maybe you are looking for
-
i keep getting the same error message which prevents me from opening firefox. how can i rectify it? Message: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your s
-
Need BOR & event which triggers after vendor master change.
Hi all. Can you pls let me know the BOR & event which triggers after vendor master change. (Xk02). I used tcodes SWELS (evetn trace) , and SWEL and changed vendor adress using XK02. but I could not find any event or BOR in the trace. Pls help me
-
Port channel WLC 5508 and 3750
Hi All, I want to configure Port channel for WLC 5508 and cisco 3750 Stack Switch. What changes I need to make on WLC and where? Thanks Jagdev
-
Update Nomination status table OIJNOMST
Hi all, I need to update the nomination satus table OIJNOMST in an ABAP application. I cannot directly use the INSERT statement as some data processing which is done by the system will not be carried out. I have been informed there are some function
-
Using iPhoto for a specific PP task - will it cause any issues?
Since I've started shooting in RAW, I haven't really used iPhoto that much. My current process is to import using Bridge, open images in Adobe Camera Raw to edit and crop, and then open in PS Elements 6 to do final editing. However I don't like the c