| |
| |
| |
|
Page: 1 2 3
Comments:
<0> hello . i need some help please .. it there a way to close a html window with javascript:window.close(); and the browser winn _not_ ask for permission to close ? <1> sure hope not <2> oh... ex-gf. <3> oops <2> I think it was the -"go f*** yourself" part that mad her tick <2> I never was any good at doing conversation <2> gives me more time to spend with my mistress.... if I had one... <4> the one you changed cities with? <2> ya <4> sorry it didn't work out the way you hoped. <4> at least your brain's still getting fatter ;-) <2> hehe, indeed, I'm glad we broke up, now I can continue my rampage of... not beeing with anyone. <4> the internet wouldn't have it any other way :-P <2> ;) <2> I don't know if you guys have tried out Lisp, it's freaking awesome, that is, if you want to do something that doesn't actually do anything. <2> like a function that prints out the pascal-triangle... who'd need that!?
<4> hehe, i haven't. I really should, maybe i should pick up a book on it. certainly got the time for it. <4> a site dedicating to rating the escort "experiences" from the Second Life online game: http://sl-escort-ratings.blogspot.com/ <2> test <4> icle <3> nice <4> ;-) <5> hehe <5> pervs <5> oops sorry <5> didn't see the @ <5> ;D <4> hehe <5> where the hell is my gum <5> i know one of you took it <6> hey how can I monitor for an onclick event, but not sure where, could be anywhere <3> do it on the body tag <6> hmm, do what? :) <3> punch yourself <6> I'll try :-p <4> lol <6> hey which one of you guys was working on domapi <6> well I went by the website anyway and glad to see its still rockin' <6> I guess I should ask, how do I monitor for events and then detect an onclick event? <4> I need candy, bubble gum and taffy, Gonna get your *** beat nasty, Do it so your dad sees, embarr*** your whole family <5> was that an attempt to do rap? <4> it was MC Pee Pants <5> right <5> who? <5> :P <4> http://www.geocities.com/audrahammer/mcpeepants3.mp3 <5> not interested, was just being sarcastic <6> [Torgo]: I see what you mean now, thanks :-p <7> yo.. anyone around? <4> yep <7> sweet.. <7> easy question <4> just the way i like 'em <7> what method do i just to change the current page <4> you mean navigate to another page? <7> using onclick event in a div statment rather than a link <7> yeah <4> location.href = "foo.html" <7> kewl.. le'me try <7> got it.. sweet <7> told ya it was easy.. thanks <4> np <6> so lets say I have an iframe, a user clicks a link in the iframe they are taken to a new page inside of the frame, if I wanted to find out which page that is how would I do that? document.getElementById('frameid').src is set to the first page <8> back <8> furtive: just come back from Brunoise, I like it, good enough to have more visit later on. <4> how was the bill? <8> Appetizers and Desserts is included, from 40 t0 50$ <8> http://www.brunoise.ca/ <4> that's fine <9> hey, can anyone tell me how to add an onClick event to an element in the DOM? <9> hey <9> anybody awake? <10> document.getElementById('moo').onclick = myFunction; or document.getElementById('moo').onclick = function(e) { ... } <9> hey... someone's awake! <9> can somebody help me with the DOM?
<11> Dom Perignon '53 was an excellent year I must say <10> I meant computer screen light :p <10> what do you need to know? <9> I'm trying to add an onClick event to a span tag that I made with a script <10> ok <9> ... <10> x = document.createElement('span'); x.onclick = myFunction; <10> that kind of thing <9> hm.. not working, I think there's a problem with something else <9> is it taboo to paste code into this channel, or am I ok pasting the function I'm trying to make? <11> use pastebin.com please <10> use http://pb.html-channel.com <9> kk, it's on pastebin <9> when I add the onClick event to the style tag it breaks the one on the parent tag for some reason <9> http://pastebin.com/550843 <10> objListNode.childNode.onClick that looks rather odd <10> erk <10> do you mean to call that function recursively? <9> yeah, kinda <10> it doesn't return anything though <9> I'm building a tree-ish navigation widget, and this is the function to expand the list <10> [09:28] <10> try this <10> [09:28] <10> objListNode.onclick = function() { showPropList(this); } <9> well, it doesn't break the parent onClick event, but the child one doesn't work <10> var ref = eval(obj.id); <10> what the.... <10> paste the whole thing <10> with HTML <9> kk <9> http://pastebin.com/550850 <9> ignore the ridiculous json example data <10> ahhmm <10> I think the problem is with the json <10> well <10> that and var ref = eval(obj.id); <10> yeeeesss <10> you don't ever give the li's an ID <9> hm... <9> how do I reference them then? <10> oh and you have onClick instead of onclick <10> objListNode.onclick = function() {showPropList(this);} <10> objListNode.id = prop; <10> heheh <10> now the only problem left is with the JSON stuff <10> you see what you're doing there? <9> whats the problem there? <9> I can access all the data like an array <10> "var ref = eval(obj.id);" would give you "var ref = myLibrary" wthe first time around, right <9> yeah <10> but when you click on a sub-item you get something like "var ref = books" <10> you have no variable called books <10> it's myLibrary.books <9> ah crap <10> so either change the JSON to reflect this, or change the way you look up the data <9> well, the json is how I want it, but I don't know how I could get the next level properties... <9> I tried objListNode.id = ref + "." + prop; but it didn't work either <10> something like objListNode.id = obj.id + '.' + prop; should do it <10> doesn't quite work though <9> another weird thing... when I do it with just objListNode.id = prop; I get what looks like a list of document properties or something <10> yeah it must grab the DOM object <10> that's all the properties of one of your elements <10> w00t <10> doesn't work 100% but that's due to the JSON <10> http://pastebin.com/550865 <9> kk, thanks <9> what should the json look like then? <10> you should keep it as objects instead of mixing objects and arrays <9> why does it only give the property number after 2 levels? <10> because you're using arrays <9> now I have http://pastebin.com/550870 and it's still doing it <10> yeah that's because you have 1 : {... 2 : { ...
Return to
#javascript or Go to some related
logs:
#AllNiteCafe verlihub change hostname #teens Lukian perth univercity of Romania #php #c++ #php #linux THE SERVICES RESOLVED THE BALCOMBE STREET SIEGE
|
|