@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15



Comments:

<0> in IE if I change the width of a <select> onclick or onfocus, the contents of the dropdown are only momentarily visible. Is there a workaround for this?
<1> What can I add to an IMG tag to help with loading/pre-loading/etc.? :/
<2> what's the point?
<2> either way they wait to see it
<3> reisio you wouldnt happen to have any idea why i cant get IE to show PDF files in the browser... Opera either... firefox works fine... i think its coz im getting the file download.php which uses fp***thru() to p*** the file to the UA... it uses the http header content-disposition to p*** the filename... any ideas how i can solve this? this is a sample of the response headers that download.php sends for PDF files: http://www.mrnaz.com/static/
<2> try not sending a header
<3> not sending which header?
<2> for the pdf
<3> when i remove all sent headers, the file just renders as text... i.e., text rendered binary junk as the UA thinks its a php file coz that's the extension
<3> i just tried it
<2> in IE?
<3> in IE i just get "the file was damaged and could not be repaired"
<3> doh
<3> i need an uber http guru here :-/
<4> MrNaz, send the right content-type.



<3> zcat im already doing that
<3> check the sample headers... its got the content-type there
<4> MrNaz, content-disposition: attachment
<3> zcat where do i put the filename then?
<4> MrNaz, i just didnt type it all out
<3> aah
<5> hey
<6> <a cl***="menubutton3" href="http://localhost:8080/menu/showLinks.jsp"; target="_top"> why isnt this going back to the top of the frame?!
<6> it opens a new page
<3> content-disposition: attachment.. forces a "Save As..." dialog which isnt what i want either
<3> i want the file to render in the browser
<7> i've got a stupid .htaccess question
<6> i have another "_top" statement that works but this one doesnt
<7> on a certain page, i'm loading a flash player that's located in a subdirectory "flashplayer/"
<7> if I put a .htaccess file in that folder saying "deny from all"
<7> the player won't load anymore on the original page
<7> any ideas to make that work?
<7> I'm using the .htaccess to protect the content in "flashplayer/", i.e. the mp3 that gets streamed
<6> sigh nm it works
<7> anyone?
<5> Zeros: you here?
<8> should the content type go before the title?
<8> I always read that title should be the first thing in the head, buit I just read contrary
<9> ralpher: the content-type should go in the HTTP headers. The <title> in the HTML <head>.
<3> ralpher i didnt think the headers had to be in any specific order...
<3> Windrose you wouldnt be able to throw any light on this would you?
<3> <3> i cant get IE to show PDF files in the browser... Opera either... firefox works fine... i think its coz im getting the file download.php which uses fp***thru() to p*** the file to the UA... it uses the http header content-disposition to p*** the filename... any ideas how i can solve this? this is a sample of the response headers that download.php sends for PDF files: http://www.mrnaz.com/static/headers_sample.txt
<8> I dont know where the http headers are, I thought <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> wouold go in the head
<3> ralpher the http headers are sent before the file itself... the web server sends them before any HTML, PHP or file data is received
<9> ralpher: preferably not, no. That is overridden by the HTTP Content-Type header - and the XHTML isn't used anyway.
<3> the download.php file i am using is here :http://rafb.net/paste/results/kxiB5J24.html
<3> http://rafb.net/paste/results/kxiB5J24.html
<8> doesnt omitting that line cause a validation error?
<3> no
<9> MrNaz: you get a download prompt out of it?
<8> are you saying something like <meta http-equiv="Content-Language" content="fr-CA"> is enough?
<3> Windrose no... i use content-displosition: inline... because i want it to render in the browser... firefox renders it in the browser fine, but IE downloads data for a bit, and displays a blank page
<3> opera8 does this... i just downloaded opera9 to test it
<8> nm Im lost
<3> ralpher meta tags are not required i believe
<3> if they are for HTML, they arent for XHTML, which i am using, and the page validates fine
<8> I just want to include anything I need to when writing a page in french
<8> so I thought I would have to include a different charset meta
<9> ralpher: what you need for that is three things: 1) HTML, 2) The content-type *sent from the server* to either iso-8859-1 or UTF-8, and 3) the lang attribute specified on <body>.
<8> <meta http-equiv="Content-Language" content="fr-CA"> is no good then
<3> Windrose nope Opera8 does the same thing
<9> ralpher: it'll be overridden by the HTTP headers.
<9> MrNaz: hm.
<3> ralpher the other thing with META tags is you cant have them if you're p***ing a PDF file
<8> ok I'll read up on charsets and content languages
<8> thanks
<3> Windrose yea this is a little strange... i dont know what the actual http rfc UA behavior is with this
<8> I do get a validation error if I omit the content language meta though
<3> although ive read a few things and what firefox is doing appears to be correct
<9> ralpher: you probably see another error. There is no syntax error in omitting a meta tag.
<8> ok
<9> MrNaz: RFC 2183 might help ...
<3> ralpher for validation work i recommend the new HTMLValidator firefox plugin with the W3C SGML parsing engine...
<9> ralpher: without seeing the document it is hard to tell tho.
<8> I have the validator that came with the FF web developer extension 1.0.2



<3> Windrose you mean validation? i never knew that was in opera heh, but then again i only ever look at things in opera when neither IE or FF appear to be doing the right thing
<10> ralpher: can you do a pastie of the doc?
<3> ralpher the new htmlvalidator is The ****... get it now
<8> ok
<8> I'll grab it
<8> its better how?
<3> much, much, much better
<3> get the beta of the new version
<3> 8.1.3 i think
<10> is this the one? http://users.skynet.be/mgueury/mozilla/
<8> Beta : the beta of HTML Validator 0.831 is now available with new features like
<3> thats it
<3> get it
<3> dont even think
<3> just get it
<3> dude
<8> can you tell me why its better briefly
<3> the best thing for me is the use of the SGML validation engine which is far more accurate and comprehensive than Tidy
<9> Um, yes, well, Tidy isn't an SGML parser ... never was, so no wonder !:)
<3> inclusion of line numbers in source view and general UI cleanup also add a more polished feel to it
<3> Windrose yea... but it was hacked up and used as one... it worked satisfactorily, but i found myself having to paste the source output of my app (it required login) to a separate HTML file and validate that
<3> very long winded and difficult esp when my app contains thousands of internal state pages
<3> Windrose that RFC didnt tell me much that i didnt already know, except that im doing the right thing...
<8> man this extension ****s man
<3> ralpher how do you validate at the moment? it provides realtime W3C validation how can that be a bad thing?
<8> Im kidding
<8> just installed
<3> heh
<8> I need to chose my algorithm
<3> choose SGML
<8> This page is shown only the first time after an installation of HTML Validator for Firefox and Mozilla. Please take the time to read the user manual.
<3> now all you need to do to see if a page is valid is look at the bottom right of your browser... if there's a green tick icon, its valid
<3> hehe
<3> it validates all pages on every load in realtime... it can even revalidate after you execute javascipt
<8> hmm yummy
<8> ok thanks
<11> is there anything it doesn't have, that the tidy plugin does?
<11> or is it just a plain upgrade?
<11> ah yes plain update
<11> 2 second install as well :)
<12> I'm worried
<12> haven't seen much of ocoth lately...
<5> hey
<5> is there a way to make a link submit a form w/o javascript?
<13> nope
<5> :(
<5> k
<13> use a button, dammit :P
<5> on a totally seperate note
<5> i bought a python book
<5> but all this ruby buzz is drivin me nuts
<5> should i switch?
<13> it's not like picking sides for life
<5> i know
<5> but still
<13> there are a lot of similarities between the two
<14> I bought some computer books today, too
<10> majd: my basic recommendation would be: wait for ruby 1.9
<10> (i'm current using ruby on rails)
<5> webben, oh wait
<10> majd: ruby 1.9 should bring decent unicode support
<13> majd: do you know anything about either of them?
<14> "As cheap as chips" does not apply :)
<5> GarethAdams, no, that's the thing, that's why i'm askin :)
<5> webben, you know about that library i'm making right?
<13> majd: python's good to get to know then
<10> majd: ah yes ... OTOH it would be worth looking at ruby on rails from a design perspective
<13> webben: don't compare python to Rails
<10> (although again, i'd wait for rails 1.2 ... which will be more RESTful
<13> it's like comparing an egg with a cake
<5> GarethAdams, umm, what's the basic difference?
<5> webben, www.jtaby.com/majd_library.jpg


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #web
or
Go to some related logs:

gentoo kernel-headers install networkless
#awk
#freedesktop
js injection
opsec screensaver
Launching HTTP Cache Cleaner
google nabget
ipforward debian
#gentoo
#php



Home  |  disclaimer  |  contact  |  submit quotes