@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

dhanya: I have an iframe which is included in a jsp. Is it possible for me to acess a function in the iframe from the parent?

<0> h3 cest plutot un hang aroudn
<0> around
<1> ?
<2> should slap both of them :)
<3> both __1 and __2?
<4> guys
<4> how can I test if the page is displayed after a back
<4> after the back button was pressed
<4> or after history.go(-1)
<5> i am a consumer whore
<4> is there a OnLoading event? or... how can I execute a pice of script just after all the DOM elements on the current page were loaded?
<5> onload
<4> no, that's after



<5> you said after
<4> that will be fired after all the stuff are completly loaded
<5> onload
<4> ok... I want to run something just after the elements get available in the document space
<5> onload
<5> what's so hard to understand?
<4> no, onload will be triggered after every iframe in the document is loaded
<5> no
<4> yes
<5> http://www.javascript-channel.com/Wiki.jsp?page=EventHandlers
<4> hmm
<5> onload within each iframe will be triggered when that respective iframe is loaded
<4> yes
<4> but the top onload?
<4> wouldn't it be triggered after all the iframes are loaded?
<5> only when that window is done loading
<5> just try it ffs
<4> let's see
<4> it's triggered after... or the iframes are waiting to load theyr content and then will process the next request
<4> I need to stop some iframes from loading
<5> then don't put them there to begin with
<5> jeeze, your page sure sounds like a winner
<4> I need them
<5> but you don't need them
<4> I do, I load stuff in them
<4> and when I get out of that page and then get back on it
<5> but you just said you don't want to load stuff in them
<4> they will load those stuff again
<4> yeah, not when I get back to the page
<4> so I set a cookie
<5> generate your iframes dynamically
<4> I love you!
<5> http://www.oreillynet.com/pub/a/javascript/2002/02/08/iframe.html
<4> that's what I'm doing already :)
<4> man thank you
<4> I would have wasted another 2 hours to make it work like I wanted
<5> np, make progress?
<4> yeap, it works cooler now
<5> that's good
<5> i've done a few business sites with that iframe rpc stuff. works like a charm
<4> rpc? maybe I already use it and I don't know that that's how it's called
<4> I searched on that page only what I needed :)
<5> yeah, you call an iframe to fetch data from the server ... it's basically a remote procedure call
<4> ah, that's what I'm doing
<4> the result is preatty cool
<5> yup. there are eventual headaches ***ociated with it, i'll let you figure those out on your own, but a few of us here have experience with it
<4> heh, I know
<4> I'm working at this site since 2 weeks ago
<4> there are problems accessing the functions :)
<4> you have to refer to the source iframe
<4> that's one of the headaches I think :)
<4> or.. is there a way to copy the scripts from the iframe space to some other space?
<4> so you can access them localy or at least from that new space
<4> ?
<6> when i change the value of iframe.src='something.htm' the onLoad event is not being triggered in IE. but works with FF. what to do?
<4> I have a problem with an anchor for wich I have a target, the thing is that the target is an iframe that is added dinamicly
<4> and when I click the link it will open another page
<4> any ideas on how to solve it? should I modify the location dinamicly?
<6> everyone seems to be sleeping. :)
<4> try with iframe.location
<4> maybe you get better results



<6> same
<6> the onLoad event is not triggered
<4> is the content of the frame written by you?
<6> yes
<4> add onload event in the document that you load in the frame
<4> on the body tag
<4> and call parent.someFunction()
<6> hmmm i didnt know i can do that. new knowledge. hehe tnx
<4> np
<4> :)
<6> found new problem. I think its not the onLoad that is not triggered. :) i think when I change the src it never try to change it
<4> heh, I told you to use location
<6> i did. its the same. works in FF but not in IE
<6> what im doing is after the frame is loaded I am putting the body to innerHTML of a div
<6> I use the setTimeout bug but did not work either
<4> any idea on how do I get the scroll possition?
<4> I need the current mouse X/Y possition and it's seems that every browser has it's own standard regardin this
<7> hi.. how do i post to another page using js?
<8> xmlhttp
<7> what?
<8> xmlhttp object
<8> http://24ways.org/advent/easy-ajax-with-prototype
<8> http://www.sitepoint.com/article/remote-scripting-ajax/2
<9> What's the origami-project about? should I get one? ^-^
<9> it looks kind-of neat
<8> url?
<9> origamiproject.com
<8> hmmm it doesnt say wat its about
<10> hi
<10> how can i change a background of a tr ?
<11> this.background = 'red'; is not working
<11> i wanna change style properties
<11> ..
<4> this.style.backgroundColor='#FF0000';
<11> but style's property is background
<11> not backgroundColor
<12> stefys`, you are an idiot
<12> why don't you just ****ing try that out ?
<12> or ****ing google it to see what you need
<11> i am trying it
<11> but it's not working
<12> this.style.backgroundColor = "#FF0000" changes the color of the background
<12> what else do you want to change ?
<11> that's what i wanted to change
<12> <tr onMouseOver="this.style.backgroundColor='#FF0000'">
<11> the problem is that i can't use rgb()
<11> cos i'm doing it in php, so it's doing some rgb calculs
<4> this code is client side, unlike php
<11> i know
<11> but php is making some calculs
<11> so it's sending a rgb()
<4> what are you exactly trying to do?
<11> with some calculated numbers
<11> a table with different colors for each row
<11> colors decreasing
<11> from darkest to lightest
<4> in what format?
<4> what base?
<11> ?
<11> it starts from 0,0,0
<11> then 20,20,20
<11> then 40,40,40
<11> ...
<11> 200,200,200
<11> so i need to send rgb(N,N,N)
<4> that's decimal :)
<4> base 10
<11> yes
<11> rgb() is not working in javascript tho
<4> :)
<4> you can access each of them?
<12> doesn'tit ?
<4> R G and B ?
<11> Error: rgb is not defined


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

#gentoo
#linux
#c++
#php
GetDriveType + x64
#AllNiteCafe
mifffy
#gentoo
#linux
travesti aye



Home  |  disclaimer  |  contact  |  submit quotes