![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Pounding Googlebot
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,486
|
JScript Coding Question
Ok, I'm a bit stumped on this, so hopefully someone can help:
Document A has an Invisible Frame and the rest of the page is visible, so: DOC 1 -> Frame A (hidden) and Frame B (full) On Document 1 I have 2 Jscript variables (on the page that defines the frames). On Frame B I need to access the data stored in these 2 variables. How do I reference that data, I thought it would be top.window.VAR1 and top.window.VAR2 but I keep getting undefined. Anyone have an idea? Thanks WG
__________________
I play with Google. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Jul 2002
Location: Backseat of a Ford Escort Hatchback
Posts: 3,253
|
www.gurusnetwork.com
Every single time I have a question or a problem, this is the place to find solutions. Seriously, almost everyone there knows their shit. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2002
Location: Phoenix, AZ
Posts: 9,825
|
i'm smashed outta my mind... time for bed guys!
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project. Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Dec 2002
Location: South Florida
Posts: 434
|
Quote:
If that doesn't work, then no clue. But goodluck. ![]()
__________________
I bought a dog the other day... I named him Stay. It's fun to call him... "Come here, Stay! Come here, Stay!" He went insane. Now he just ignores me and keeps typing. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
Are all of the documents on the same domain? If the frames call documents on other domains there is no direct way to access the variables. The only way to communicate between two frames on different hosts is to pass data via the window.status variable.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Pounding Googlebot
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,486
|
Quote:
How do you use the window.status variable to pass data since I keep getting undefined errors. Any other suggestions will really help. Thanks everyone. WG
__________________
I play with Google. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Sep 2002
Location: http://www.nightstation.com
Posts: 1,375
|
Name the frames and collect the vals from the name instead
__________________
http://www.nightstation.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Feb 2002
Location: Florida
Posts: 672
|
Frames are treated like windows in code. If the frames are inside another frame, your code won't work. You might want to try "window.parent.VAR1".
__________________
- this space intentionally left blank - |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Pounding Googlebot
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,486
|
Quote:
WG
__________________
I play with Google. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |