To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 2131
2130  |  2132
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: 
2533 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:
  Re: HTML for displaying an Image in a scrollable image box
 
Frank, Just wanted to thank you for the insight on accessing functions in frame. That was the direction I needed. I was able call the function perfectly with the following syntax: document.frames("Ima...oomLevel); Also the look of the frame was (...) (26 years ago, 28-Jun-00, to lugnet.publish)

Message is in Reply To:
  Re: HTML for displaying an Image in a scrollable image box
 
(...) Frank, I guess I should have worded the orginal question better, I didn't mean to say HTML only, but I think client side only would have been better worded. I realize that the current function isn't ASP. I should have been more clear, my bad. (...) (26 years ago, 27-Jun-00, to lugnet.publish)

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
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR