| |
| |
| |
|
Page: 1 2
Comments:
<0> Hey ppl. If you have a var Image = "images/somepic.png" how do you get the width & height of that var? <1> you don't. that's just a string <0> Ok...then what do I need to do to get that info? <1> a reference to an image on the page <1> read it's offsetWidth <2> hello, I am requesting ***istance on http.open - I keep getting perimssion errors. <2> http://www.phpriot.com/2608 <2> ^^ my code <1> permission errors are pretty cut and dry <2> really? <2> can you help me out? <2> is it just a CHMOD problem? <3> When did I go offline? <2> Torgo can you help please? <4> [15:20] * fatbrain has quit IRC (Ping timeout) <4> now is 18:08 here
<3> ht311: thanks. <4> I guess you need to restart your pr0n dl. ;D <3> ya <3> what I really need to do, is get my hand on a brand new computer. <4> get a student load :) <2> can anyone out there give me a hand with this? <5> wedf <5> sdf <2> can someone tell me why I keep getting a Permission Denied error for XMLHttpRequest.open??? <1> beacuse you don't have permission <2> it is my webserver <2> I do have permission <6> hola <3> lo furtive. <2> if I use a PHP script in an XMLHttpRequest and I echo a var in the PHP script, should it not show up on the script page carrying the XMLHttpRequest? Because right now it doesn't <6> no <6> page is already rendered <6> hi archaeus <2> furtive then how do I get the var to output? <6> use the responseText from the http object <6> good examples here: http://www.webpasties.com/xmlHttpRequest/ <2> furtive can I show you my code? <2> http://www.phpriot.com/2611 <2> my two scripts are there <2> can anyoen help? <2> the more advanced the coding the less the people who are knowledgable enough to help <1> yeah, whatever <1> "advanced". can't figure out a freaking permissions issue on your own <7> Hello <7> I have a php program that I am using, and I wanted to open it in a new window so I am using javascript:new_window('/tellafriend/index.php') because I wanted to set window variables, but I need the javascript to p*** the http referrer in the header and it doesn't do that. I am pretty poor w/ javascript and I have been reading about document.referrer but I don't know how to integrate that into p***ing the proper header w <7> Any help would be greatly appreciated. <6> bah <6> what's wrong with target="new" <1> referrer is likley not visible to you on the client <7> I wanted to remove the scroll bar, and edit the box size on the window that it brings up <6> have you read up on window.open() ? <6> http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp <7> as much as I could find, and it did mention that the drawback is that it doesn't p*** the referrer in the header, but it also said that you coluld use the document.referrer in place and use that <7> Reading now, thx <6> although I suggest not forcing removal of scrollbars. if person needs to scroll and can't then not only are they screwed, so are you <7> It is just a tell a friend window with a comment box and submit button <6> so then it doesn't hurt to leave the scrollbar ;-) <6> hi RoBorg <8> lo <7> is there a way to stop a popup blocker from blocking a window.open window if the person hit the link? <6> rephrase your question. <6> but the answer is no <6> the better answer is don't put yourself in that position to begin with <9> if I create a cooke in PHP can I retireve it in JS? <6> yes <9> is there a special way to retrieve the cookie or is it just the usual var dc = document.cookie ? <6> usual <9> <Missy`> join => #20ans&+ #20ans&+ <9> spammer <6> Missy isn't on this chan <9> this is my php setcookie command: setcookie ("cookie_userid",$memberid, time()+7776000); <9> but when I do var userid = document.cookie ("cookie_userid"); I get a NULL <9> I mean var userid = document.cookie.match ("cookie_userid"); <6> you can check all cookies available with a script like this: http://devcorner.georgievi.net/articles/javascript/list-cookies-javascript/ <6> but if it's returning NULL then sounds like it's problem at php side. <9> furtive, does this look right to you though? var userid = document.cookie.match ("cookie_userid");
<9> ? <9> the cookie is called cookie_userid <6> no, doesn't look right to me <6> i'll msg you what I used to get a cookie <9> thnx <6> np <6> then you just need to do: var userid = getCookie ("cookie_userid"); <6> but are you using cookies just so you can p*** data from the server to the client? <9> yes <6> isn't that what <?userid> is for (or whatever the syntax is, i don't use php as a serverside language) <9> $_SESSION[userid] <9> it doesnt work for what I am doing.. trust me, I would use it if I cook <9> could <6> k <10> i have a bit tricky question <10> im developing a ajax aplication with a livesearch function <10> i use the event onkeyup <10> but this makes the script query the database for each keystroke, witch makes the aplication a bit inresponsive <10> can i somehow make it work like, if the user has not typed in the input field for 1 secound, THEN do the onkeyup ? <4> setTimeout on the ajax function at 1500, clearTimeout and set a new one onkeyup fired <4> something along that line <4> it is not tricky ;) <10> htZZZ could you take a look at my javascript function ? or did you p*** out on the bed ? <11> is there any way of declaring a static variable for a cl*** ? <12> a constant ? <11> not a constant, but a static, like in java or php <11> that is a variable available to all instances, eg MyCl***().instances <13> i have a loop modifying some DOM elements, though it only updates it once the loop is finished. is there a function to refresh the window? <13> like to repaint the browser <11> xeer be more specific <13> for(var i = 0; i < 100; i++) element.nodeValue = i; // halts the browser till the for is done, and shows 100 <13> i want it to show the rest of the values really fast <13> i can slow the for loop down by going document.title = document.title, but that still doesnt update the page contents, just the title bar <11> that's useless <13> i know <13> which is why im asking if anyone knows a better way =) <3> lo Pilum. <14> Hi fatbrain <6> 100% javascript game (IE only i think): http://www.smokymonkeys.com/triglav/ <15> hello <15> how can i rewind page to buttom position ? <15> i got anchor at bottom <a href="test"></a> <15> but i don't know how can use them automaticly <6> rewind? <6> oh <6> i see <6> location.href = "#anchorname"; <15> but how can i run this ? <15> i mean what event i must use <6> well, i dunno, what even is the trigger? <15> i want make this hidden for user <15> from user :) <6> so uhm.... you want the page to load, then go to a certain place afgter a while? i dont understand what you're trying to do <15> yeah, you are right <15> i want the page to load then go to an anchor <15> without user activity <6> so why not just have the page load directly to the anchor. you don't need js for that <6> http://www.foo.com/index.html#anchor <15> yeah, but i have popular url http:/abc.abc/point/ <15> and in this folder i got index.php <15> and users don't like much of typing :) you know :) <15> http://logs.russia.eleph.org/index.php <15> there is example :) <6> when you say "i want the page to load..." what is instigating that? person from other page? <15> nope, just person <15> client open own browser and type url <15> and after page loaded client must see bottom of page <6> onload = function() {location.href = "#anchorName";} <6> although if you're doing that, what's the point of having the content above the anchor to begin with? <15> did you see the url which i gave to you? <15> this is irc log parser, just irc log on web <15> and last string at bottom :) <14> Why not just have the last on top? :-) <6> so why not put most recent at top? hehe.
Return to
#javascript or Go to some related
logs:
#linuxhelp ghini debian swftool fedora #mirc djcocea phpn00bs #java smacneil1 javascript setInterval crash
changing shutdown order
|
|