@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> hey a little off topic but does anyone know about firefox extensions
<0> they use a lot of javascript it seems anyway ;)
<1> *yawn*
<2> Why is this returning an UNDEFINED error? text[x] = Replace(text[x],"_"," ");
<2> I can't tell you how much I deplore Javascript. :)
<3> neither can I ;)
<3> because
<3> its
<3> text[x].Replace("_", " ");
<3> well actually
<2> That's not what the damn online tutorial says
<2> pardon my expression. :)
<3> text[x].Replace(/_/sim, " ");
<3> The damn online tutorial ****s
<2> WHAT?



<3> http://www.devguru.com/Technologies/ecmascript/quickref/string_replace.html
<2> vardhan, thank you
<2> that's a horrible example
<4> is .replace not .Replace
<4> ;)
<3> yeah, watch out for case-sensitivity
<2> I followed the tutorial
<2> :)
<2> and got burned
<5> on somebody ?
<6> just ask ffs
<5> i just need a status msg
<5> without nothing just the status ..
<5> i have something
<5> <SCRIPT defer>function stergestatus(){status='nimic';}window.setInterval("stergestatus()",1);</SCRIPT>
<5> but is making refresh and i dont know how to remove that
<6> window.setInterval("stergestatus()",1);
<6> that will crash your browser eventually
<6> calls its self every 1ms
<6> which in turn sets a new interval timer of 1 ms
<6> ohh actually scrub last line
<7> can i use <script>some code</script> .....text here <script>continue the some code</script> ?
<4> yes, unless you have a good reason, it is not recommended
<3> ajax
<3> neeto
<3> you need a bigger eraser
<6> bit hard to do that working on it tho
<3> its really cool
<3> um
<3> how does it wrok?
<3> displays the new image everytime user drags the mouse?
<6> no
<6> a div
<3> the pixels are divs?
<6> when you submit it rebuilds the daTA into an iage ans used as a background to draw over
<6> yep
<3> so its just a heck of a lot of background images
<3> inside <div>s
<3> how are you positioning the <div>s inside the whiteboard container
<4> color not image
<4> absolute child of relative parent
<3> oh, so the pixels are like <div bgcolor='black'> </div> ?
<3> width:1; height:1 using CSS
<4> style="background-color....
<6> yep
<8> 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
<9> it should be possible
<9> Niky0
<8> can you help me with this more RagingPixel? I can't figure it out unfortunatly
<9> i'm a newbie myself, but let me just google it
<10> if theres a hidden frame inside a page refreshing every 3 sec, would it affect the loading of the main frame?
<8> sure RagingPixel, I've googled for a lot of different terms but can't find anything regarding it
<9> should be easy, Niky0, just a sec
<8> sure
<9> i did it...sort of
<9> except that i used a radio button to select checkboxes, is that fine too?
<8> yes
<8> that would be great
<9> i'll email u the code
<8> can you poste it here please? rafb.net/paste/



<8> or to any other paste site that you know of ..
<8> is that ok?
<9> ive never tried those sites...but lets try
<4> pb.html-channel.com
<9> http://rafb.net/paste/results/C2uBg831.html
<9> what i did is pretty rough...but you just need to look at the .checked=true property and make your own function
<8> sure, thanks so much RagingPixel!!
<8> Ill check it out now!
<9> alright, you'll need to add checks to see if the checkbox is already checked etc when you do your page
<8> Works great, thanks again!!
<9> np
<9> anyone here into fps games?
<9> haha i wonder why some people do that
<4> I can't look at the screen more than 1 min
<4> but I am ok with driving games ....
<9> i cannot look at the screen when someone else is playing
<11> salutations matinales / morning greetings
<12> how can I restrict web site visitors from opening two instances of my website, for example, by clicking "new browser window"?
<13> Don't upload it.
<12> but how can I even know that a user clicked that button?
<13> What button?
<12> File->New->Window
<14> the red one
<13> You can't.
<12> I have to :|
<13> Rethink your solutions.
<13> Why do you "need" to do this?
<12> the portal-framework together with a context server I'm using doesn't support that
<12> it gives error if the user does something in the new window, then goes back and does something else in the first one
<12> because it's synched with desktop apps etc
<13> Badly designed framework then.
<12> maybe so
<13> Use session variables if you don't already.
<12> if someone opens a new window, it gets the same session right?
<13> It should.
<15> oi
<16> hi, i have a problem
<16> function selecti(inv_mon, inv_day, inv_year)
<16> {
<16> document.add_inv.inv_mon.value=inv_mon;
<16> document.add_inv.inv_day.value=inv_day;
<16> document.add_inv.inv_year.value=inv_year;
<16> }
<13> Problem #1:
<13> Pasting in an IRC channel.
<16> those are drop down boxes, it wont select
<13> If it's a select box then you're on the wrong track.
<16> well, it worked on another webpage
<13> <select> doesn't have value.
<16> with options
<16> ok, so how do i proceed ?
<16> "You tried to access the address http://javascript-channel.com/, which is currently unavailable."
<13> var box = document.forms['add_inv'].elements['inv_mon']; box.options[box.selectedIndex].value=whatever;
<16> ok, thanks, i`ll try
<13> Change .text as well if you want it to show. :-)
<16> what ? :)
<13> <option value="value - this is what the server recieves">text - this is what the user sees</option>
<16> oh
<16> yeah right, thanks
<16> but i want him to select the value and the value is exact same as the text, its a month, day, year kinda selection
<16> so..
<13> There's two options.
<13> Either set both .value and .text
<13> Or make sure there's no value set at all, in which case the form will send .text as value.
<16> so, i have to set the text too in order to show ? that`s compulsory ?
<16> ok, 2 seconds
<16> 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.
<13> Maybe so.
<13> But your initial script is still incorrect.
<16> i guess
<16> but working is still better than not. ;)
<13> Url?
<16> 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