Proper syntax to modify opacity?

For years, I've been using the following 3 lines of code whenever I've needed to make a div or image semi-transparent.
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
    opacity: 0.8;
    -moz-opacity: 0.8;
I remember there was a reason why all 3 lines were necessary (one was for IE, the other FF, and I forget the third).
My question is... are all 3 lines still necessary to ensure maximum compatibility? Or has either of the lines become obsolete in today's environment?
Thanks.

hans-g. wrote:
Hi,
shall we really start again the unnecessary, unproductive discussion? I'm really amused about the FF users, which are satisfied with the standard and search the errors in DW! Poor FF users cause they need an IE AddOn!You have to use it, and all is ok!
... and dear FF people: you shouldn't bite the hand that feeds you!
Hans-G.
Whoa, overreact much?
You want to talk unnecessary and unproductive? How about starting by reading the OP before you dispense your IE-only wisdom?
The original question asked if the following 3 lines of code were still relevant today :
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
opacity: 0.8;
-moz-opacity: 0.8;
It even specifically asks :
are all 3 lines still necessary to ensure maximum compatibility?
So clearly, ensuring maximum compatibility is desired.
Then YOU reply...
you could look/use at the source code of my semi English/German
example:
http://www.goldschmiede-blumberg.de/AdobTest/LayerE.php
Which uses "filter:alpha(opacity=30)" as a method, and didn't even show up in my FF3 browser. In fact, until I looked at the source code, I was wondering why you were sending me to this page, because everything is 100% opaque in my browser.
Kindly and without malice, I suggested that you use the method I've been using, and quoted in the OP.
This method, which involves adding only a few characters more to your existing style, ensures the same effect across both IE and FF.
And you respond with this anti-FF nonsense?
Dude, it's one thing to not want to waste any additional time looking for FF-compatibly solutions, given the small number of FF users out there. I get that part. However, it's another thing entirely to go out of your way to make sure your site DOESN'T work on FF, simply because of your irrational spite towards Mozilla.
The time it took you to insult FF and everyone using it, you could have made your site FF-compatible.
I guess we all have different priorities, huh?
Achtung!

Similar Messages

  • Proper syntax of the file name to attach files in FNDATTCH.fmb

    Can you please tell me the proper syntax of the file name to attach files in FNDATTCH.fmb ?
    i am not able to open attached document if it contains & in the file name..So i wanted to know the rules to give the file name

    This has nothing to do with the TB display.  You should repost in the computer forum

  • I need to know the proper syntax for my SELECT query, please.

    Hello All,
    Quick one for you:
    Let's say that I have several columns in a table with names such as subject_1, subject_2, subject_3, etc. The table's name is subject_names.
    The number in each of the three column name examples is also a value passed along a query string, the user can select choices, 1, 2 or 3. That query string's variable is $qs.
    So, what I want is a SELECT query that uses the query string value as follows (KEEP IN MIND, I know this is not the proper syntax):
    "SELECT subject_[$qs]
    FROM subject_names";
    I have tried all sorts of cominations of quotes (single and double), dots, brackets, braces and parenthesis. I just want to know how to include such a variable within this code.
    Any and all help is sincerely appreciated!
    Cheers,
    wordman

    Well, I did give you the syntax though.
    $query = 'SELECT ' . $qs . ' FROM tbl_name';
    I put spaces between the periods this time to make it more clear.
    If you put the actual word 'subject' in there and just want your form to name it's options as the numbers available you could do this:
    $query = 'SELECT subject_' . $qs . ' FROM tbl_name';
    In PHP you can use either single or double quotes around your query string, I always just use single quotes. I see a lot of other use double quotes.
    Double quotes would look like:
    $query = "SELECT subject_' . $qs . ' FROM tbl_name";
    Or when using double quotes you can actually just place the variable right in the string without having to concatenate multiple strings like above.
    Since you mentioned that you are good with passing variables I probably don't have to mention that you need to set the value attribute of your option tags (if you are using a select) to the value you want them to pass.
    Ex:
    <select name="choices">
         <option value="1">1</option>
         <option value="2">2</option>
         <option value="3">3</option>
    </select>
    If you have that part all figured out then you can use the syntax above for your query string.
    Good luck.

  • What is proper syntax for using PassBack in a Report page select statement

    In my select statement I reference the passBack function using:
    onClick="javascript:passBack()"
    In my Page Header I (Typically) define the passBack function as:
    <script language="JavaScript" type="text/javascript">
    function passBack(passVal1,passVal2) {
    opener.document.getElementById("P2000_CABLE_ID").value = passVal1;
    opener.document.getElementById("P2000_CABLE_LABEL").value = passVal2;
    window.opener.location.reload(true);
    </script>
    But I have never used the passBack function from the Select statement before and cannot happen onto the proper syntax.
    The Page Items I want to pass are:
    1. :P2004_CABLE_ID
    2. :P2004_LABEL
    I want to pass them to:
    1. :P2000_CABLE_ID
    2. :P2000_CABLE_LABEL
    Can someone please help me out... Again?
    Thanks- Gary

    Let's assume column XYZ has both numbers (1), and letters (any alphabet).
    I have a case statement on SQL to turn any value that's not 1 into 0, then I am getting a sum of that column.
    I am also grouping by Row A, B etc to get aggregated sum of column XYZ for those group.
    Now on Crystal Reports function, I need to sum up values under column XYZ for all the groups.
    If I try using sum function like below, I get an error stating:
    "A number field or currency amount field is required here"
    (sum({Command.XYZ}))
    So I thought if I can use a case statement to change the non-numbers to 0 prior to sum that will probably resolve it. But I could not get the below case statement to work either (Error: A string is required). 
    SELECT {Command.XYZ}
       Case 1:
          1 
       Default:
          0;

  • Proper syntax when binding a boolean to a view node

    What is the proper syntax for binding a nodes visability (or any variable that can be bound) to a boolean variable.
    There are three choices, tell me which of the fallowing is proper.
    var loginPassed: Boolean = false;
    var loadingBox: VBox = VBox {
        visible: bind if (loginPassed) then true else false
        content: [loadingLabel,progressIndicator]
    var loaddingBox: VBox = VBox {
        visible: bind loginPassed
        content: [loadingLabel,progressIndicator]
    var loadddingBox: VBox = VBox {
        visible: loginPassed
        content: [loadingLabel,progressIndicator]
    }Let me know and thanks

    Yes it seams that the problem was not with my bind of the content. The error was actually occuring when running in browser mode. At start up the program was throwing an odd exception. Showing in the stack trace were traces of Node and boolean.
    The error was being thrown when I had Control.TextBox as my default input focus.
    After changing the TextBox to a SingExtension.TextField the error went away.
    I will try to reproduce the error and post in a seperate thread.

  • Proper Syntax -- Src-Addr Filter IPS Signature Tuning

    Anyone know what the proper syntax to define Src and Dest addresses within a Signature? I am trying to define the default Private IP ranges as src addresses in signature 3030 and keep getting errors regarding the syntax.
    I have tried ip/netmask and defining the netmask as 255.255.0.0 and so on.

    Many Thanks for the reply!
    I searched the manual and this site up and down for that information and didn't find it documented anywhere.

  • Proper syntax???

    I was trying to find out the proper syntax for the following select statement. I just started JSP and cannot find info on this. Is this proper?? --
    String Pass= request.getParameter("Password");
    String sql = "Select WEB_USER_ID FROM WEB_USER_INFO WHERE UserName = Pass";
    Thank you for the help!!

    I tried that and got the following error. The asdfasdf is what I typed in the password field.
    500 Servlet jspservlet: unable to service request: [Sybase][ODBC Driver][Adaptive Server Anywhere]Column not found: Column 'asdfasdf' not found

  • Proper syntax for email function including a repeat region

    Hey Guys, a fellow ADDT developer and myself ran into a odd challenge recently and was wondering if someone knew a shorter answer.
    LET ME BE CLEAR..I’m not looking for a suggestion, we have resolved the problem..we ARE LOOKING FOR PROPER or shortest FORMAT.
    (we used a submit redirect to a php page that used the “Send Page Section”  and then redirected back..the email looks great)
    This may be a mood point since ADDT is going away but, until then, we feel this will be an useful post because quite often you may have multiple products to email from your SQL statement.
    With that said. We used the send email function on submit.
    1.       Our email content was a HTML content file. Since it was not a php file our repeat region obviously did not work.
    2.       We substituted the HTML file for PHP (just for giggles)..no joy
    3.       We tried regular content as a string..no joy
    We know how to get single rows with the  {table.column} format…but we need to list all undetermined number of products/rows.
    So how would the string or function re-write look  if you needed a repeat region.
    EX:
    emailContent (“ this” . ‘does’. “work”);  regular string
    emailContent (“ this” . $var   . “work”);  regular string
    emailContent (“ this” .   do{  $row; } while( xxx = xxx)  . “work”);  DOES NOT WORK
    emailContent (“ this” .   while( xxx = xxx)  {  $row; }   . “work”);     DOES NOT WORK
    I assume the conflict is you can’t have a function like DO or While in the string….but I also can’t use a php include file.
    There must be a shorter, cleaner syntax that won’t require an advanced set of arrays or for each???
    so  how would a nice clean example of  repeat region results  inside email content, or include file for email contnent, look?
    Thanks

    David, in theory I agree with you, but to a large degree I am completely changing the logic of my human interface. My existing code pre-processes the raw data and saves the results to disk for any future usage. 
    It can then rapidly rebuild all pages for the entire Intranet site when your personal view of the data is changed. 
    After the full creation of all pages, the fixed pages can be viewed using your browser. 
    When you want to change your view, you run the code which completely rebuilds every Intranet page.
    My new software will approach the data differently.  My raw data will be stored with no pre-processing. The pre-processing will occur as the user changes dates and the pages will be built individually on demand, one at a time.
    The second phase of my Windows Form app will be to create pop-up windows that allow the users to modify the definitions for their custom views of the market. 
    When a view is changed, the software will be able to pre-process, as needed, the current date’s data and rebuild the current page with any new changes.
    I intend to create a Refresh.cpp file.  The various segments of the Form’s code will set variable such as date change, view changed, watch list changed, etc. and then call Refresh(). 
    The refresh code will then be able to do the minimum recalculation necessary to rebuild the proper HTML stream. 
    This is another reason to break up the code into various cpp segments such as: LoadRawData, RecalculateViews, BuildPage, etc.
    PS: David, I tried to send you a personal e-mail using your home page link. 
    Hope that was OK and not against forum rules!

  • Proper Syntax using UDF in FMS

    I am sure this is a quick question.
    I need to use a User Defined FIeld that is in the Marketing Document Header in a Formated Search
    to be used in the Marketing Doument Details
    The formated search I created will capture the data if I assigne it to another UDF in the Document header
    example:  Select $[$U_ODEPT.0.0]  attached to a field in the UDF header section will give me the proper result.
    When I attach the same FMS to a field in the Market Documet Details I get an internal error 3006
    Any sugetions as to what I am doing wrong the syntax in my formatted search?
    Thanks in advance!!!

    1. To get detail information about the cause of the problem you should run the formatted search query manually while the window referring to the formatted search is open. Remember - do not save the query run in this way.
    2. Also please check that the refresh regularly field is not checked at row level- it is better to use auto refresh when exiting an altered row column.
    3. Further, the syntax is either $[$Field Index.Field Column.Number/Currency/Date/0] or $[Tablename.Fieldname]. Try using the Field Index number of U_ODepartment instead of the the field name i your query.
    Try these three solutions - you may solve the error.
    Ajay
    Edited by: Ajay Audich on Apr 4, 2009 7:58 PM

  • Proper way to modify existing files?

    Hi! I'm writing a small package for my own purposes to install some keyboard options I want to add to X. I am adding some files to /usr/share/X11/xkb/, but I also need to modify /usr/share/X11/xkb/rules/evdev, /usr/share/X11/xkb/rules/evdev.lst, and possibly /usr/share/X11/xkb/rules/evdev.xml. The modifications are small -- two or three lines generally, but I'm not sure what the best way to make these modifications are.
    Based on what I can find on the wiki, I can proceed one of two ways:
    * I can create a patch for the files, apply the patch during build() to the source files, and then put them into the package to replace the existing files.
    * I can add a .install file, which either applies the patches after install, or uses echo ... >> to add the appropriate lines to the files.
    I'm not sure if I'm missing something, or what the best way to apply these changes is? Which of these options is the cleanest to back out of? And how does pacman handle possible interactions with other packages that might want to modify the same files?
    I'm tempted towards the second option because if I use the various hooks it might be easier to back out of the changes?
    Thanks,
    Ricky

    Neither of these are sane ideas. If you want to modify files which are owned by a package (any package) and not part of the backup array, you have a few options:
    1) rebuild the package owning the files with your changes. you'll have to do this for every release.
    2) rebuild the package with those files in the backup array. now you're free to change them and they won't be clobbered on upgrade. But, you'll still need to do this every release.
    3) change the files anyways, and add them to NoUpgrade in /etc/pacman.conf
    package install scriptlets are not meant to be used to arbitrarily modify files.

  • Proper syntax of CSS 'url' attribute?

    I'd like to settle this minor annoyance once and for all. I
    keep seeing the
    background attribute written with differing syntax when it
    comes to the url,
    and all of them seem to work for their respective coders.
    background: url("image.gif") 0 0 no-repeat;
    background: url('image.gif') 0 0 no-repeat;
    background: url(image.gif) 0 0 no-repeat;
    Is there a 'right' way?
    (Or should that be "right" way? Arg.)

    Maybe just an explanation of what the post meant would be
    good! 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Michael Fesser" <[email protected]> wrote in message
    news:[email protected]..
    > .oO(dunwellguitar)
    >
    >> I'm not sure on the "right way" but in general I
    have always opted for
    >> the one
    >>that still works and has the least typing. However,
    in this case I've seen
    >>the
    >> background: url(image.gif) 0 0 no-repeat;
    >> flavour one break when it gets involved in longer
    lines with other
    >>parenthetical groupings, so I just settled on the
    double quote one as my
    >>default.
    >
    > Got an example for such "breaking"?
    >
    > Micha

  • Proper Syntax to Join on Common Attributre value

    Does anyone know how to write this query properly?
    "Display customer pairs as (first mi last) (first mi last) who are from the same state. Also how their respective states."
    The table structure is appended at the bottom of this message.
    I have ready tried a recursive join using a table alias. There is a problem though, the result set returns duplicate information. 14 rows are returned, but only 7 are unique customer/state pairs.
    Return set:
    ..COLs 1-3....COL 4-6 .....COL 7
    Customer-1 Customer-2 SomeState
    Customer-2 Customer-1 SomeState
    SQL query using a table alias to recursively join on "State" column:
    SELECT "A"."c_first",
    "A"."c_mi",
    "A"."c_last",
    "B"."c_first",
    "B"."c_mi",
    "B"."c_last",
    "A"."c_state"
    FROM "customers" "A",
    "customers" "B"
    WHERE ( "A"."c_state" = "B"."c_state" ) and
    ( "A"."c_id" <> "B"."c_id" )
    I have tried modifying the above witih "IN" and "NOT IN" sub queries.
    Table Structure:
    CREATE TABLE CUSTOMER (
    CUS_CODE     NUMBER PRIMARY KEY,
    CUS_LNAME     VARCHAR(15) NOT NULL,
    CUS_FNAME     VARCHAR(15) NOT NULL,
    CUS_INITIAL     CHAR(1),
    CUS_AREACODE      CHAR(3) DEFAULT '615' NOT NULL CHECK(CUS_AREACODE IN ('615','713','931')),
    CUS_PHONE     CHAR(8) NOT NULL,
    CUS_BALANCE     NUMBER(9,2) DEFAULT 0.00,
    CONSTRAINT CUS_UI1 UNIQUE(CUS_LNAME,CUS_FNAME));

    Sorry, I just relaized that that was a bad link I put into my post. I just fixed it.
    Did you get that without the link? If so, very good. It could be a little simpler, check the fixed link.
    Also, I would have words with my instructor if they were making me double quote everything because they made case sensitive table and column names :-)
    Cheers
    John

  • Need proper syntax for CommonviewFields

    Hello all,
    Am using SP Online
    I have read and tried many blogs and have had partial success with the steps proposed. But when I change
    <property name="CommonViewFields" type="string" />
    to
    <property name="CommonViewFields" type="string" />Title, Text</property>
    I get an error in sharepoint online, saying the XML might not be "well-formed"
    If I export the Content search web part, and re-import it as is, I don't get the error.
    Is there another line of code that I need to change? Or my syntax is wrong? I have tried other column names without success (using the internal name of course)
    Thanks
    Pierre
    pgg02

    Hi Pierre,
    Please remove the first character /, then it should work.
    <property name="CommonViewFields" type="string" >Title, Text</property>
    Thanks
    Daniel Yang
    TechNet Community Support

  • Proper syntax of preferredSize

    I have a JLabel which I am trying to establish a size for, and since it will have no text , I know I need PreferredSize, but I get syntax errors(have used 2 ints, or 1 as below.) I looked for java.awt.dimension (indicated in error message), but I couldn't find that in APIs
    which.setPreferredSize(100);

    yeh, it wants a dimension, not a integer.
    like so:
    which.setPreferredSize(new Dimension(width, height));
    hope that helps (and works!).

  • Proper syntax for adding a keyboard event listener in Illustrator

    Hi all,
    Sorry for the newb question. For some reason, I am unable to capture any keyboard action in my extension. Probably doing it wrong....
    My extension is a panel that only has buttons. The shortcuts for cut and paste become disabled after clicking on a button and I wanted to see if my extension could capture "command-x" and then fire the command via script.
    Seems pretty basic, but for whatever reason I'm stumped. does the below look accurate? Why aren't I seeing any alert?
    function keyHandler(){
        window.addEventListener('keypress',
                function(e)
                    function that evaluates script to show alert("yuck");
                false);
    Also, when I do command A after clicking a button, it selects the objects in my extension panel. Then when I copy.... well, I get this....
    LSC
    Sure does seem like the panel has focus. Any workarounds?

    OK. No wonder. It doesn't appear that the panel can pick up key commands unless it has focus. I created a text input and when that was active, my code worked fine. BUT, my panel doesn't HAVE a text input. I don't mind hacking something together with a hidden or super small box that has hidden focus, but it does not appear that autofucus or document.getElementById("id").focus(); works. Anybody confirm.
    Does ANYBODY have any sort of workaround for this frustrating state of affairs. I just need for command + X to actually cut after clicking a button in my panel. I don't care if I have to send a menu-command to jsx. That would be fine. Just need to get focus somehow....

Maybe you are looking for

  • Weird colour distortion in OS X Mavericks

    Hello I got some weird looking colour distortion going on in my recent installation of Mac OS X Mavericks on my mid-2010 MacBook Pro. Any suggestions on fixing this? Is this a known problem? I only have it on some places in some occasions... Here's a

  • PO not release

    Hi All, If daily job is cancelled due to PO not released. How to release PO? B..R..

  • Iphone 4s deleted all my contacts after connecting to wifi.

    I was playing a game on my iphone 4s and I decided to connect my phone to our wifi like I always do to save data. However, this time, it deleted all my contacts. I would really appreciate help with this problem. My phone has not been backed up yet, i

  • [Solved] Xfce4 crashing at start

    Hi, I did recently install Xfce4-svn from the unstable repos, and it worked, initially. The second time i tried to log in to the Xfce-session, it instantly kicked me out to the GDM, and it has done this ever since. I've tried uninstalling/reinstallin

  • Whitespace handling in JAXM

    This is a JAXM question: A request message sent by a SOAPClient with extra whitespace in element content (be it header or body) seems to be truncated to one space when received by the JAXMServlet. Any clues how to preserve the white space ?