@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<two|face> hey a little off topic but does anyone know about firefox extensions
<two|face> they use a lot of javascript it seems anyway ;)
<fatbrain> *yawn*
<Rex_Goodhear> Why is this returning an UNDEFINED error? text[x] = Replace(text[x],"_"," ");
<Rex_Goodhear> I can't tell you how much I deplore Javascript. :)
<vardhan> neither can I ;)
<vardhan> because
<vardhan> its
<vardhan> text[x].Replace("_", " ");
<vardhan> well actually
<Rex_Goodhear> That's not what the damn online tutorial says
<Rex_Goodhear> pardon my expression. :)
<vardhan> text[x].Replace(/_/sim, " ");
<vardhan> The damn online tutorial ****s
<Rex_Goodhear> WHAT?
<vardhan> http://www.devguru.com/Technologies/ecmascript/quickref/string_replace.html
<Rex_Goodhear> vardhan, thank you
<Rex_Goodhear> that's a horrible example
<ht311> is .replace not .Replace
<ht311> ;)
<vardhan> yeah, watch out for case-sensitivity
<Rex_Goodhear> I followed the tutorial
<Rex_Goodhear> :)
<Rex_Goodhear> and got burned
<R0meo> on somebody ?
<NeoFuture> just ask ffs
<R0meo> i just need a status msg
<R0meo> without nothing just the status ..
<R0meo> i have something
<R0meo> <SCRIPT defer>function stergestatus(){status='nimic';}window.setInterval("stergestatus()",1);</SCRIPT>
<R0meo> but is making refresh and i dont know how to remove that
<NeoFuture> window.setInterval("stergestatus()",1);
<NeoFuture> that will crash your browser eventually
<NeoFuture> calls its self every 1ms
<NeoFuture> which in turn sets a new interval timer of 1 ms
<NeoFuture> ohh actually scrub last line
<MiddleFinger> can i use <script>some code</script> .....text here <script>continue the some code</script> ?
<ht311> yes, unless you have a good reason, it is not recommended
<vardhan> ajax
<vardhan> neeto
<vardhan> you need a bigger eraser
<NeoFuture> bit hard to do that working on it tho
<vardhan> its really cool
<vardhan> um
<vardhan> how does it wrok?
<vardhan> displays the new image everytime user drags the mouse?
<NeoFuture> no
<NeoFuture> a div
<vardhan> the pixels are divs?
<NeoFuture> when you submit it rebuilds the daTA into an iage ans used as a background to draw over
<NeoFuture> yep
<vardhan> so its just a heck of a lot of background images
<vardhan> inside <div>s
<vardhan> how are you positioning the <div>s inside the whiteboard container
<ht311> color not image
<ht311> absolute child of relative parent
<vardhan> oh, so the pixels are like <div bgcolor='black'> </div> ?
<vardhan> width:1; height:1 using CSS
<ht311> style="background-color....
<NeoFuture> yep
<Niky0> Hi there! I am wondering if I can use a tickbox which when ticked will check several radio buttons. I have a "I agree to all terms & conditions" tickbox that I want to check 2 radio buttons when ticked. Is this possible? thank you
<RagingPixel> it should be possible
<RagingPixel> Niky0
<Niky0> can you help me with this more RagingPixel? I can't figure it out unfortunatly
<RagingPixel> i'm a newbie myself, but let me just google it
<z_dak> if theres a hidden frame inside a page refreshing every 3 sec, would it affect the loading of the main frame?
<Niky0> sure RagingPixel, I've googled for a lot of different terms but can't find anything regarding it
<RagingPixel> should be easy, Niky0, just a sec
<Niky0> sure
<RagingPixel> i did it...sort of
<RagingPixel> except that i used a radio button to select checkboxes, is that fine too?
<Niky0> yes
<Niky0> that would be great
<RagingPixel> i'll email u the code
<Niky0> can you poste it here please? rafb.net/paste/
<Niky0> or to any other paste site that you know of ..
<Niky0> is that ok?
<RagingPixel> ive never tried those sites...but lets try
<ht311> pb.html-channel.com
<RagingPixel> http://rafb.net/paste/results/C2uBg831.html
<RagingPixel> what i did is pretty rough...but you just need to look at the .checked=true property and make your own function
<Niky0> sure, thanks so much RagingPixel!!
<Niky0> Ill check it out now!
<RagingPixel> alright, you'll need to add checks to see if the checkbox is already checked etc when you do your page
<Niky0> Works great, thanks again!!
<RagingPixel> np
<RagingPixel> anyone here into fps games?
<RagingPixel> haha i wonder why some people do that
<ht311> I can't look at the screen more than 1 min
<ht311> but I am ok with driving games ....
<RagingPixel> i cannot look at the screen when someone else is playing
<L`OcuS> salutations matinales / morning greetings
<memox> how can I restrict web site visitors from opening two instances of my website, for example, by clicking "new browser window"?
<Pilum> Don't upload it.
<memox> but how can I even know that a user clicked that button?
<Pilum> What button?
<memox> File->New->Window
<SufiBlade> the red one
<Pilum> You can't.
<memox> I have to :|
<Pilum> Rethink your solutions.
<Pilum> Why do you "need" to do this?
<memox> the portal-framework together with a context server I'm using doesn't support that
<memox> it gives error if the user does something in the new window, then goes back and does something else in the first one
<memox> because it's synched with desktop apps etc
<Pilum> Badly designed framework then.
<memox> maybe so
<Pilum> Use session variables if you don't already.
<memox> if someone opens a new window, it gets the same session right?
<Pilum> It should.
<core`> oi
<Omnem> hi, i have a problem
<Omnem> function selecti(inv_mon, inv_day, inv_year)
<Omnem> {
<Omnem> document.add_inv.inv_mon.value=inv_mon;
<Omnem> document.add_inv.inv_day.value=inv_day;
<Omnem> document.add_inv.inv_year.value=inv_year;
<Omnem> }
<Pilum> Problem #1:
<Pilum> Pasting in an IRC channel.
<Omnem> those are drop down boxes, it wont select
<Pilum> If it's a select box then you're on the wrong track.
<Omnem> well, it worked on another webpage
<Pilum> <select> doesn't have value.
<Omnem> with options
<Omnem> ok, so how do i proceed ?
<Omnem> "You tried to access the address http://javascript-channel.com/, which is currently unavailable."
<Pilum> var box = document.forms['add_inv'].elements['inv_mon']; box.options[box.selectedIndex].value=whatever;
<Omnem> ok, thanks, i`ll try
<Pilum> Change .text as well if you want it to show. :-)
<Omnem> what ? :)
<Pilum> <option value="value - this is what the server recieves">text - this is what the user sees</option>
<Omnem> oh
<Omnem> yeah right, thanks
<Omnem> but i want him to select the value and the value is exact same as the text, its a month, day, year kinda selection
<Omnem> so..
<Pilum> There's two options.
<Pilum> Either set both .value and .text
<Pilum> Or make sure there's no value set at all, in which case the form will send .text as value.
<Omnem> so, i have to set the text too in order to show ? that`s compulsory ?
<Omnem> ok, 2 seconds
<Omnem> damnit, still doesnt work... i`m in the blue here cause in another page it works with my initial script.. there must be something f*cked up in another place.
<Pilum> Maybe so.
<Pilum> But your initial script is still incorrect.
<Omnem> i guess
<Omnem> but working is still better than not. ;)
<Pilum> Url?
<Omnem> localhost :(


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#linuxhelp
freebsd TIOCSTI
#c++
64bit bridge-utils for slackware
melodia stele care cad
Cannot join channel (+r) undernet
#php
#linuxhelp
#AllNiteCafe
#skype



Home  |  disclaimer  |  contact  |  submit quotes