Subject:
|
Re: HTML for displaying an Image in a scrollable image box
|
Newsgroups:
|
lugnet.publish
|
Date:
|
Tue, 27 Jun 2000 17:58:44 GMT
|
Viewed:
|
579 times
|
| |
| |
In lugnet.publish, James J. Trobaugh writes:
[snipped a little]
>
> But your solution interest me. So you're saying that I put the image and the
> function in a separate image.htm file, make that image.htm file the "scr" for
> the iFrame and reference the Imagezoom() function in the image.htm from my
> default.htm file? (assuming that the iframe is in the default.htm) That would
> be cool if that what you mean. I'll have to go try it.
Yup, that is basically it. Also fiddle a little with the iframe's style so it
is not too obvious that the picture is inside a frame (no borders and no
margins etc.)...
I have used the 'function call in another document' in my experimental
Javascript Monopoly (sorry IE4+ only) I made in feb '99 to learn DHTML and
Javascript: http://www.kaos.demon.nl/monopoly/thegame.html
The call happens when you 'trade' property: a new window is opened and
functions are called to fill the dropdowns and send the result to the other
window. I never finished it but it was a nice learning experience!
-Frank
|
|
Message has 1 Reply:
Message is in Reply To:
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|