|
Posted by Jonathan N. Little on 03/24/06 19:36
Chris Ianson wrote:
> "Jonathan N. Little" <lws4art@centralva.net> wrote in message
> news:4424198f$0$3703$cb0e7fc6@news.centralva.net...
>>> But how does this let me jump from the left of the panorama to the right
>>> of the panorama? "I1" is just the frame, not the name/bookmark position
>>> within it.
It targets your IFRAME and not your outer document
>>>
>>> In my link of you try clicking Go To End it jumps you to the far right of
>>> the panorama, right?
Correct
>>>
>>> Simply, how do I achieve this without scrolling down the entire web page?
>>> Or, if the entire web page has to scroll down, how do I scroll it back up
>>> again to compensate?
>> Just add 'target="I1"'to both links and then witness. If you are still
>> confused, then it will be a sign for "gettin' some ed-geew-mi-cation"
>
> Sorry Jonathan but I don't think you understand what the problem is or what
> I'm trying to do. I tried your suggestion even though I couldn't understand
> what it would solve, and it did nothing different.
No I am afraid it is you that do not understand: The change is to your
IFRAME document
<html><head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"><title>Go To End</title></head><body>
<div style="position: absolute; left: 50px; top: 245px; width: 147px;
height: 83px; z-index: 1;" id="layer1">
<b><span style="background-color: rgb(255, 255, 0);"><font
size="5"><a href="#end" target="I1">Go To
End</a></font></span></b><p><a name="start" target="I1"></a></p></div>
<div style="position: absolute; left: 3669px; top: 227px; width: 163px;
height: 70px; z-index: 2;" id="layer2">
<span style="background-color: rgb(255, 255, 0);">
<a href="#start">
<font size="5"><b>Go To </b></font><font
size="5"><b>Start</b></font></a></span><a name="end"></a></div>
<p><img src="A1image_data/A1pan.jpeg" border="0" height="403"
width="3832"></p>
</body></html>
{ I apologize to the NG this is CI's markup not mine! }
>
> It still makes the whole page scroll down.
What? I thought your said the problem was that your document would
scroll to the top and that the iframe image would not be visible and
that was the issue?
Your links are on the image, and the iframe is way down the document
beneath a gaggle of lorem ipsum's. I would assume that if someone were
view the image and then (I don't know, lost the ability to us a scroll
bar) click the link to reposition the image and the image darted from
view that this would not be a desirable outcome.
If you refer to my other recent
> post to Spartacus in this thread, you will see he has understood the issue.
> Hopefully between all our brains we will be able to find a way around the
> problem.
The problem really is that this is NOT the way to do this. Flash would
be far more suitable.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|