Here are the results from my Quad G5:
Safari:
-
Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/
418.9.1 (KHTML, like Gecko) Safari/419.3
Timing 1 iterations of Prototype, Prototype.oneDiv,
Prototype.oneDiv2, String.replace, String.replaceMap,
Hi,
I know that my question doesnt aim 100% at this group, but at least here are
people that care for cross browser behaviour.
Is there a guaranteed behaviour for elements having multiple classes?
div class=red bluehello world/div
when
div.red { background-color:red;}
div.blue
Fabian,
The last style definition always wins from the the one that came
before it, unless it is less specific.
Like so:
div class=messagecorrect /div
div class=message erroroops/div
div.message {
color: black;
background-color: green;
}
div.message.error {
background-color: red;
See Cascading order:
http://www.w3.org/TR/REC-CSS2/cascade.html#cascade
Finally, sort by order specified: if two rules have the same weight,
origin and specificity, the latter specified wins. Rules in imported
style sheets are considered to be before any rules in the style sheet
itself.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fabian Lange wrote:
I know that my question doesnt aim 100% at this group, but at least here
are people that care for cross browser behaviour.
Spoofing subject doesn't help (quite the opposite). :-/
Is there a guaranteed behaviour for elements
Hello,
i'm using the following code in my rails app. works like a charm on IE.
but on FF no autocomplete popup is displayed. can somebody help?
rails code:
p
%= text_field_with_auto_complete :person, :nachname, {},
{
:select = 'name',
:after_update_element =
Rails spinoffers:
When I hit the following in IE, it puts up an error message Cannot find
file ...bad%20url... Make sure the path is correct etc. When I hit it
in Firefox I get no error. (Ironic because Firebug is installed...):
iframe src='bad url' onerror='alert(yo);' /
What I _want_ to
Maybe use the Prototype AddClass RemoveClass stuff?
Walter
On Jan 8, 2007, at 11:11 AM, The Manhatten Project wrote:
Anyone know of, or have a custom effect for showing/hiding borders on a
DIV? I cannot see one in the Effects lib?
--~--~-~--~~~---~--~~
Hi,
thanks for all the answers. I found that Spec, but was unsure if its
implemented cross browser the same way.
Also the dynamic adding of css classes seemed for me not 100%. As it could
also be : take current style, apply what has come additionally..
But it seems everything works here as I
Hmmm, my idea is that I could potentially create a new effect (if one
does not already exist) which when onMouseOver creates a border around
a span/div. I could like that onMouseOut it removes said border. I
have done it normally by creating normal functions for the two mouse
events but I was
Anyone car to recommend as Prototype event caledar?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby on
Rails: Spinoffs group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To
I Should Mention that I am Looking to intergrate it into my CMS that Im
working on...
any ideas would be appreciated..
Terry
;)
On 1/8/07, Stripe-man [EMAIL PROTECTED] wrote:
Anyone car to recommend as Prototype event caledar?
--
I have learned that you should'nt compare yourself to
The Manhatten Project wrote:
Hmmm, my idea is that I could potentially create a new effect (if one
does not already exist) which when onMouseOver creates a border around
a span/div. I could like that onMouseOut it removes said border. I
have done it normally by creating normal functions for
The Manhatten Project a écrit :
Hmmm, my idea is that I could potentially create a new effect (if one
does not already exist) which when onMouseOver creates a border around
a span/div. I could like that onMouseOut it removes said border. I
If you don't need IE =6 support (OK, this is
Hi Ken/Christophe,
I actually did this in the end ..
Event.observe('mydiv', 'mouseover', function(e){
Element.setStyle('mydiv', { border: '1px solid red;' } ); });
Event.observe('mydiv', 'mouseout', function(e){
Element.setStyle('mydiv', { border: '0px solid red;' } ); });
I am sure
The Manhatten Project wrote:
The Manhatten Project wrote:
Hi Ken/Christophe,
I actually did this in the end ..
Event.observe('mydiv', 'mouseover',function(e){
Element.setStyle('mydiv', { border: '1px solid red;' } ); });
Event.observe('mydiv', 'mouseout', function(e){
Have there been issues w/ posting to this group, I think this is my 12th
try... oh well, lets try one more time...
I have a list of draggable items that can be dropped into 1 of 7droppable
receiving elements. This works perfect in Firefox 2 and Opera 9.10. In IE
7 it works correctly the first
The Manhatten Project wrote:
Hi Ken/Christophe,
I actually did this in the end ..
Event.observe('mydiv', 'mouseover', function(e){
Element.setStyle('mydiv', { border: '1px solid red;' } ); });
Event.observe('mydiv', 'mouseout', function(e){
Element.setStyle('mydiv', { border: '0px
I just published a new article, and I always appreciate feedback from
this community.
http://digg.com/programming/Attributes_Classes_Custom_DOM_Attributes_for_Fun_and_Profit
XHTML gives us the ability to extend our markup with customized,
semantically meaningful attributes. While the battle
19 matches
Mail list logo