| |
| |
| |
|
Page: 1 2
Comments:
<XF86> how can I make a window automaticaly close when it is loaded? <Pilum> window.onload = function() { window.close(); } <XF86> Pilum, where should I put this? <Pilum> Anywhere. <XF86> ok. <XF86> thanks <josedaniel> is there a way to get the text that is in a table Cell and define it as a variable? <Pilum> Yes. <josedaniel> what is it? <Pilum> cellRef.innerHTML <Pilum> What cellRef is depends. <Pilum> Typically document.getElementById('cell_id') <josedaniel> ok <josedaniel> thanks <NeoFu7ure> hahahah <NeoFu7ure> http://www.affinitygo.net/# <NeoFu7ure> dont you love JS and GD <NeoFu7ure> lol <klapzin> refresh <klapzin> ops <klapzin> sorry <MC_8> How do I go about reading the value of a variable name that is made up of the value of 2 other variables? Example, var test_this = 1; var first = test; var second = this; alert("Test: "+{test+"_"+this}); <MC_8> err, alert("Test: "+{first+"_"+second}); (winds up alerting Test: 1) <bobmutch> hi put a ecom page on hold but adding a name=stopoffer and putting a js error on it. I now can't get my form to work. I have paypal /msg me if you have a couple of mins to help me trouble shoot this form. <ht311> startkeylogger get on to frontpage of /. <ht311> it is a quiet week ... <fatbrain> Hello all <exacube> hi fatbrain <exacube> how d'you get to be so smart? <fatbrain> I was forced <exacube> lol <fatbrain> Hi ht311, I briefly installed vista the other day... and uninstalled it after 10min, wasn't that impressive... yet <ht311> like the mce part. and seem this build's mce slowness problem is common, will be solved too <fatbrain> ok <ht311> http://zbowling.com//?attachment_id=112 <h3> ht311 ? <ht311> ? <h3> hi :> <h3> i just coded this; http://h3.gatenet.org/fontBrowser/1.0/ <h3> it's broken under ie, so use ff <h3> i did not debug it under ie yet <h3> i just wonder why i did not code that long before <ht311> not bad <ht311> http://typetester.maratz.com/ <ht311> ;) <h3> guess i'll never search enough before starting to code something <ht311> it is hard to beat some spend 18hrs/day online <ht311> this is good read as well http://www.bigbaer.com/css_tutorials/css_font_size.htm <h3> well, my quota of online presence has been reached for today <h3> good night <ht311> nite\ <SufiBlade> thx <fatbrain> Hello all. <SufiBlade> hi fat <archaevs> g'morning guys ( 08:38 AM in .ro ) <fatbrain> morning. <fatbrain> Haaa'r!!! <fatbrain> Hello all <fatbrain> Hello X <Reign> is there smth like window.location only if it would open in a new page? window.open or smth? <Pilum> window.open() exists. <Reign> oki thnx :) <Toka> I would like to position a DIV absolutelyin the Right_Upper corner. I searched the web, but it seems like it's not that easy :) <Toka> could you give a little help <freed> use css <freed> .myCl***{position: top-right;}...double check that though...i may be wrong on the usage <Toka> what exactly? I set position to absolute, and top:0, but what how should i get left? <Pilum> left: 0; <Toka> oh <Pilum> And #css next time. <Toka> ok <DomAPIUser> hi <DomAPIUser> test <sk8ing> **** mozilla! it ****s!!!!! aaaaaaaaaa I don't get an onmouseout event on a tr that has a div with absolut possition in it <sk8ing> but! <sk8ing> I get a onmouseover <sk8ing> the mouseout event ocurs only if I get the mouse to a normal tr inside the same table <sk8ing> in every way I did it, it worked on IE! mozilla? NO SIR! <Pilum> IE has its own event model too of course. There's IE and then there's the others. :-) <sk8ing> heh <sk8ing> the thing is that in IE it simply works <fatbrain> sk8ing: that's because you've written it for IE only. <sk8ing> I get an oumouseout event when I get the mouse out of that tr <sk8ing> no <sk8ing> I started to test it directly in Mozilla <fatbrain> sk8ing: otherwise I see no problem with what you just described <sk8ing> and I was getting mad <sk8ing> then I tested in IE and it worked <sk8ing> I needed a prove that I'm not an idiot <sk8ing> it's simply bugous <sk8ing> I get onmouseover <sk8ing> but not onmouseout <ht311> get the .srcElement, you may just get the td's mouseout which bubbled up <sk8ing> hmm... <fatbrain> .target (mozilla-style) <sk8ing> thanks <ht311> you may not be an idiot, but you need to understand how the whole event chain work <sk8ing> heh, it should raise the event tho... <Bonaparte> I looking for some help with form select <Bonaparte> I have written a form with select,option statements <Bonaparte> When the user selects one of the options the form should automatically submit <Bonaparte> I've achieved this with onchange='this.form.submit()' <Bonaparte> However, I want JS to change the value of another input field, ie, submit to "Go" before submitting <Bonaparte> How can this be done? <Bonaparte> My server side script works if the value of form field submit is "Go" <Bonaparte> Can anybody help me with this? <ht311> Bonaparte: either change your sever script or add a hidden field where same name as your server script looking for, add this.form.myFieldName.value = "Go"; infront of the submit call <fatbrain> qwerty <PapaBear> document.getElementById("cont").style.width <--whats the IE equivilant to that? :) <[Torgo]> the same <PapaBear> http://papa.bearcavecc.com:91/wsb/ <--works perfect in all but IE <PapaBear> IE gives error on that line <[Torgo]> and the error is....... <ht311> winW + 'px;' <PapaBear> gah <PapaBear> thanks <ht311> IE is better in this case :) <Pilum> That is possibly the silliest script I've ever seen. <Pilum> width: 100%; <ht311> hehee <PapaBear> in a 3 column interface, putting the center to width 100% will make the div the windows width, pushing you to scroll to the side <ht311> the page is in quirks mode too .... <Pilum> Aye. <PapaBear> just a test page <Pilum> "putting the center to width 100% will make the div the windows width" - isn't that what winW is? <PapaBear> but i can subtract from it using JS <ht311> usually don't need js to step in do column layout <PapaBear> so the interface fits the window <Pilum> Get the page into standards compliance mode, remove margins and paddings as needed and stop writing silly scripts. <Pilum> Divs have 100% width by default anyhow. <dil-g0ne> hi <Pilum> Hello. <dil-g0ne> is it possible to make imagemap hotspots visible?? <dil-g0ne> i have map with hotspots,what i want to display some round dot or something when a mouse mover over it <Pilum> Hotspots? <dil-g0ne> <Area> <dil-g0ne> .. <Pilum> Heh. <dil-g0ne> is it possible?please help me <Pilum> Try setting a css border on area:hover <dil-g0ne> Pilum:can you give example of CSS border?you ,mean block? <Pilum> No, I mean border. <ht311> there is no css style support in IE on area <dil-g0ne> neither there is any border attribut <dil-g0ne> e <ht311> so, just an easy NO <Pilum> http://www.w3.org/TR/REC-CSS2/box.html#propdef-border' <Pilum> Yes there is. :-) <dil-g0ne> he said NO css support
Return to
#javascript or Go to some related
logs:
yuuiij #linuxhelp #AllNiteCafe #linux care imi da si mie un bnc #linux #AllNiteCafe #MissKitten #linux #mirc
|
|