"Alabama" breaks styled dropmenu of US states
This is the nuttiest thing I've ever encountered. I've
created a styled drop menu listing the U.S. states, with light text
on dark background. Works fine on IE and Safari. But in Firefox
3.0.7 (running on OS X 10.4.11), when the word "Alabama" appears,
the background-color styling fails and the text is light on light,
thus unreadable:
http://www.neaq.org/visit_planning/private_events/dropmenu.php
But if I misspell the word, e.g. "Alabam" the styling
reappears!
http://www.neaq.org/visit_planning/private_events/dropmenu2.php
It also works fine if the "Alabama" <option> tag moved
down below California or lower on the list:
http://www.neaq.org/visit_planning/private_events/dropmenu3.php
Any higher than that, voila! it breaks!
Here's the CSS:
select.dropmenu {
background-color: #001352;
color: #ffffff
So... am I insane? Does this reproduce for anyone else on
Firefox 3.0.7/OSX? Am I making some obvious CSS mistake? Or does
Firefox just hate Alabama? Do I get a prize for weirdest CSS
problem of the day? Any clues to solving this bizarre mystery
gratefully accepted.
All are Fine on FF 3.0.7 on PC
"Mascarasnake" <[email protected]> wrote in
message
news:gprmo3$anq$[email protected]..
> This is the nuttiest thing I've ever encountered. I've
created a styled
> drop
> menu listing the U.S. states, with light text on dark
background. Works
> fine on
> IE and Safari. But in Firefox 3.0.7 (running on OS X
10.4.11), when the
> word
> "Alabama" appears, the background-color styling fails
and the text is
> light on
> light, thus unreadable:
>
http://www.neaq.org/visit_planning/private_events/dropmenu.php
>
> But if I misspell the word, e.g. "Alabam" the styling
reappears!
>
http://www.neaq.org/visit_planning/private_events/dropmenu2.php
>
> It also works fine if the "Alabama" <option> tag
moved down below
> California
> or lower on the list:
>
http://www.neaq.org/visit_planning/private_events/dropmenu3.php
>
> Any higher than that, voila! it breaks!
>
> Here's the CSS:
>
> select.dropmenu {
> background-color: #001352;
> color: #ffffff
> }
>
> So... am I insane? Does this reproduce for anyone else
on Firefox
> 3.0.7/OSX?
> Am I making some obvious CSS mistake? Or does Firefox
just hate Alabama?
> Do I
> get a prize for weirdest CSS problem of the day? Any
clues to solving this
> bizarre mystery gratefully accepted.
>
>
Similar Messages
-
Any problem with the BREAK ON COLUMN on REPORT statement
Hi All,
We are using the sql query output to print a summary report in our application.
We are taking a ref cursor variable and capturing all the data into this. There is a group by
Clause in the select statement that will populate the ref cursor variable. And there is a BREAK on one of the column.
While printing the ref cursor variable data after each group data first line there is a gap of 4 lines and then it is printing the next line.
The format is like this.
COLA COLB COLC
abc mno XYZ
kgh yop
ksjd djf
def mno XYZ
kgh yop
ksjd djf
Is there any problem with this format. Please advice.
Thanks in advance.
Regards,
GirijaThis should handle your problem if you are facing the same problem like i'm showing ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:01.58
satyaki>
satyaki>
satyaki>break on job
satyaki>
satyaki>
satyaki>select *
2 from emp
3 order by job;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7788 SCOTT 7566 19-APR-87 3000 20
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7900 JAMES 7698 03-DEC-81 950 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7566 JONES 7839 02-APR-81 2975 20
7782 CLARK 7839 09-JUN-81 4450 10
7839 KING PRESIDENT 17-NOV-81 7000 10
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7844 TURNER 7698 08-SEP-81 1500 0 30
7654 MARTIN 7698 28-SEP-81 1250 1400 30
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7777 SOURAV SLS 14-SEP-08 45000 3400 10
9999 SATYAKI 7698 02-NOV-08 55000 3455 10
13 rows selected.
Elapsed: 00:00:00.42
satyaki>
satyaki>
satyaki>clear break
breaks cleared
satyaki>
satyaki>
satyaki>select *
2 from emp
3 order by job;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7566 JONES MANAGER 7839 02-APR-81 2975 20
7782 CLARK MANAGER 7839 09-JUN-81 4450 10
7839 KING PRESIDENT 17-NOV-81 7000 10
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7777 SOURAV SLS 14-SEP-08 45000 3400 10
9999 SATYAKI SLS 7698 02-NOV-08 55000 3455 10
13 rows selected.
Elapsed: 00:00:00.21
satyaki>
satyaki>
satyaki>Regards.
Satyaki De. -
Unwanted Line Breaks in PL/SQL CODE after 'CREATE OR REPLACE' statements
Does anybody know how to keep SQL Developer from automatically editing PL/SQL code and adding line breaks after 'CREATE OR REPLACE' statements?
It keeps taking:
CREATE OR REPLACE PACKAGE DEVELOPER AUTHID DEFINER
And turns it into:
create or replace
package developer AUTHID DEFINER
This unwanted linebreak causes our autodeployment processes to break.
Thanks,
Michael Dunn
University of Notre Dame
Edited by: user9133268 on Feb 21, 2012 8:00 AMHi Michael,
I believe nothing for this issue has progressed since it was asked here:
2.1 RC Extra Line Breaks
As there may be approval for some planned improvements to the SQL Formatter feature in 3.2, I logged an enhancement request for you:
Bug 13744858 - FORUM: UNWANTED LINE BREAK AFTER CREATE OR REPLACE SYNTAX
Regards,
Gary
SQL Developer Team
Edited by: Gary Graham on Feb 21, 2012 4:19 PM
But if you have control over your auto-deployment process code, it might be quicker to enhance that to deal with CREATE OR REPLACE on the same or the preceding line. Also, note that if you edit the package DDL to put the CREATE OR REPLACE on the same line with the package name in the code editor, then immediately use Export or Save Package Spec and Body to save it to disk, then PACKAGE <name> will appear on the same line as the CREATE OR REPLACE syntax. -
Hi All,
I am trying to populate a text field based on what the user chooses in a drop down that contains the 50 United States of America.
So...let's say for now that I want the text field to say "Birmingham" if the user chooses "Alabama".
The only thing I have so far is totally wrong:
function setText()
var statechoice = State.value;
switch (statechoice) {
case 1:
Text1.rawValue = "Filing is required in Alabama";
break
case 2:
Text1.rawValue = "Very cold and Filing is required in Alaska";
break
default:
Text1.rawValue = "Choose a state please";
break
Does it always have to be case 1, 2, 3 and so on? Can't it ever be "case (something is true and something equals 7):"? I mean, do I always have to use integers to distinguish the cases?
later on, I want to populate that drop down based on several choices that the user makes. I want to have a list of conditionals where each conditional expresses a unique combination of choices that the user has made.
Do you like cold food? Yes
Lactose intolerant? No
Text Field says "Have an ice cream cone for dessert".
How do I get integer values from a drop down? dropdown.value? dropdown.index? dropdown.selectedIndex?
How do I combine these choices in the case statements? case (dd1 = 1 and dd2 = 4 and dd3 = 2): ???
Sorry for this discursive question,
I just need a good code example to follow.
Many Thanks,
JoeFew things to mention.
1) You can get the selected value from the dropdown by using rawValue property.. But in your code you have used "State.value"..It should be "State.rawValue"..
2) In the Case statement:
case 1/2/3 etc.. are values of the selected value from the State dropdown. If you assign "AL" for Alabama, then you need to use "case "AL":"
function setText()
var statechoice = State.rawValue;
switch (statechoice) {
case "AL":
Text1.rawValue = "Filing is required in Alabama";
break;
case "AK":
Text1.rawValue = "Very cold and Filing is required in Alaska";
break;
default:
Text1.rawValue = "Choose a state please";
break;
Find my changes to your script above..
Thanks
Srini -
Merge statement and insert into a third table
I'm wondering if the merge statement will work in my case. I'm loading a file into a temporary table. I want to compare this temporary table with an existing source table (there are multiple source tables, I've thought of breaking them up into separate statements) and write out any differences to a third table. The third table would be used for future processing on the rows that are found to be different. Do you think this is possible using the merge command?
Why use the merge command for that purpose?
If you want to find out the differences of two tables and put the result into a third one then you should do
insert into table_c
query_a
minus
query_b
or
insert into table_c
(query_a
minus
query_b)
union all
(query_b
minus
query_a)
hth -
Return statement on a void?
Theres a part that i dont understand, and if its possible i'd like to be helped a bit with it ^_^.
This class is part of a program that uses threading to display a consistent "Tick Tock", but the part that i dont get is why is there a return statement on the method that is on bold, isn't void supposed to mean that it doesnt return a value, is the return statement just used to get out of the if loop?, or maybe something else! help is appreciated!
class TickTock {
synchronized void tick(boolean running) {
if(!running) { // stop the clock
notify(); // notify any waiting threads
return;
System.out.print("Tick ");
notify(); // let tock() run
try {
wait(); // wait for tock() to complete
catch(InterruptedException exc) {
System.out.println("Thread interrupted.");
synchronized void tock(boolean running) {
if(!running) { // stop the clock
notify(); // notify any waiting threads
return;
System.out.println("Tock");
notify(); // let tick() run
try {
wait(); // wait for tick to complete
catch(InterruptedException exc) {
System.out.println("Thread interrupted.");
}Message was edited by:
Rix87A simple return statement means that you are just exiting that function. A function can use the return statement even if it is declared a void. It is just that from a void function you can not return a value.
In your code the function is doing some condition checking (if statements) and based on that decides whether to exit the function or to continue going forward.
Additionally, the if-construct is not a loop. If statements provide conditional branching mechanism.
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/branch.html
You probably will never need to break out of an if statement. If you do need it, then perhaps your if condition is suspect.
http://java.sun.com/developer/TechTips/2000/tt0613.html
You can use labeled breaks if you need to break out of nested if statements but it is very rare that you will need them and the code can perhaps be written in another way which is much more readable than labeled breaks. -
Debugger Not Stopping at Break Points
Howdy folks,
I am trying to debug a rule in which I checkout / modify / checkin a renameUser view. I set some break points at the invoke statements for checking out and checking in. The rule is called from my Update User workflow. I know the rule is executing because I am dumping the context to a text xml file. The break points are right before and after the invoke that dumps the context to xml. However, when I update someone the debugger is not breaking in and stopping the thread to let me step through it. I would really like to see why my checkin and checkout invokes are not working, but can't see the error message due to the debugger not stopping...
Does anyone have any advice, clues or ideas to get the debugger to work more correctly?It's probably running anonymously. That was my issue I think. The break points don't work on anonymous execution. At least not for me. Now, you can specify to use anonymous break points.. But then it breaks at EVERY anonymous break point. I had a hard time stepping through them all to get to what I needed to see execute, before it would time out... good Luck...
-
hi experts
in one of my program the performance is getting affected in the abap statement not in the database access
the program logic goes in this way from the main program 3 performs were called for in the last performa onlythe entire processing starts
in that last perform it s callin for a report through submit and return statement , the called report s again refering to one include program.
in se30 the highest % it showssthe last perform that s said and the program that s called through submit statement the include program is not affecting the performance please tell mehow to change the report insucha wayi can improve the performance
please reply
will assign marks for sure
thanks in advanceFrom your as I understand your original message, your report is calling another report and it is taking a very long time in that step.
Obviously, the second program is taking time and that is the one to be analyzed. So, you put a break-point on the SUBMIT statement and see what are the parameters that being sent to the second program. Then, run the second program all by itself using the parameters you have noted down and analyze what the problem is.
If my response is totally off of your question, please clarify the question. -
What is the disadvantage of state machine?
Hi,all,
Anybody can briefly introduce what the disadvantage of state machine? Is it make the LV program large and hard to read?
Thanks.There are several programming architecture templates that are available in the "New..." dialog. They are under VI from Template -> Frameworks -> Design Patterns. There are six different design patterns. I would say that the State Machine would be a bad choice only when one of the others is better.
That being said, state machines are not so good at parallelism, so if you had a need for that you might want to look at something else. Also, if you cannot see a good way to break your code into actual states, you should consider something else (and once you have don't it with something else, you will probably be able to see the states :-) ). Extremely simple, straight-forward algorithms usually don't need to be state machines unless there is a good probablility that it will grow in complexity as the software matures.
Hope that this helps,
Bob
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected] -
Control Statement inside System.out.println
I am printing something like this:
System.out.println(parts1[0] + "|" + parts1[1]); Now, I want to keep a check i.e. if parts1[1] is say 3 I want to printout Hi and if parts1[1] is any other digit I printout Hello. [parts is obtained by using split method from data]
Can I do it inside the print statement?Be judicious about this though. Unless the ternary expression and the overall argument to println are both very simple, you'll end up with an unreadable, unmaintainable mess. The only advantage to doing it all inside the println argument is compactness. If it gets unwieldy, break it up into separate statements, assign the end result to a variable, and print that.
-
Dear Gurus,
I m trying to debug a report which is done using logical database programig.
Report is rnning for all employees and checking whetere for thsi employee contract is expring in 30 days or not.if expring iys just displaying data.
Report is running using statement Get Pernr.
I m new to abap..i jsut want to execute an ddebug teh prograom for 1 emplyee,...but when i started debugging its reading employeess 1 by 1 through get pernr...and looping..
but i just want to debug for 1 employee...and see hoe its working...
I diont have option to select on selection screen..
Is this possible as otherwise its taking a long time to debug...
Please suggest
Regards
ManishPut a break point on GET PERNR statement.
So when you execute the report the program will stop on this statement.
You can look at the field PERNR-PERNR to find out for which employee the code is being run.
remember from GET PERNR event till END OF SELECTION event its like a loop. So after END OF SELECTION the employee number will get changed at GET PERNR event.
hope this was usefull
cheers
AJ -
In my application a page has a table with data rows. The source for the region is a PL/SQL-statement which generates the data rows. The data rows are grouped by the frist table column (person). The break formatting is at the first column. I have the Max row count set to 5000, so that I can see in the browser all rows at one time, with breaks and table headers for each person. I have also enables csv-export. I have about 50 persons, and i need the data on paper, for reading, but each persons rows on a separate sheet. It does not matter in which format (xls, csv, pdf, directly from browser,........)
Thanks,
RobertHallo,
To suggest a page break, add <P style="page-break-before: always"> before
the beginning of a new printed page.
This should work in IE6; I think because it's inside a table it did not
work in Firefox 1.0.6.
Use the following on your break column in Column Formatting/HTML Expression
(assuming your break column is #OBJECT_TYPE#:
<p style="page-break-before: always" />#OBJECT_TYPE#
The statement for the report of above example look like this:
select
o.object_type,
o.object_name
from all_objects o
You can use several variants of print break CSS - page-break-before,
page-break-after, and page-break-inside.
Hope this helps, Willi -
Error message when trying to issue output for printing in the VT02N
We have one issue where user is trying to givng print out for shipiing details in the tranaction VT02 n
in EXTRAS---> output , there are giving the out put type ZS04 and when they save the output type they are getting the following error messages
Mandatory: Proforma saknas
Mandatory: (5.Varuposter) - Commodity code saknas i delivery:
output type is configured in nace transacition with the print program and the forn name
Please tell me why this error is coming
thanks in advance
pavanHi,
Check if you have entered values in all the mandatory fields required.
If you have try debugging and check where error is coming.
Just type /H in the command bar and click enter when you clcik on goto-extra it will got to debugging.
In that put breakpoint at message.This will put break points at all message statements.
Then you can find out very fast where the error is coming from
Regards,
Subhashini -
How to find screen no. of a pop-up window?
Hi friends,
Any one can let me know, How to find the screen no. of pop-up window?
Thank,
PunjaalaTo find screen no of a pop-up screen, in debuggin mode give break point at call screen statement.
Usually pop-ups would be called by call screen starting in (x,y) cordinates. so it'll stop at that point.
you can find out the pop-up details there.
Regards,
Joan -
PO - Service tab gross price field is in display mode
Dear all,
My client requires
Contract relase order with reference to Service contract, the price for the service codes which is adopted from the service contract, it is picking and displaying it contract release PO. But the gross price is in changeable mode. But i need the gross price field is in display mode. it should be in display mode while creating realse orders for contract.
Expecting your earlier response
Thanks in advance
RamanHi Raman,
If you follow the steps mentioned in the note 30316 you will be able to find why the price in the contract is in changeable mode...and then we will be able to change the price to display mode.
Note: 30316
1. In Transaction SE37, display function module MEX_FELDAUSWAHL and set
a break point at the first statement.
2. Start the program where you suspect a problem with field selection.
The program should stop at the break point set above. Copy the
import fields I_AUSWAHL0, I_AUSWAHL1, I_AUSWAHL2, I_AUSWAHL3,
I_AUSWAHL4, I_AUSWAHL5, and I_AUSWAHL6 to the list of field names.
The corresponding field contents show the field selection reference
keys that are composed as follows:
3. You can check the field selection reference keys found in
Customizing. For purchase requisitions, the Transaction code is
OMF2, for purchase orders it is OMF4, for contracts OMFA, for
scheduling agreements OMF7, for requests for quotation it is OME8.
Or
Tcode: OLME Contract Define Screen Layout at Document Level
4. All keys from the AUSWAHLn fields are used to determine the field
selection and their status. They are set according to the following
matrix.
See the matrix in the note
Alternatively, the following can be stated:
o Field status 'Hidden' takes highest priority. This means that if
a reference key has defined the field as 'Hidden', all other
reference keys are overruled.
o Then follow statuses 'Display', 'Mandatory', and finally
'Optional'. Accordingly, a field is assigned the attribute
'Optional' only if all reference keys for the field are set to
'Optional'.
I hope this information helps you to resolve behaviour.
Best Regards,
Gabriela
Maybe you are looking for
-
ORACLE Password Change using APEX FORM
Greetings! I would like to find out, if there is a utility or a sample page that permits the Database password changes for the DB users within the Database. My goal is for users to maintain password using the Browser, instead of using SQL*Plus or sim
-
Multiple AEBS, How to choose a specific base station?
Hello - I have a new AEBS N as well as an older UFO-shaped AEBS. Both are connected to the internet via ethernet and I am sharing a wireless network between the two. I have one printer and 2 USB hard drives hooked up to the AEBS N via Air Disk. So fa
-
Indesign CS3 .indd icons not displaying correctly in Windows 7 64 bit.
GDay InDesign Gurus. Ive just recently moved over to Windows 7 64 bit and have noticed that my InDesign .indd file icons are being displayed as a blank file type instead of the IND icon type. The .indd files open up correctly in InDesign upon double
-
I've just an Apple TV set it all up but when I play netflix the sound is really crackling. I can't hear anything else but the crackle. I can see the movie fine..
-
Selective IP filtering for multiple servers in a domain?
Is it possible to have IP filtering on for certain servers in a domain, and not for others? This is the situation: I am deploying two servers in mydomain, so let's call it serverA and serverB. I want serverA to accept all connections while serverB ac