search for: quirksmode

Displaying 20 results from an estimated 34 matches for "quirksmode".

2006 Apr 28
8
Effects fully display before effect
Why do effects that display an element (like Appear or Slide Down) start by displaying the element for a split second and then make the element disappear? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 02
3
How to identify the browser?
I need to generate some browser-specific code; can I identify which browser is being used from within my RoR code? -- Posted via http://www.ruby-forum.com/.
2017 Sep 26
5
MP4/H.264 codec for Firefox?
...entOS7 (No, I did not install Flash, VLC and all the other stuff. I only want HTML5 MP4 playback..) I enabled the nux repos. I did install all available gstreamer plugins, i.e. -good -bad -ugly -ffmpeg etc. No success. Has anybody got mp4 playback working? Here's a test page: https://www.quirksmode.org/html5/tests/video.html Help would be appreciated! Best regards, Roman
2006 Jun 12
10
Cross Broswer Fire Event
Is there a standard way of programmatically firing an event on an element? I think this code works in IE but not FF: myElement.fireEvent(''onclick''); I really only care about IE and FF, but anything else is a bonus. I didn''t see anything in prototype/scriptaculous for this, but I might have missed it. Thanks. Joe Athman
2006 Mar 18
1
Prototype event models and Internet Explorer
Hi, I was just reading an article that talked about the problems with Microsoft''s event registration and handling. >From http://www.quirksmode.org/js/events_advanced.html 1. Events always bubble, no capturing possibility. 2. The event handling function is referenced, not copied, so the this keyword always refers to the window and is completely useless. I was wondering if the Prototype library completely works around these problems...
2008 Jul 01
5
Attaching event observers to a series of elements - best practice?
...rton</ li>), but I''m not entirely happy with this solution. Suggestions? For bonus points: I like to use innerHTML to insert new content into the DOM. Yes, it''s non-standard, but it''s widely supported, and it''s much faster than the DOM methods - see http://quirksmode.org/dom/innerhtml.html. If you can suggest a clean technique that allows me to keep using innerHTML *and* attach onclick handlers in the way I''ve described, I''ll write a song extolling your greatness. --~--~---------~--~----~------------~-------~--~----~ You received this message...
2017 Oct 01
2
MP4/H.264 codec for Firefox?
...gt; HTML5 MP4 playback..) >> >> I enabled the nux repos. I did install all available gstreamer >> plugins, i.e. -good -bad -ugly -ffmpeg etc. No success. >> >> Has anybody got mp4 playback working? >> >> Here's a test page: >> >> https://www.quirksmode.org/html5/tests/video.html > All movies on that page play without having taken any particular > precautions in Seamonkey (I dislike Firefox). > > However, I have ffmpeg and mplayer installed (compiled from source > because there aren?t packages for those). I don?t know if any of the...
2006 Mar 05
7
whatever happend to unobtrusive javascript in Rails ?
Don''t get me wrong, JavaScript/Ajax helpers in Rails are a huge timesaver and they have helped me to finally overcome my irrational aversion to js libraries like prototype and such. However, all this goodness seems to come at quiet a price. The resulting code is littered with inline JS, including ubiquitous script tags and onload attributes etc.. It seems that just when i found
2006 Feb 03
6
Rich Text Editor
I know I saw something a while back about a simple Rich Text Editor; did that go anywhere? I''d love to see something as simple as the one google uses in gmail. If not, I''ll get started on it :-D. -Jerod _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2007 Jul 16
4
Problem with keypress event handling
Hi all, we are writing a cross browser Javascript control that enhances the HTML text input element in order to accept only digits (more or less). Supposing that ''domText'' is the DOM element corresponding to the HTML text input, we wrote the following: Event.observe(domText, "keypress", this.onKeyPress.bindAsEventListener(this)); where this.onKeyPress =
2006 Feb 25
7
generating HTML instead of XHTML
After reading http://www.hixie.ch/advocacy/xhtml and having some headaches with IE, I wonder whether helpers can be configured to generate HTML instead of XHTML. -- fxn
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello. I spent an hour or three chasing down a desired effect that mootools implements, namely the simulation of onmouseleave and onmouseenter events. Why? Lets say you have a Menu. A ul element that contains many li elements. If you want to have a function (maybe an effect) fire when the mouse moves outside of the ul, you are out of luck. Observe the mouseout function like so:
2006 Jun 30
7
javascript woes with radio button groups
Ok! So I have this survey project I''m working on where there are a list of questions but only one shows up at a time. That part''s easy. And, it is fully functional as we speak (and I think even ''live'') however..... My boss wants to be able to have the survey go to the next question when a user selects an answer. This part is easy.. except..... IE
2017 Oct 01
0
MP4/H.264 codec for Firefox?
...d all the other stuff. I only want > HTML5 MP4 playback..) > > I enabled the nux repos. I did install all available gstreamer > plugins, i.e. -good -bad -ugly -ffmpeg etc. No success. > > Has anybody got mp4 playback working? > > Here's a test page: > > https://www.quirksmode.org/html5/tests/video.html All movies on that page play without having taken any particular precautions in Seamonkey (I dislike Firefox). However, I have ffmpeg and mplayer installed (compiled from source because there aren?t packages for those). I don?t know if any of them are being used by Sea...
2017 Oct 02
0
MP4/H.264 codec for Firefox?
...t; >>> I enabled the nux repos. I did install all available gstreamer >>> plugins, i.e. -good -bad -ugly -ffmpeg etc. No success. >>> >>> Has anybody got mp4 playback working? >>> >>> Here's a test page: >>> >>> https://www.quirksmode.org/html5/tests/video.html >> All movies on that page play without having taken any particular >> precautions in Seamonkey (I dislike Firefox). >> >> However, I have ffmpeg and mplayer installed (compiled from source >> because there aren?t packages for those).? I don?...
2006 Jun 06
2
Toggle css for display on page load?
In my layout I have a navigation bar with a few elements in it. The elements can be toggled on or off and thereby reveal or conceal some subtopics. I store the state of the toggle for the navigation elements in the session. When the page is reloaded, the navigation items are collapsed because the css for display: none is set by default in the html for the navigation elements. Is there a
2006 May 08
2
prototype getHeight safari
Hi I have a weird bug with getHeight or getDimensions().hegiht (prototype) only on safari if I have a html file like this <div id="test"></div> and a embedded css <style> #test { width:100px; height:100px; float:left; } </style> In Safari $(''test'').getHeight returns 100, fine but if the css declaration #test.. is in a css file
2006 Jun 02
2
Prototype/Scriptaculous beginer question
Hi ! Sorry if my 2 questions are stupid: - Is there a way with prototype or scriptaculous libraries to get the selected text in an html page ? Or in a textarea ? - Do you know a good SDA or RSA javascript library other that this one: http://pajhome.org.uk/crypt/sda/index.html ? Best Regards -- Jean-Philippe Encausse Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
2006 Jun 14
1
Cross Browser Popups
Hi, Does anybody have a little cross-browser piece of code to resize a popup ? Excatly, I don''t know if it is possible ?, I would like to open a popup on the side of an existing window like if it would be a tabpane. So reducing window width by the width of the popup, set the popup on the side of the window. And the best of the best: when the window is resize, resizing the popup also
2006 Jan 12
0
re: Good OOP and JS books / tutorials?
...ogramming using >>JS? I''ve found the following site is a nice introduction for javascript newbies who have an OO background: http://www.multitask.com.au/people/dion/ Of course, the real ugly truths about javascript are a less friendly, but a nonetheless important read http://www.quirksmode.org/blog/ http://www.crockford.com/ ----^-------^------^--------^-------^ Jon Boutelle Principal, Uzanto Consulting Mountain View, CA Office Phone:650-564-0000 Cell Phone :510-708-9825 skype id: jboutelle www.uzanto.com www.jonathanboutelle.com www.themindcanvas.com ----^-------^------^--------...