| |
| |
| |
|
Page: 1 2 3
Comments:
<0> newwindow=window.open(url,'name','height=200,width=150'); <0> if (window.focus) {newwindow.focus()} <0> return false; <0> shouldn't it be on the second line? <1> What should? <1> The return? <0> scrollbar=yes' <0> just want a scrollbar, can't find anything about it on google <1> You have been told both how to do it, and where to look. <0> oh wait "scrollbars=yes,width=250, height=400") <0> it is before, that what was screwing me up, i think <1> newwindow=window.open(url,'dontnamethingsname','height=600,width=530,scrollbars'); <0> ak, ready for my famous saying <0> ItWorks!!!!! <0> heh <0> i get a scrollbar on the bottom though
<0> but no problem really <0> let me try yours <2> can i send variables from javascript to php ? <1> Sort of. <1> Google for XMLHttpRequest or Ajax. <2> thank you <0> you guys are great, you know that <0> is there anyway to kill a bottom scrollbar, not really necessary but would be nice <0> i can just increase the width <0> opera is strange <0> works in ie, firefox and sufari, but not opera <0> anyone have an explanation for this? <1> Aside from Opera having a bad js engine? :-) <0> java java <1> ? <0> heh <0> welp, i just made my own php/mysql journal <0> with that javascript popup, pretty cute <0> it works <0> is that why they call it cuteLittleWindow? <0> ahh, nevermind, i am gonna go eat <1> They do? Heh. <0> well some of them <0> i have used the cuteLittleWindow = window.open(url,"_blank","location=n,width=" + w + ",height=" + h); before <1> Heh. <1> Call the ref variable whatever you want. Usually call it myWindow myself. :-) <0> yea, or just call it "win" <0> would cut your file down a few bytes <1> Indeed. <0> well i am gonna go eat, thanks for the help <1> Np. <3> hello - short question how to make getElementById to work in Firefox? <1> ... <1> It works in Firefox. <3> :( I get this error document.getElementById has no properties <1> What's your code? <3> this is my code - http://pastebin.com/511538 <3> for getElementbyId problem <1> Looks silly. <3> what do you mean? <1> Much faster to use document.forms[].elements[] <4> there is no problem if there is , only the id is not found, yes , look silly <1> Sounds like a case of premature attempt of creating a reference to me. <3> but in IE and Opera works fine <1> That has never been a good argument though. :-) <1> I would store the reference to Form1 in a variable and then use that to set the values of all its elements, instead of all that document.getElementById stuff. <4> could be document.Form1 failed too ? document.forms["Form1"]? <3> http://www.anunt.md/rom/cautare_avansata.php <3> in Firefox give only errors <5> name != id <1> Take my advice, and you'll be better off. <5> yup <4> http://www.jibbering.com/faq/faq_notes/form_access.html <6> *yawn* <5> the day is young <1> What time is it at your place? Heh. <5> 11h14am <6> 5h21pm <5> fatbrain, the new star wars empire at war demo will maybe wake you up: http://www.lucasarts.com/games/swempireatwar/indexFlash.html
<6> *browsing* <6> is it a mmorpg? <5> i don't think so, i think it's more rts <3> thanks guys <6> bah, I'm caught in the mmorpg swamp, and I'm gonna linger for a few more months, I'm gonna do fps/rts in time for ut2k7 <7> i have been staying away from eve online because I know that as soon as I start it will be addicted <7> and I will get nothing else done <8> fatbrain .. you still playing WoW? <5> i've got a 10 day trial i'm about to start (although wasted 3 days already) and don't know which server to join. <1> Terenas; then I can bug you. :-P <9> Hiya guys :-) <5> mkay, i have no personal preference, my name online is "farang" btw <1> I'm Farek if you join Alliance, Pilum if you join Horde. :-) <6> TheLurker: Yes <6> I've just started a new character. Ally <5> you on on same one as pilum? <6> Got sick n tired of my horde shammie :P <9> ohhhh we are talking WoW :-D <6> I used to be on the same server as Farek... But I havn't seen him online for ages :P <6> ally-wise, I don't think so <9> Can you play together btw?? <9> Same servers? <1> furtive: Rephrase? <5> i meant: fatbrain are you on the same server (terenas) as pilum. <1> fatbrain: Didn't I tell you that I changed servers permanently? :-) <9> what server are you guys playing on? <1> I'm on Terenas. fatbrain is probably still on Daggerspine. <9> I'm on Arathor <5> ok, who's got player closest to level 1? hehe <9> 19 <1> I have a lvl 7 priest. <5> ugh, 184 megs of updates. bleh <9> today?? <1> He's probably not patched in a while hehe. <5> first time i log in thogh <5> yeah <9> hehe ok <9> 'ello Indig0 <5> stupid flaky wireless <10> is there any way to get the ***ociated <label> from a form element? <5> parent element? <5> if you're not using the for attribute <10> i am using hte for <5> var tags = document.getElementsByTagName("label"); ...loop through tags and check if .for == "whatever" <10> okay <10> thanks <5> put it in a helper function <10> yah <5> and have it return the reference that matches <10> ok <11> I'm beginner with javascrpt and I would like to put the focus on a checkbox everytime remove it (to make it impossible to be unchecked) <1> Why not just disable it? <11> because it doesn't send the value to the action apge with PHP <11> understand my problem? <1> No. <1> Never encountered that problem. <11> anyway, all I want is to put to focus on the checkbox when I remove it I tryed <input type="checkbox" name="name" onBlur="focus()" checked /> <1> If you use xhtml, then it's checked="checked" FYI <1> onblur="this.focus();" <1> name="name" <- bad idea <11> it was only an exemple the name <11> thanks it was th ; that i didn't have <1> No, it was the 'this.' you didn't have heh. <11> I tryed also with this.focus() <11> but it didn't work too <11> it was really the ; <1> Hard to believe since that's not required. <11> Maybe it won't work, i didn't try yet <11> no, it is not working.... <1> onblur="this.checked=true;" might be what you want. <11> ok, thank you <11> sorry, but it is not working again... is it possible that it's because I use single quote? <1> Not unless you start mixing them.
Return to
#javascript or Go to some related
logs:
#linux #linux sil3114 rh9 cisco 827 dmz ipcop uncaught exception: null nat2x #london #mysql apache22 #MissKitten
|
|