Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 24th, 2006, 12:39 PM
Registered User
 
Join Date: Jan 2006
Location: St. John\'s, , Canada.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default javascript and frames

I have a javascript made. I have buttons (drop down affect) menus. The javascript has 3 forms and 3 menus.

I want to have a menus in one frame and have the affect of the menus occur within another frame. How do I do this?

I have a javascript that have the ability to change text size, background color and text color. It does that.

But I want to put the buttons (onclick) into one frame and have the ability to change the color of another frame. I need help.... and I'm not a computer programmer or anything.

Reply With Quote
  #2 (permalink)  
Old January 25th, 2006, 02:28 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

HI ihatejava!!

onclick of the buttonin one frame use

  If you have frame name
   parent.secondframe.document.bgColor="red"
  or
   parent.frames[1].document.bgColor="red"
  where first frame is access by index 0 ,secondframe is by 1 etc


hope this will help you


Cheers :)

vinod
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refreshing Frames in JavaScript dhruthi.ram99 Javascript 1 December 19th, 2007 10:20 AM
refreshing frames with javascript arnabghosh Javascript How-To 1 April 18th, 2006 07:14 AM
showing javascript context menus outside frames... jxn Javascript How-To 5 February 3rd, 2006 07:53 PM
cross frames with javascript drop-down menu crmpicco Javascript How-To 1 March 14th, 2005 12:57 PM
javascript drop-down menu that can cross-frames! crmpicco Javascript How-To 1 March 14th, 2005 12:56 PM



All times are GMT -4. The time now is 01:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.