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 / 2132
2131  |  2133
Subject: 
Re: HTML for displaying an Image in a scrollable image box
Newsgroups: 
lugnet.publish
Date: 
Wed, 28 Jun 2000 19:56:06 GMT
Viewed: 
875 times
  
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("ImageBox").ImageBoxShowPage(g_iZoomLevel);

Also the look of the frame was perfect, I actually wanted the bordered look.
The idea behind the demo was to simulate a special image control with out
actually loading the control for the demo. So it looked great.

Thanks again for the help.

jt

In lugnet.publish, Frank Buiting writes:
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 is in Reply To:
  Re: HTML for displaying an Image in a scrollable image box
 
(...) [snipped a little] (...) 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 (...) (24 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
    

Custom Search

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