@# 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



Comments:

<0> depends where the string is located
<1> CG|exe: thx
<2> I'm trying to set a tr's border style with javascript (element.style.border='1px solid red'), and it's totally ignored. Setting the property in the css file works fine, and setting the style property on a different element also works fine.
<3> CG|exe: i've also placed the text into a div but same result ...
<2> Am I missing something? Is tr border style implemented differently in js than through css?
<3> how to set the width of the div to the size of its content ? (is that possible) ?
<4> Does anyone know how to reliably get the FULL window height (not just the part that is visible, but including the area you have to scroll down to see)
<0> just let it autosize?
<0> again :P .scrollHeight
<0> well off for a movie
<1> IT WORKS :)
<5> eml, you get it yet?
<5> eml, http://pastie.caboo.se/3777 # if you want to see what I've been working up O.o
<6> pst, actually I haven't looked at it yet =)
<6> was starving, gonna look at it now
<6> pst, I don't understand what clamp() does? :-O



<5> eml, it limits the value
<5> clamp(100, 2, 99) => 99
<5> clamp(1, 3, 20) => 3
<6> Mmkay..
<6> What about id_or_elm() ?
<7> Hali_303: look for mentions of 'td' in all the scripts
<6> Or not.. resolve_element rather
<5> eml, that is so you can do fade("my_id", ...) or fade(myElement)
<5> eml, it will get the element by ID if you just p*** a string (hopefully the ID)
<6> Okay
<5> eml, but will otherwise simply return the object (we're ***uming that they p***ed in a string containing the ID _or_ an actual element)
<6> Mmh
<7> the function more commonly known as $
<5> deltab, that's standard? O.o
<6> pst, Trying to figure out what I did wrong. :-)
<5> eml, setInterval does not block the rest of the code execution
<7> pst: not standard, but becoming fairly common
<5> deltab, this is my poor copy then :p
<6> pst, I still don't get it.
<7> on the contrary, it's the most compact version I've seen
<5> eml, so, right after you set the timer you clear innerHTML -- but the timer has never run yet!
<6> ;O
<5> eml, you need to delay that until the fade is complete
<5> eml, my code gets around it by using callbacks
<6> Ah, clever. :-)
<6> Can I use it freely? :-P
<5> if it works O.o
<6> Pfft, whatever ;)
<5> 'oncomplete(id_or_elm)' would be more clever as 'oncomplete(elm)' though, or maybe p***ing multiple args depending on the semantics you like
<6> Hmm, it doesnt work
<5> fade("id", ..., function (elm) { elm.innerHTML = "foo" }); #saves a lookup for you O.o
<6> Error: Error in parsing value for property 'opacity'. Declaration dropped.
<6> Source File: http://localhost/eml/
<5> eml, it works great in FF :-)
<5> eml, IE?
<6> FF
<6> I'm probably using it wrong
<6> It's in an infinite loop
<5> eml, which version of FF? try it making these changes:
<5> .style.opacity = "" + value (have JS turn it into a string first)
<6> Mozilla/5.0 (X11; U; Linux i686 (x86_64); rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
<5> eml, there is two places 1) in fade(), 2) in fadeInSidebar
<5> and it's terribly broken in IE O.o
<6> I was just using it wrong
<5> eml, ohh, cool. Still broken in IE :p
<5> (It just well, doesn't fade)
<5> But the timers are going correctly (can see from the alert and content change)
<5> So it's just the style.opacity bit is broken for IE :(
<6> It doesnt fade because IE doesn't support style.opacity.
<6> Yeah.
<5> lame O.o
<6> M$.
<6> Hmm. Actually, if you remove your mouse before it has faded in it might start blinking, at least here it does. :-)
<8> actually, IE does have an opacity of sorts
<8> but you have to do it for proper web browsers, and then do a seperate method for ie
<6> a.k.a. no method in this case, perhaps a window.close();
<6> It does give me this sometimes: Error: Error in parsing value for property 'opacity'. Declaration dropped.
<6> Source File: http://localhost/eml/
<5> Redb3ard, what's the IE method?
<5> eml, even with the pre-stringification?
<6> Yeah... when you're abusing it it gives you that. :-)



<6> It's kind of nice now though imo, http://home.eml.nu/eml/ :-P
<6> I hope you don't mind "Imo", bad habit. :-/
<5> eml, how do you abuse it?
<6> You point your mouse over and out on every one of them quite fast
<5> eml, so you catch a multitude of fade events, I should implement fade control :)
<6> :P
<6> Hmm... what's the opposite of visiblity: hidden? :-D
<9> eml: There isn't really an opposite, there are a few values it can accept.
<9> eml: http://w3.org/TR/CSS2/ - the property index is quite handy
<6> Well if it's hidden, how do you show it? :-)
<6> visible probably
<6> nope :-)
<5> eml, http://pastie.caboo.se/3777
<5> eml, updated fade function
<5> eml, see how that works with rapid fade changes
<6> Perfekt!
<6> ct*
<5> eml, one last update to that pasti, refresh it O.o
<6> Ok :-)
<5> Wait, I feel a restucture coming on :p
<6> :-(
<5> it will refect the responsiveness by one loop cycle :p
<6> Hmm, okay. :P
<6> pst, Could you give me the paste in priv or /notice? 00:45 am here
<10> hmmmm, i can't figure out how to check the value of this select for some reason. I have tried three or four ways of getting at it, but IE just won't spit out the value.
<10> (firefox, however, does spit out the value, in all of these cases)
<5> eml, okay, doing more work :))
<6> pst, :) Dude, thanks for all your help
<6> Saved me lots of hours
<0> sirkha_top, .selectedIndex
<10> tried that, CG|exe
<10> (i need the actual value, not just the index)
<0> .value should work
<10> thats what i say too, but it isn't
<10> it just comes out blank
<10> i'll pastebin the relative parts of code
<0> sure you have specified a value then?
<10> yup
<11> you sure you have the object? :-)
<0> <option value="value"></option>
<11> how are you getting the object?
<10> i've tried both get object by ID, and working through the DOM
<0> has the document loaded?
<10> CG|exe: I have <option>value</option>
<0> you should use the model I wrote...
<10> hmmm, odd
<10> i'll try it, though
<0> that one you wrote is retriavable through.innerText
<10> maybe i'll use that
<0> option[x].innerText
<12> innerText is IE only
<12> option[x].text
<11> innerHTML would work
<11> <.<
<11> >.>
<8> pst, if you're still here, is a css property called "filter", works a bit differently than opacity
<8> same end result though
<5> Redb3ard, works in IE with range 0-1?
<11> 0 - 100%
<13> hi
<8> let me check
<13> can someone tell me a good javascript documentation online?
<8> filter:alpha(opacity="75"); should be equiv to opacity:0.75
<8> am i getting the syntax right there? think i am, but i set mine with javascript
<8> basically, whatever the moz/opera/safari opacity you set, you need to *100 it for filter
<8> ive got a dumb question.... as you remove options from a select, supposing you remove the selected option, whats the proper behavior for the select list?
<8> does it default to the first option (of those remaining) or what?
<8> moz seems to choose the first of the remaining
<0> yes
<8> ok, so my picturelist needs to mirror that behavior
<13>
<14> hi room
<14> I need help
<14> i am trying call a popup from a iframe


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#debian
GNQS openmosix
#perl
#redhat
#css
JLTorrente
firestarter
brother mfc 6800 error 77
#perl
install irssi on ubuntu-server



Home  |  disclaimer  |  contact  |  submit quotes