|
|
Feedback: JavaScript Frame Articles
Feedback on: Sent by Rick Martinez on August 20, 1999 at 15:41:50: - feedback #394
Worth: Comments: I real like your site it is extremely informative. I have searched through it but was unable to find an answer to a question which i had. i hope you dont mind me asking, if so please let me know..... I have 2 frames open (Frame A & Fame B) In Frame A i have a funtion which takes a highlighted word and uses it in another function. Well here is the kicker.... i want to be able to highlight a word in Frame B and have the function in Fame A use it. Can i posibly use functions that reside in Frame A in Frame B and return the value to frame A..... Does this make sence.... please let me know if you can or can not help. Thank you..... Sent by zan on January 06, 2000 at 18:09:25: - feedback #701
Worth: Comments: I have an index that loads into my website (http://zap.to/zans) as a frameset within a frameset. Frames: What I want to do is provide a button or link within the index frame that "kills" the index frame when the user clicks it. The obvious solution to this seems to be to set the location of the MAIN frame (which holds the frameset containing the index and whatever page the user happens to be on) with the location of CONTENTWINDOW. I tried this method: self.parent.main.location=self.parent.main.contentwindow.location; but it didn't seem to do anything. The scripts on this page seem to be more on the mark... any suggestions? zan Sent by zan on January 06, 2000 at 18:17:08: - feedback #702
Worth: Comments: Here's the solution I found for my "kill this frame" link: function killFrame() { The first part references the whole ball of wax and the second one works it's way up to the top level of the embedded frameset. Whew! Feel free to pass this along to readers who are wanting to do this. I searched for hours trying to find a canned solution to this with no luck. zan Sent by Mats Nordwinger on May 23, 2000 at 03:48:35: - feedback #1273
Worth: Comments: I have one further question. I'm about to create an application where a second framespage is loaded into a frame in the first framespage. Now I want to access a frame in the second framset loaded in a frame in the first frameset, from the first frameset. Normaly to access another childframe from a childframe is just to use the syntax: parent.childframe2.location.href = "xxxxx". My question is, is it possible to access a frame in a frame directly from the top level? i have tried to use the syntax: parent.childframe.childlevel2frame.location.href = "xxxxxx" but it doesen't seem to work, just adding another level in the syntax. Thanks in advance. BR / Mats Nordwinger Sent by Troy Hildebrand on September 06, 2000 at 23:33:08: - feedback #1719
Worth: Length: Technical: Comments: Thanks, Troy Hildebrand |
-- div -->
|