Computing.Net > Forums > Web Development > javascript run code in anotherframe

javascript run code in anotherframe

Reply to Message Icon

Original Message
Name: plitwa
Date: August 12, 2005 at 14:35:42 Pacific
Subject: javascript run code in anotherframe
OS: xp
CPU/Ram: 128
Comment:

I want to have a page with 2 frames.
I want the one frame to have a javascript code in it and the other to have a website in it but have my code run in the other frame even if it's google.com for example.
Example- If i want to write a line in the second frame which is google.com
Oviously if the second frame is google.com I cannot put my code in that frame so is it possible to have a code carry my code over?

thank you in advance
I have tried this on my own with no luck


Report Offensive Message For Removal


Response Number 1
Name: randy1959
Date: August 14, 2005 at 04:33:13 Pacific
Subject: javascript run code in anotherframe
Reply: (edit)

It's not clear what exactly you want to do here. Do you want to have a navagation system using JavaScript in one frame and the links show up in the second frame?
You say you want to write a line in the webpage which is google. What do you mean "write a line"? Please give us another example or two so we know what you need. Is there any websites that you have visited that do what you are trying to do?


Report Offensive Follow Up For Removal

Response Number 2
Name: plitwa
Date: August 24, 2005 at 21:56:08 Pacific
Subject: javascript run code in anotherframe
Reply: (edit)

I have never seen what I am trying to do on any site. This is why it is so hard to explain. I am not even sure if it is possible.

Lets say for example, I want to use a style code and change google's fonts to be red. I cannot put that style code in Google itself being that Google is not my site. So is there a way to have one frame load google in the other frame and run the style code for that frame, thus making google's fonts red?


I am not sure if this is possible. However, If you know a way, I would be more than thankful.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: javascript run code in anotherframe

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software