I notice people give suggestions for working around problems in Frontpage
instead of confronting the question more directly- the question is not "How
can we rewrite the code" but rather "How do we stop Frontpage from screwing
up a very simple piece of code?" Put another way, the original code works
perfectly on every browser we've tested UNTIL Frontpage alters it. So, does
anyone know how to make Frontpage stop altering the functioning code? Have
you had similar experiences?
you're linking to the image rather than to an
html page with the image on it. In that case you have no control over the
size of the image
No, we're not linking to an image in the conventional sense- youll notice
there is no href in the tag. And we specifically do not want to control the
image size- just the opposite, we want it to display at whatever native size
it is.
You need to use code more like this:
Your link to the big pic <a href="picture1.html">Big Version</a>
Nope, does not achieve the same affect. It is NOT an href- the "a" tag is
just a convenient way to trigger the onclick event inline.
and the picture itself such as: <img src="big.jpg" width=480 height=590> in
the page "picture.html"
Again, this would require knowing ahead of time the size of all 9000 images
and then creating a new page for every one of them and then hard coding in
all the image sizes (although- Frontpage would do the last step for us,
ironically).
If you want a popup window to display picture1.html
9000 pop-up windows? Nope- no popup windows!
Again, the way you've done it won't allow you to change the size,
The size would change automatically to accomodate the dimensions of any of
the 9000 photos if Frontpage would stop putting hard-coded height and width
values in the HTML. (That is another way to state the problem.)
So how can Frontpage be made to stop inserting the offending code?
I'm starting to sense Adobe GoLive (or maybe Dreamweaver) with Unix servers
in our future.