473,698 Members | 1,780 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I allow separate frames to access code between each other?

1 New Member
First post!

So I've been trying to figure out how the heck I'm gonna do this. It's been driving me up the wall this past week so I figure this website would maybe be of some help. I'm new to using JavaScript (programming languages as a whole actually) and thought I should join a community where I can maybe learn a few things :]

Basically what I need to do is utilize frames and windows to be able to make a webpage with this format:



TOP FRAME

LEFT FRAME
  • List of Items with Check Box next to them

RIGHT FRAME
  • Updatable Cart Interface with the Total of all Items at the Bottom

------------------------------------------------------------------------------------------------------------------------------

Anyways, what I did was write the code out as if it were all in one frame and copied and pasted it into to the respective frames (<body> section in the left frame, and <script> + <head> sections on the right frame).

However, this got me nowhere since the code needs to be able to access each other between frames.

So, my question is; how do you make these two frames accessible to each other? Is there a way to do it without completely changing my current code?


Thank you
Mar 18 '11 #1
0 1240

Sign in to post your reply or Sign up for a free account.

Similar topics

8
2389
by: Dave | last post by:
This may be a simple question, but I'm new to .NET and not having much luck finding out the answer. I'm writing a Windows Service and want to develop a separate program that provides a user interface so the user can control the service. They are both being developed in Visual C# .NET. What is the best way to get them to talk to each other? I've heard of remoting, but not sure that is what I need, it seems kind of overcomplicated and...
12
2669
by: Manolis | last post by:
Hi, I was wondering if there is any way to make two objects of the same class to be able to access each other's private data, like this: class A { public: void access( const A& a ) {cout<<"a.value="<<a.value<<endl; } private: int value;
7
4370
by: ale.of.ginger | last post by:
Another question: I am writing a sudoku solving program. The 'solving' part of is just multiple iterations. It will take random numbers and keep switching it all around until a set of logic statements has been met (ie; all numbers in a row are not equal to each other) ... that's where my question comes in. Cellboard = my list for storing each row/column's data. Rather than writing
2
2175
by: Felix Finch | last post by:
I am a self taught SQL novice, possibly beneath contempt :-) Two questions here. One is how to define two tables whose columns reference each other, the other is whether trying to do this means I have a bogus design. CREATE TABLE xyzzy (a INT PRIMARY KEY, b INT REFERENCES plugh); CREATE TABLE plugh (c INT PRIMARY KEY, d INT REFERENCES xyzzy); I can't actually do this in 7.4, so I had to create the first table
6
3140
by: gavin | last post by:
hi guys, I have a query about c# event handling that should be obvious I am sure - but I am confused :-) Lets say I have two classes. One is a user control with a tabcontrol on it The other is a user control with a treeview on it. Now, both of these controls are placed on a form. Both classes raise events e.g. when the tab is changed on the first control, the tree
1
1877
by: Dan | last post by:
Is it possible to access controls on other forms when using managed C++? In VB, it was a simple matter of declaring the form as global, but this is apperently not possible when using managed code. How does one modify or read control properties when the scope of the form is limited to the function level? I need to have several forms open at the same time and all interacting with each other.
4
2935
by: Jeff | last post by:
Hi, Are there anyone can help me? My questions are as following: Because I have a tools bar which coding with javascript, it will reuse very often. So I want to separate the client-side java script code with asp.net . And make the client-side java script code as user defined cotrol. But I only find the RegisterClientScriptBlock method, it only can insert java script code to <body></body> in html. But my java script code must insert...
8
2814
by: Eric | last post by:
I am writing a program with several header files. I would like for some of them to be aware of others. Here is a small example of my problem in three different files: //// main.c++ #include "A.h" #include "B.h" int main () { using namespace std;
3
2081
by: ApexData | last post by:
The editor eliminates spaces in my code. Is there a setting or technique for stopping this behavior. I want to be able to space out my code for cleaner reading? ' I Like This: txtLASTMASTERS = Me.LASTMASTERS txtCOPYFILES = Me.COPYFILE txtBEDATAFILES = Me.BEDATAFILE
24
5803
by: Asja | last post by:
I have written an application that runs in a kind of peer-to-peer framework. Servers connect to a masterserver, which a client then queries to receive a list of servers. The client selects a server and connects to that server directly and both the server and client sever their connections with the masterserver. Problem: I have the masterserver set up at a location and it is not behind a router or firewall or anything, just directly connected...
0
8601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4365
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.