Solved

Affecting frames in Version 3 browsers.

Posted on 1998-12-12
4
202 Views
Last Modified: 2010-04-09
Is it possible to do an image swap or some such thing in one frame triggered by an event such as a mouse click in another frame.

In a V4 browser you just call top.framename.object.property or window.framename.object.property but in V3 you get an error that the object is not defined or does no have the specified source.  Any suggestion?
0
Comment
Question by:guadalupe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1840530
parent.frameName.document.imageName.src should work.

Martin
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 50 total points
ID: 1840531
except in IE3 which does not support the image swap at all.

Version 3 browsers don't support window.onclick either and cannot register mouse clicks except on form buttons and anchors.

Michel
0
 
LVL 3

Author Comment

by:guadalupe
ID: 1840532
Hey thanks for the answer but it brings up another problem.  The images I am swapping are of differening sizes and V3 seem to force the new image into the old image dimensiones EVEN THOUGH I have purposly not hard coded the dimensions in order to avoid this.  V4 respect the lack of hard coded dimensions and take the dimensions of each new image.  But V3 seems to take the dimensions of the original image and force all swapped images into those.  Any suggestions?

Thanks
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1840533
I am sorry, only way is to use frames or new window and resize the windows (or just rewrite the html in the window/frame to hold the real image size. NS4 will also not reflow a page if the image changes...

Michel
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question