Solved

Affecting frames in Version 3 browsers.

Posted on 1998-12-12
4
187 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centered Image 2 28
How can I convert HTML files to .pdf files? 9 57
Problem with spacing columns on a row in a table 10 25
Index on a Table 6 14
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

777 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