SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Jul 25, 2001, 04:54 #1
- Join Date
- Sep 2000
- Location
- South Africa
- Posts
- 186
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Javascript Variables within Frames
I am pretty new to Javascript and have only created a few pretty basic scripts, mainly dealing with site navigation and mouseovers. I would like now to redo my private home page using a rather complex configuration of frames. It is my intention to use JavaScript (variables) to control the rather intricate page navigation.
My question is this. I know how to define a variable, increment or otherwise alter it's value and how to change a process path based on the value of a variable. I have done all of this within the SAME page. What I would like to know more about is the referencing and modification of variables in "pages" in other windows within a frameset.
I hope I have expained myself clearly enough. If not I will ellaborate.
Thanx for reading....
-
Jul 25, 2001, 06:57 #2
- Join Date
- Oct 2000
- Location
- Austin, TX
- Posts
- 1,438
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
parent.framename will reference other frames, although I assure you that you definitely do not need frames and your design would be better implemented with tables.
-
Jul 25, 2001, 08:00 #3
- Join Date
- Sep 2000
- Location
- South Africa
- Posts
- 186
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Anarchos
Thanx for the reply. I am aware of the parent.framename structure, what I want to know is if I can reference a variable defined in another frame by say something like parent.framename.variablename ?
Also, if I update it's value from an "outside" frame, will it retain that value if I reference it from another "outside" frame.
Wow, all this sounds so complicated. Let me know if I need to actually describe what I am trying to do.
Also, I am a great supporter of table-based non-framed websites. It's just that the host of this particular website does not support SSI and there is no ways I am going to replicate code unnecessarily.
Bookmarks