You are here: Re: Multiple frames and scrolling? « HTML « IT news, forums, messages
Re: Multiple frames and scrolling?

Posted by Roy Schestowitz on 04/26/06 15:29

__/ [ Neredbojias ] on Wednesday 26 April 2006 13:10 \__


> I would like to create a document containing two frames, in a vertical
> split, as follows
>
> +---------------------------------------------------------------------+
> | <Prev> <Next> |
> +---------------------------------------------------------------------+
> | <Anchor 1> |
> | <some text> |
> | |
> | |
> | <Anchor 2> |
> | <some text> |
> | |
> | |
> | |
> | <Anchor 3> |
> | <some text> |
> | |
> | |
> +---------------------------------------------------------------------+


The top part can be turned into a float (absolute position) without the use
of server side includes, frames, or iframes. See more ideas below.


> To further the education of mankind, pelakh@yahoo.com vouchsafed:
>
>> I would like to create a document containing two frames, in a vertical
>> split,
>> And I need to have the <Prev> and <Next> buttons scroll the bottom
>> frame to show the previous/next anchor.
>>
>> Here is the tricky part - I know how to do this when placing the two
>> frames into separate URLs. What I would like two do is to have it ALL
>> in a single file, so I can serve it up with one request. Perhaps frames
>> isn't the right mechanism, and I should be using some sort of embedded
>> <div>, or <iframe>.
>
> You'd need javascript to do that. Might want to check at
> comp.lang.javascript.


An old and deprecated CV of mine < http://schestowitz.com/CV/CV.htm >achieved
something similar. Set your browser to pretend to be Internet Explorer
(please don't ask why) and access the page.

Now, notice the JavaScript function in the source code. It achieves staged
scrolling to the anchors and you could probably embed the buttons in a
float. Use CSS to ensure the buttons always hover on top and are located at
the top

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com | SuSE Linux ¦ PGP-Key: 0x74572E8E
1:20pm up 3 days 22:31, 9 users, load average: 0.60, 0.72, 0.92
http://iuron.com - Open Source knowledge engine project

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация