| |
| |
| |
|
Page: 1 2
Comments:
<KinG-DoM> i am also trying to use the watch method for objects, but that doesnt seem to work either? <ht311> watch? seem to gone in IE6 <KinG-DoM> oh thats bad, any substitute? <ht311> replace iframe with div? <ht311> or the popup? <ht311> you just lazy, i think with the layering of toolTip call cascade upward, it will work <ht311> :P <NeoFu7ure> the createPopup <NeoFu7ure> nah creatPopup was the downside <NeoFu7ure> http://www.neofuture.co.uk/screenshots/tooltip1.jpg <NeoFu7ure> http://www.neofuture.co.uk/screenshots/tooltip2.jpg <ht311> stop adding features. you are indirectly pushing me to work harder <eIf> hello <eIf> is there a way to detect a function? <eIf> for instance, if i write "function foo() { //bar }" <eIf> can i find out later if i wrote it or not? <RoBorg> if(typeof foo == 'function') {} <eIf> i see <eIf> RoBorg: ok thanks a lot <RoBorg> np <eIf> RoGone: are you still there? i have just another tiny winy little question:\ <RoGone> make it quick! <NeoFu7ure> RoGone = RoStillHere <eIf> ok, i'd like to overwrite the function's body. is there a way to do that? <eIf> like with another function's body <RoGone> just redefine.. you can set foo = function(x) {} or function bar(x) {} foo = bar <eIf> i see <eIf> ok thanks a lot RoGone, that's all <RoGone> or foo = new Function('x', ''); <RoGone> np <PapaBear> sup <PapaBear> how do you reference an textarea's value in JS? <[Torgo]> document.formnm.elementnm.value; <NeoFu7ure> [Torgo] impatient vardhan howdy people <PapaBear> thanks <vardhan> hey Neo <vardhan> going good thanks. hows affinity? <vardhan> exams are done ;D <NeoFu7ure> www.neofuture.co.uk/screenshots/tooltips1.jpg <NeoFu7ure> www.neofuture.co.uk/screenshots/tooltips2.jpg <NeoFu7ure> sorry <NeoFu7ure> www.neofuture.co.uk/screenshots/tooltip1.jpg <NeoFu7ure> www.neofuture.co.uk/screenshots/tooltip2.jpg <[Torgo]> showoff :P <NeoFu7ure> i didnt like title+"" <NeoFu7ure> title="" <NeoFu7ure> hehe its nice to have somat to show off <vardhan> ooh <vardhan> nice <NeoFu7ure> :D <joehn> hi guys <joehn> how's everyone? <NeoFu7ure> phine <joehn> hey matey you are up and running <joehn> i didnt dare disturb you <NeoFu7ure> hehe i been adding tool tips <NeoFu7ure> www.neofuture.co.uk/screenshots/tooltip1.jpg <joehn> thought ye might be sleeping, <NeoFu7ure> www.neofuture.co.uk/screenshots/tooltip2.jpg <NeoFu7ure> me sleep nah <joehn> wow nice they rich tooltips <NeoFu7ure> yah <ht311> the fly p*** out and drop on the ground before it have a chance to settle * i have curry tonight* <Delistick`> I am trying to get rid of my login <input user, p***> tags once I have logged in <Delistick`> how would I do taht? code ishere: http://www.gabbr.com/test/logintest.php <SufiBlade> curry? are u desi? <Delistick`> I am desi <ht311> nope. i eat everything <SufiBlade> chinese then definitely <ht311> is php, just detect if user is logged in, don't render the input <ht311> LOL <Delistick`> I cant <Delistick`> the input is already rendered <Delistick`> I am using AJAX <ht311> I had dog meat a couple times when I was a kid <ht311> put them in a div, hide the div if logged in <Delistick`> I tried that <Delistick`> but hiding the div is not easy <Delistick`> the login form is already rendered <Delistick`> I have logintest.php which has the login <form> and then activate.php which takes the $GET[user] and $GET[p***} and verifies <Delistick`> if I put $loggedIn = 1; in activate it does nothing because the login <form> is already rendered by logintest.php <Delistick`> so how do you do it? <ht311> .style.display = "none"; <SufiBlade> you set the display=none <Delistick`> would that be a whole new function then? <Delistick`> or would I do that in the activate.php script? <ht311> hmmmm , you manage to use ajax to login but ..... <Delistick`> I am learning AJAX <Delistick`> I have learned to login part, now I need to learn the logout part <ht311> learn the basic of dom and css <Delistick`> would .style.display = "none"; be in the <div> tag? <ht311> know about document.getElementById? <Delistick`> yes <Delistick`> I learned that <ht311> document.getElementById("mydivid").style.display = "none"; <ht311> when you logged in <Delistick`> hmm.. so that is how you get rid of it <ht311> master the walk before you try to fly <Delistick`> thank you <Delistick`> dude, I am still crawling <SufiBlade> in the wrong hole <ht311> that's what i am saying, learn ajax before know abit more about js and dom is not helpful <ht311> SufiBlade: nice <ht311> Delistick`: http://www.w3schools.com/htmldom/default.asp <SufiBlade> im gonna try AJAX today as well...im curious. what should my .asp page send to the response variable? is it better to send the readymade HTML or should i send just the useful data and construct HTML via js? <Delistick`> ok reading that <Delistick`> send useful data and construct HTML via JS <SufiBlade> in that case, i'll have to send the data as XML. so the only way to read it again would be to traverse the tree? <Delistick`> sweet I did it <Delistick`> the login boxes disappear <Delistick`> thanks loginForm <ht311> http://www.quirksmode.org/blog/archives/2005/12/the_ajax_respon.html <ht311> http://www.quirksmode.org/blog/archives/2006/01/the_ajax_respon_1.html <ht311> i am a big fan of json <SufiBlade> yes i read that...whts json? <Delistick`> since JS has been around for years.. why is AJAX only a few years old? <Delistick`> what took it so long? <SufiBlade> ajax has always been there too, Delistick` <ht311> no, i did ajax since 1998 <ht311> var a = {}; this make the object <ht311> var a = {a:2,b:4}; <Delistick`> why did it just take off recently then? <ht311> now, a already have 2 member <ht311> that is json <ht311> idiot decide to give a name on this thing, and people like to drink household cleaning prodcut <SufiBlade> yeh <ht311> http://www.alistapart.com/articles/web3point0 <SufiBlade> is XSL supported by the major browsers? <ht311> nope <SufiBlade> coz i cant seem to get ajax to run on opera <ht311> need 8.5 <Delistick`> how would I get the URL off a <a href="http://www.foo.com">link</a> ? <SufiBlade> off? <ht311> stupid router crashed <Delistick`> I am trying to make a dropdown menu with DOM <Delistick`> well not a menu <Delistick`> more like expanding an headline to show an article if clicked, and making the article disspear if click again (but the headline still shows) <ht311> learn the dom first <Delistick`> function switchit(list){ <Delistick`> does the 'list' mean <li>? <SufiBlade> its a variable dammit <Delistick`> then tell the guy who made this tutorial he is wrong <ht311> IT JUST A VAR NAME <ht311> don't blame the tutorial ... again, your problem is between your chair and the monitor <Delistick`> no you should read the tutorial before ***uming that it is correct. how can you possibly ***ume the tutorial is correct when you haven't even read it? the guy SAYS that (list) refers to <li> in his HTML <SufiBlade> its still a variable <ht311> it mean you need to grab a referece to a li element and call the function with i
Return to
#javascript or Go to some related
logs:
#gentoo #linux joe pesci uhq #php laqwa #linux advantages of NTFS over EXT2 how to apache mmapfile #AllNiteCafe #linux
|
|