| |
| |
| |
|
Page: 1 2
Comments:
<0> Doesn't send any newlines here... <0> Better check your PHP again methinks. <1> Hmm, perhaps because its running on a windows test server <0> Mayhaps. <1> Trying that out with the remote server *crosses fingers* <0> I don't get neither \n nor \r here unless I put it in manually. <2> hello <2> problem: how can i refresh frame each 5 sec? <0> Didn't you get the answer to that earlier? <0> setInterval or make a function which calls itself through setTimeout. <2> sorry my computer crash ...... cable from hard drive disconnect ;) <2> sorry im so noob at javascript so where can i get some cl*** explanations ... <2> like function list or something? <2> i mean cl*** list <0> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/ <2> thx
<2> iv solve it -> http://pastebin.com/748950 if anyone need it :) <2> by <1> How do I get something like: eval(fName(vOne+vTwo)); to work when fName = "alert", vOne = "Hello ", vTwo="World"? <3> hi <1> nvm, just merged them altogether and it works <3> I'm looking for a script to change text on my web page on define date <3> someone can help me please ? <1> What? <3> you don't understand what i mean <1> What part are you having a problem with? <3> I don't have any script now <1> Hmm, right <3> I'm looking to found a script <1> What do you mean "on define date" exactly? When the user enters a date in a input field? <3> non <3> no <3> example <3> on my webpage <3> i have some text to announce the users birthday <3> so you can read this : July birthday's and the name and date <3> but i want the text change automaticaly on august to show the name and date for the august birthday <1> Ahh okay <3> :) <3> can you help me ? <1> Where are you storing the user birthdays... or your not even there yet? <3> on a .txt <1> just a sec <3> ok <1> Would it be to difficult for you to make 12 html pages each corresponding to the month... instead of a txt file? <3> no it's not a problem <1> Anyone else in here know a website to put up a short script? <3> but if I make 12 html pages, I imagine i'll have to insert a frame on my web page where I want to show tjhe birthday <1> yup <3> ok <1> the 12 would be something like birthdays_#.html - where # is the month <3> Sentix if you want yon can send it to me by email <3> ok <4> Sentix www.nomorepasting.com/paste.php <1> DarkRift: thanks <4> No problem <3> Sentix are you ok ? :) <3> Sentix ? <1> HDoux37: sorry computer hung - http://www.nomorepasting.com/paste.php?pasteID=65229 <3> no prob <1> Should be pretty straight foward... just got to change line #12 to point to the correct files <3> ok <1> Move the Iframe where you want, and if you already have a onLoad script for body... just call this from inside the other script <3> for the birthday mont i suppose i ha to write the mont completely <1> So January is Birthday_0.html and July is Birthday_6.html because JS starts counting at 0 <3> ah ok <3> have something i don't understand <3> where I place the iframe ? <3> i suppose i place it where i want my texte ? <1> yup <1> treat it like a DIV that has a ****ed up border <1> To test the dates, just change the month on your computer clock then refresh <5> ok <5> thanks a lot <1> goddamn extension killed FireFox again <6> how do you make a function argument optional in javascript? <6> does function some_function (var = 0) work?
<7> how do i get the current scroll value of a div? is it scrollTop? <0> Wtf <8> where <8> when <9> Hi, is it possible to put a div dynamically on a page relative to another object... So that if the page scrolls or get resized, the div moves also <0> Yes. <9> do you have a url with an example <9> mine stays fixed without scrolling <0> What did you do though? <9> this.objDivResults = document.createElement("DIV"); <9> this.objDivResults.style.border="#333 1px solid"; <9> this.objDivResults.style.zIndex="1"; <9> this.objDivResults.style.padding="0"; <9> this.objDivResults.style.visibility="visible"; <9> this.objDivResults.style.position="absolute"; <9> this.objDivResults.style.backgroundColor="white"; <9> this.objDivResults.style.left = "300px"; <9> this.objDivResults.style.top = "300px"; <9> this.objDivResults.style.width = "400px"; <0> Pastebins already <9> document.body.appendChild(this.objDivResults); <9> sorry did it too fast <0> You shouldn't have done it at all <9> sorry <9> with this code, the div is created at the right spot, but if I scroll, it remains there with the content scrolling under it <0> ***igning CSS properties in itself isn't enough if you want it to stick in the same spot when the page scrolls. <0> Unless you use position: fixed; which doesn't work in IE. <9> is there something I need to use in the containing element ? <9> in this case, the body <0> You need a script to check its position and adjust as neccesary. <9> I wished there would be an easier way lol :) <9> thanks for your help <0> Not with IE's poor CSS support. :-) <9> there is a window.onresize is there a window.onscroll ? <0> Both. <9> Thanks, I will put my function there :) <10> I have some JS code, it works in Firefox but not in IE <0> Yes? <10> The line that throws it is document.getElementById(b + 1).innerHTML = (temp > 0)?"<font color=green>" + temp + "</font>":"<font color=red>0</font>"; <10> Its saying character 1 is unknown... <10> I have div ids (1 through 18). A for loop that uses var b going 0 through 17. <0> What is b? <0> That would be an invalid ID. <10> * spans, not divs <10> var temp; <10> for (var b = 0; b < 18; b++) { <10> temp = Math.floor(total / weap[b]); <10> document.getElementById(b + 1).innerHTML = (temp > 0)?"<font color=green>" + temp + "</font>":"<font color=red>0</font>"; <10> } <0> Better if you change the style.color of the span and set innerHTML to temp || '0' too. <10> ok <0> Basically, IDs follow the same naming rules as js variables. <0> Put in a letter at the start and you're ok. <10> Ok <10> firefox likes it, IE doesnt. Damn IE :P <0> And you can start looping from 1 FYI. <10> yea <10> Then do weap[b-1] <0> Gotta go for a while. <10> Thanks <11> yop all <12> hi <12> how can i delete/unser a variable? <12> unser=unset <0> delete variable; <12> thanks <0> Hardly ever done though, and there are some limitations. <12> so as i see it is not necessary, right? <13> if you are deleting an array element I would say it could be quite necessary <12> oh, i see <12> thanks <0> He is not though. <1> Anyone know how of any quirks with formatting chars (\n,\t,etc) going from ajax to a textarea? Keep getting unterminated string errors when I try it <0> And js' garbage collector takes care of unused variables.
Return to
#javascript or Go to some related
logs:
cum dau g-line #php #MissKitten #networking #AllNiteCafe 9stone10 #linuxhelp #MissKitten lesibians
|
|