| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Comments:
<0> Where can I get an SSL cert signed for cheap? <1> I've never seen SSL being cheap <2> anyone used yahoo ui lib? <3> quintin: do it yourself. Or get VeriSign to do it. <0> Windrose: I want it signed by an authority <3> quintin: yes. What /kind/ of authority? See: VeriSign <4> `css background-position <5> Found for CSS 2 - background-position - http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background-position <6> happy_broccoli, sh1mmer's probably the fellow to ask. <0> Windrose: whatever will keep browser from complaining <7> happy_broccoli: sure <3> quintin: then VeriSign is your friend. <8> Quintin <8> www.positivessl.com has some nice prices, or I think namecheap.com is $15.99. <8> I got mine at PositiveSSL, which is a Comodo certificate, for $14.95 but they have since raised the prices. <2> sh1mmer: does it base off a php model or some kind of model?
<2> sh1mmer: eg is it standalone js or does it have hooks into a server side programming environment <7> happy_broccoli: stand alone. it's not rails. there may be integrations out there. <6> happy_broccoli, http://sonjayatandon.com/07-2006/how-to-get-rails-and-the-yahoo-user-interface-yui-to-talk-part-1/ ... using rails and YUI together <9> hello, i do a onsubmit="return checkform(this);" in a form.. in firefox it executes this function. but not in IE? <10> do you do it in the form, or in the input element? <11> JibberJim, sorted it everything <10> cool konrads <10> I hardly helped :) <11> JibberJim, the missing char was a dynamic element, that had a <11> \n in ir <11> it <11> you did! <11> and there was "Object does not support this kind of op" <11> i had item=mylist[id]; <11> and sorted by adding var item=mylist[id] <9> JibberJim in the form <10> so IE is probably executing it <10> but erroring <9> i dont see any error <10> change it to onsubmit="func();return false" <10> and then look for the error <9> still no erro <9> r <10> so stick some alerts in the function <10> what happens? <9> nothing i tried that <10> show me the form element <9> but when i do onsubmit="alert('test');" <9> that works <11> i saw this trick of void(myop()); <9> <form action="sartist.php" action="post" onsubmit="return checkform(this);"> <11> dssd, that's cause of the return value <11> dssd, if you want to form the submit <11> add a return true; <9> ehm no <9> i want the checkform to execute <9> i placed it in head, inside a <script> <11> if you want it not to do so, then do a onsubmit="void(checkform(this));" or checkForm(this);return false; <9> the same code works in some other page <9> but i dont get it working here. the line onsubmit.. etc. is fine <9> but it doesnt find the function <9> if i put some alert in the function.. it doesnt alert anything, except in fireFox it does <11> dssd, the return value <11> if a function returns true in onsubmit event, form works. <11> else , form does not <9> konrads yes.. i know <9> but the function i am calling is NOT called for some reason <9> thats the problem <9> the idea is if some field is not filled in it returns false and some alert <9> but this function is not called at all <9> (in IE) <9> wait its called now <9> cache .. DOH@ <9> ! <12> :( <12> http://zip.4chan.org/c/src/1168626115566.jpg <- The special jam killed her <12> http://zip.4chan.org/c/src/1168622464383.gif <- What you see spinning there is actually a manifestation of the dreams of the girl in a coma <12> Or so I'm lead to believe <12> led
<9> hello, one more question. form.artist.value is the name of a option in a select box, but how do i get the value? <9> so <option value="2">name <9> how do i get 2? <9> someone? <13> dssd, Don't access elements on the DOM by name like that. document.getElementById("myoption").value is the value <10> Zeros, the form method is a lot more reliable <13> um so use document.forms <13> There's no reason to be accessing elements on the DOM by name <13> certainly not since names may have duplicates <9> im confuse <9> d <10> document.forms.form.name is the same as document.forms['form']['name] and is safe <9> i can explain <13> JibberJim, what browser except IE5 has issues with that? I believe even IE5 works with the getElementById route <14> how do i vertical align something with css? <13> Every modern browser I can think of is fine with getElementById() (Opera, Gecko, Safari, Konq, IE6+) <9> function checkform( form ){} <-- JS <form .. onsubmit="return checkform(this);"> <-- FORM <select name="artist"> <-- SELECT <9> now how would i access the option VALUE in select? <10> Zeros no browser has problems with the form.chicken or forms['chicken'] <9> alert(form.options[artist.selectedIndex].value); <== error <10> form.artist.options[form.artist.selectedIndex].value <9> no .. doesnt work either <13> JibberJim, So you're using DOM level 0 for IE5 support? <10> Who cares for what support <10> I'm using the most appropriate properties <13> heh, might as well use tables then, that'll get you the most support <10> and it's DOM level 2 <10> no, because tables are not appropriate <10> however using the most appropriate DOM level 2 properties does make sense <9> jibBE JIM, any other idea? <6> Zeros, well JS isn't usually a repository of semantic information <9> sorry for caps <13> So what browser has issues with getElementById? <10> loads <6> so I wouldn't say using browser JS is the same as using tables <13> JibberJim, You're right, it was added in Level 2, I take that back. And name them... <10> it relies on adding a load of ID's into your form <10> so now you have to double up name and ID on every form element <10> Zeros it wasn't added in DOM Level 2 <13> JibberJim, So use getElementsByName? <15> Usually a good idea to do that anyway - for <label> support <10> it's been there in every version of the HTML DOM <13> JibberJim, and you realize that with XHTML name is obsolete and you need an id anyway <10> Who cares what happens with XHTML? <10> there are precious few XHTML user agents <13> Who cares about some obscure browser you will not name that has issues with getElementById <10> <input name="chicken"> <10> <- document.getElementById('chicken') is not VALID HTML DOM <10> it should not return the node - the SPEC cares <13> of course, you need an id attribute... <9> ..........' <13> <label for="chicken"><input name="chicken" id="chicken"></label> <13> where's the problem? <9> youre taklking all this **** <9> but im not helped by it :P <10> so to make this more complicated DOM call you then start adding lots more attributes <10> it's no wonder web design is so ****e with people endlessly encouraging the most complicated method for solving anything <13> JibberJim, No, I added the _proper_ attributes. By adding a label I add semantic value to the text with the input description. By adding an id I make clicking that text jump focus to the input AND i bind the two together semantically. <10> you have no idea if adding a label increased the semantic value of the form <10> and now you have duplicate name/id which is increased complexity <13> Um what? label is the proper semantic element for input labels <13> That's like saying that <p> adds no semantic value to a paragraph <10> you're ***uming there was a label... <13> might as well you a div... <13> JibberJim, There should be a label, how else is the user to know what the input is for? <10> www.google.com <13> That's a horrible design if you're omitting labels <10> who doesn't know what that input element is for? <13> Don't cite google, that page is horrible. <10> where's it's label - it doesn't have one, because having one decreases the usability of that page <13> JibberJim, No, it does not. Adding a label _increases_ the usability of that page <13> Now a reader, a text browser AND a person knows what the input is for. The submit button is not a replacement for labeling your inputs. <13> And its trivial to hide the label if you really don't want it displayed next to the input. Heck they could even place the label over the input and have it say "Enter search query here" <10> You're confusing adding more words to a page as making it more usable
Return to
#web or Go to some related
logs:
#php synergy ctrl-alt-backspace cmi8738 xorg.conf 5.1 Examples using LWP xyz359 #css frostwire wont load ubuntu TranceRiver bzip2-devel ubuntu #math
|
|