| |
| |
| |
|
Page: 1 2
Comments:
<0> hehe <1> for you getting a extra day off tomorrow <1> :P <0> nope <0> we only get friday off <1> hahaha <0> i'm a mere human, just like you <1> but the bank close tomorrow> <0> yeah, but it's the end of the quarter, so lots of stuff to do behind the scenes <1> ic <0> found my memory key <0> heh, and i just filled this one... <2> hi <2> can't i add functions to an existing object? <2> i have a div and i want to do onclick="this.func();"
<2> so i did a function onPageLoad { document.getElementById('mydiv').func = function () { .... } } <3> document.getElementById("divId").onclick = function() {//your awesome code here} <3> there is no "onPageLoad" <2> i did <body onLoad="onPageLoad()"> <3> onload = function(){ document.getElementById('divId').onclick = function() {//your awesome code here}} <3> then you don't need to put anyting in the body tag either ;-) <2> i see <2> thanks [furtive] <3> np <2> but i want it diffrent <2> see i have a div <0> doesn't matter <0> and i wrote "divId" in my example <2> and in that div i have a link - onmousedown i start to resize, onmouseup i stop resizing THE BIG DIV <0> see, tailor made just for you <0> ya ya, nothing new there. <1> heh <0> but that's separate to what you first asked <1> i am hooked on watching south park on youtube <0> hehe <2> :) <2> i'll do it the way you told me <2> i'm using id's for the handler links... <0> octopus: you can also attach those events to objects <2> i am attaching the events to the handler links, and when they are called i do what i wat with the main div <2> guys <2> ht311 <2> you there man? <1> ? <2> i'm working at a vertical-resize script for a div <2> and doesn't works right, just gets bigger i can't make it smaller... <2> let me give you the link <2> hold a sec <1> k <1> going to reboot <2> http://localhost/RAC/Megotta-portal/ <2> user: megotta p***: turtle <2> in IE 6 almost works well... <2> almost.. <2> ht311 i corrected it... the ugly way :) <4> 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? <2> onChange <2> in the select <2> Salix_ onChange="sel = this.value;" <2> and sel will have the value of the selected option <2> ht311 ... <1> back <2> http://86.126.149.84/RAC/Megotta-portal/ <2> user: megotta p***: turtle <2> any sugestions tips on how to make it work in IE and FF well? <2> i found some workarounds but i'm not 100% happy with them <2> the fun will be when i'll have to talk to the Flash video player and tell him to resize :)) <2> going to have a smoke <2> let me know what you think please <1> it work in both <1> stop using javascript: <5> 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 !? } <5> and more of that... i would like to know where i could get this information without asking you guys <5> 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 <1> i will use the form access way <1> you could
<5> oh?! <1> with vs <5> Interdev? <4> 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... <1> need to enable debugging <5> or the new webdev 2005 app <1> any vs <5> okay i'll have to find out how to do that... <1> one sec <4> 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? <1> http://www.jibbering.com/faq/faq_notes/form_access.html <1> http://atlas.asp.net/docs/Overview/debug.aspx <1> "Configuring Internet Explorer for Debugging" <1> work with any version of vs, i***ume you have that <5> 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? <5> yeah i got VS6 and some parts of VS8 :P <1> oh only stuff in div <5> 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 <1> i will use mydiv.getElementsByTagName <5> oh... i note that <2> salix: onlu onchange <1> nite <2> ht311 why not use href="javascript:;" what i use instead? if i have # it movs me on top <6> onclick="blah();return false;" <2> ok <2> click in IE minimize <6> zzz <2> if f**** the layout a little see? <5> huh... IE doesn'T offer me the option to debug <2> ok htzzz <2> :) <2> nite <2> any of you know where i can download IE5 and IE5.5 ? <6> view->script debugger <6> really nite <5> ain't got that :-/ <5> good nithg anyway, i'll try venkman tool for FF <7> there is a way to send whole page to url inside iframe? <7> 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 <8> should be possible <7> how? <8> well, on submit u can point to window. instead of window.frames. <7> what do u mean? <7> how do i do it/? <7> 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 <8> sorry, ive never done it myself...someone should be able to help u soon <4> 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? <4> I mean 'to use'... <8> u can just set a variable on OnClick <9> hello all <9> 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? <10> anyone know the sleep() function in php? <10> i wanna make something like that <10> what i wanna do is, put a sleep(N), then the next function after sleep(N) will start in N seconds <11> hi <11> i have a question, is there any way to print a html file to the default printer and byp*** the printer dialog box? <8> no <11> i'm not familiar with these things ... does activex has something to do with this? <8> no <8> the print thingy is part of the browser and the browser does not allow direct print command <8> u cant byp*** the dialog <11> ok thanks.... <12> hey, i want the white table will be hight 100%, how do i do it? http://pastebin.com/664717 <13> hi <13> 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..? <14> hi all. can anyone give me a hand? i got a js problem <15> anyone here? <7> 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?? <7> like blocking from viewing stuff inside the frame without the whole page <16> dont suppose anyone can identify whats up with this please? <16> <a href="void(0)" onclick="document.getElementById('recipe_description').innerHtml =+ '<bold></bold>'";</a> <16> its just not doing anything <17> there's a few things wrong <18> <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
|
|