| |
| |
| |
|
Page: 1 2
Comments:
<furtive> hehe <ht311> for you getting a extra day off tomorrow <ht311> :P <furtive> nope <furtive> we only get friday off <ht311> hahaha <furtive> i'm a mere human, just like you <ht311> but the bank close tomorrow> <furtive> yeah, but it's the end of the quarter, so lots of stuff to do behind the scenes <ht311> ic <furtive> found my memory key <furtive> heh, and i just filled this one... <optocus> hi <optocus> can't i add functions to an existing object? <optocus> i have a div and i want to do onclick="this.func();" <optocus> so i did a function onPageLoad { document.getElementById('mydiv').func = function () { .... } } <[furtive]> document.getElementById("divId").onclick = function() {//your awesome code here} <[furtive]> there is no "onPageLoad" <optocus> i did <body onLoad="onPageLoad()"> <[furtive]> onload = function(){ document.getElementById('divId').onclick = function() {//your awesome code here}} <[furtive]> then you don't need to put anyting in the body tag either ;-) <optocus> i see <optocus> thanks [furtive] <[furtive]> np <optocus> but i want it diffrent <optocus> see i have a div <furtive> doesn't matter <furtive> and i wrote "divId" in my example <optocus> and in that div i have a link - onmousedown i start to resize, onmouseup i stop resizing THE BIG DIV <furtive> see, tailor made just for you <furtive> ya ya, nothing new there. <ht311> heh <furtive> but that's separate to what you first asked <ht311> i am hooked on watching south park on youtube <furtive> hehe <optocus> :) <optocus> i'll do it the way you told me <optocus> i'm using id's for the handler links... <furtive> octopus: you can also attach those events to objects <optocus> i am attaching the events to the handler links, and when they are called i do what i wat with the main div <optocus> guys <optocus> ht311 <optocus> you there man? <ht311> ? <optocus> i'm working at a vertical-resize script for a div <optocus> and doesn't works right, just gets bigger i can't make it smaller... <optocus> let me give you the link <optocus> hold a sec <ht311> k <ht311> going to reboot <optocus> http://localhost/RAC/Megotta-portal/ <optocus> user: megotta p***: turtle <optocus> in IE 6 almost works well... <optocus> almost.. <optocus> ht311 i corrected it... the ugly way :) <Salix_> Hello! I have onClick on one of my SELECT element to figure out what is selectedIndex. But whenever I click the selectedIndex returns the index that was selected before and changes the selection afterwareds. Is there a workaround? <optocus> onChange <optocus> in the select <optocus> Salix_ onChange="sel = this.value;" <optocus> and sel will have the value of the selected option <optocus> ht311 ... <ht311> back <optocus> http://86.126.149.84/RAC/Megotta-portal/ <optocus> user: megotta p***: turtle <optocus> any sugestions tips on how to make it work in IE and FF well? <optocus> i found some workarounds but i'm not 100% happy with them <optocus> the fun will be when i'll have to talk to the Flash video player and tell him to resize :)) <optocus> going to have a smoke <optocus> let me know what you think please <ht311> it work in both <ht311> stop using javascript: <StaZ[home]> hey guys, it's me again... still have some troubles with objects and arrays and stuff like that... so i got this DIV that has several elements nested in it... i need to loop all <input>s and set the .disabled to true... so i thought of : var elements = document.getElementById('NewContractValue').childNodes; for(var elem in elements) { what to put here !? } <StaZ[home]> and more of that... i would like to know where i could get this information without asking you guys <StaZ[home]> in VB i would stop the code and add a watch and check the properties to see what i need but i can't do that in JS :P <ht311> i will use the form access way <ht311> you could <StaZ[home]> oh?! <ht311> with vs <StaZ[home]> Interdev? <Salix_> octopus: I hesitate to use onChange because I use the JS routine to call an AJAX thingy. I simply do not want to send that call in every and each change only in case of pressing enter (works) and in case of a click (doesn't work). But I give a try... <ht311> need to enable debugging <StaZ[home]> or the new webdev 2005 app <ht311> any vs <StaZ[home]> okay i'll have to find out how to do that... <ht311> one sec <Salix_> octopus: Do you mean to make the selection with the onChange and suggesting me to leave the same onClick function I had before? {:-. Can this work? <ht311> http://www.jibbering.com/faq/faq_notes/form_access.html <ht311> http://atlas.asp.net/docs/Overview/debug.aspx <ht311> "Configuring Internet Explorer for Debugging" <ht311> work with any version of vs, i***ume you have that <StaZ[home]> about the form access... hm, my form's bigger than what's in my div... did i miss something in my overview of the page? <StaZ[home]> yeah i got VS6 and some parts of VS8 :P <ht311> oh only stuff in div <StaZ[home]> oh but it's all right if you say i can debug in IE i'll have a look :) thanks for that didn't know <ht311> i will use mydiv.getElementsByTagName <StaZ[home]> oh... i note that <optocus> salix: onlu onchange <ht311> nite <optocus> ht311 why not use href="javascript:;" what i use instead? if i have # it movs me on top <htZZZ> onclick="blah();return false;" <optocus> ok <optocus> click in IE minimize <htZZZ> zzz <optocus> if f**** the layout a little see? <StaZ[home]> huh... IE doesn'T offer me the option to debug <optocus> ok htzzz <optocus> :) <optocus> nite <optocus> any of you know where i can download IE5 and IE5.5 ? <htZZZ> view->script debugger <htZZZ> really nite <StaZ[home]> ain't got that :-/ <StaZ[home]> good nithg anyway, i'll try venkman tool for FF <Alyssa^^f> there is a way to send whole page to url inside iframe? <Alyssa^^f> like i have page, and if i press "send" inside iframe, i want it will send the target to whole page and not only inside the iframe <SufiBlade> should be possible <Alyssa^^f> how? <SufiBlade> well, on submit u can point to window. instead of window.frames. <Alyssa^^f> what do u mean? <Alyssa^^f> how do i do it/? <Alyssa^^f> i found somthing like <script> if (top.location != self.location) {top.location = self.location.href;}</script> ... but its gives me the iframe inside, i need it reseve <SufiBlade> sorry, ive never done it myself...someone should be able to help u soon <Salix_> Hi! I want to check if mouse caused the change in a SELECT list. How to check with a function (called by onChange) if a mouse button was clicked . I do not want to user onClick... Any ideas? <Salix_> I mean 'to use'... <SufiBlade> u can just set a variable on OnClick <Dom12> hello all <Dom12> having some trouble with my expand / contract script at http://pastebin.com/664579 its expanding but the contract text isnt unhiding, anyone free to take a look? <Fernando> anyone know the sleep() function in php? <Fernando> i wanna make something like that <Fernando> what i wanna do is, put a sleep(N), then the next function after sleep(N) will start in N seconds <gostas> hi <gostas> i have a question, is there any way to print a html file to the default printer and byp*** the printer dialog box? <SufiBlade> no <gostas> i'm not familiar with these things ... does activex has something to do with this? <SufiBlade> no <SufiBlade> the print thingy is part of the browser and the browser does not allow direct print command <SufiBlade> u cant byp*** the dialog <gostas> ok thanks.... <Emma23> hey, i want the white table will be hight 100%, how do i do it? http://pastebin.com/664717 <adrian^-^> hi <adrian^-^> i'm having some problems with JS code that is returned by an Ajax call, i've read that it should be included in a CDATA section and do eval on it, but i'm not sure how to do this eval and when..? <DaXpert> hi all. can anyone give me a hand? i got a js problem <DivXp> anyone here? <Alyssa^^f> amm, there is any way to tell script that if the page is not in the frame he'll send him to yahoo.com etc?? <Alyssa^^f> like blocking from viewing stuff inside the frame without the whole page <Advocated> dont suppose anyone can identify whats up with this please? <Advocated> <a href="void(0)" onclick="document.getElementById('recipe_description').innerHtml =+ '<bold></bold>'";</a> <Advocated> its just not doing anything <RoBorg> there's a few things wrong <[Torgo]> <a href="#" onclick="document.getElementById('recipe_description').style.fontWeight='bold';return false"></a>
Return to
#javascript or Go to some related
logs:
start-stop-daemon debian jboss file recover linux undelete rm ext3 command #chatzone gispita #php #linux linux tv-out 6600gt mplayer dianne llanera #teens #linuxhelp
|
|