This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Microsoft Publisher > January 2007 > Scrollable Area
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| brelade 2007-01-27, 10:40 pm |
| How do I insert a scrollable area to my pages, so that the Nav Bar & Banner
remain in view, but the contents of the page are able to scroll up and down.
Cheers
--
brelade
| |
| Mike Koewler 2007-01-27, 10:40 pm |
| Use an iframe.
Mike
brelade wrote:
> How do I insert a scrollable area to my pages, so that the Nav Bar & Banner
> remain in view, but the contents of the page are able to scroll up and down.
> Cheers
| |
| brelade 2007-01-27, 10:40 pm |
| Mike, Thanks for your reply.
Where do i get an iframe from, & how do i insert it in to my page, is it
through HTML Code Fragment.
--
brelade
"Mike Koewler" wrote:
> Use an iframe.
>
> Mike
>
> brelade wrote:
>
>
| |
| Mike Koewler 2007-01-27, 10:40 pm |
| Brelade,
The program I use allows me to Insert a framed document and make it the
size I want automatically. But the code looks like this:
<iframe id="ifrm_1" name="ifrm_1" src="thanks.html" style="width:444px;
height:434px;></iframe>
The src is the page you want to display in the frame. If you make the
frame a few pixels wider than the target page, you can avoid horizontal
scroll bars.
HTH,
Mike
brelade wrote:
> Mike, Thanks for your reply.
> Where do i get an iframe from, & how do i insert it in to my page, is it
> through HTML Code Fragment.
| |
| brelade 2007-01-27, 10:40 pm |
| I have inserted the code below, which indeed has brought up a scrollable area.
As you mention the src brings up the page you wish to show in the scrollable
area.
However is it posible to insert a blank scrollable area within my main
programme then insert what i wish then up load it to the web.
I wish to keep my Banner & Nav Bar seperate, & just have the main area free
flowing. Is this possible with Publisher
Cheers
--
brelade
"Mike Koewler" wrote:
> Brelade,
>
> The program I use allows me to Insert a framed document and make it the
> size I want automatically. But the code looks like this:
> <iframe id="ifrm_1" name="ifrm_1" src="thanks.html" style="width:444px;
> height:434px;></iframe>
>
> The src is the page you want to display in the frame. If you make the
> frame a few pixels wider than the target page, you can avoid horizontal
> scroll bars.
>
> HTH,
>
> Mike
>
> brelade wrote:
>
| |
| brelade 2007-01-27, 10:40 pm |
| To explain further, what i would like to do is have a scrollable area to one
side of my page with example latest news items, so that i have a title & text
that i can edit, i.e change font & colour /underline / choose background
colour etc, then have some text, with a hyperlink so than my vistors can view
full story etc, then seperate each news item up, with either a line for new
title for next news item.
Very similar to this discussions page where you view threads (Centre
Scrollable Area), but with out the expandable option.
I have used the code you have given me, but when using it it brings up the
whole orginal page in the scrollable area.
Am i right in saying that i have to make a sepearte page for each scrollable
area, then with the src, link to that page, if so i have a few questions.
1. If i have to make a sepearte page how do i resize that page individualy,
as again when i resize any pages it resizes all of the pages within the site
or.
2. Do i have to make a folder on my server for these pages & link
individually with src
I was hopeing that i could just layout my pages with fixed area's &
scrollable area's on the main programme.
Cheers
--
brelade
"brelade" wrote:
[color=darkred]
> I have inserted the code below, which indeed has brought up a scrollable area.
> As you mention the src brings up the page you wish to show in the scrollable
> area.
>
> However is it posible to insert a blank scrollable area within my main
> programme then insert what i wish then up load it to the web.
>
> I wish to keep my Banner & Nav Bar seperate, & just have the main area free
> flowing. Is this possible with Publisher
> Cheers
> --
> brelade
>
>
> "Mike Koewler" wrote:
>
| |
| Mike Koewler 2007-01-27, 10:40 pm |
| Brelade,
I forgot about Pub not allowing different page sources. That sort of
throws a wrinkle in the idea. A workaround, though not eloquent, would
be to create other pages and use absolute links.
Mike
brelade wrote:
> To explain further, what i would like to do is have a scrollable area to one
> side of my page with example latest news items, so that i have a title & text
> that i can edit, i.e change font & colour /underline / choose background
> colour etc, then have some text, with a hyperlink so than my vistors can view
> full story etc, then seperate each news item up, with either a line for new
> title for next news item.
> Very similar to this discussions page where you view threads (Centre
> Scrollable Area), but with out the expandable option.
>
> I have used the code you have given me, but when using it it brings up the
> whole orginal page in the scrollable area.
> Am i right in saying that i have to make a sepearte page for each scrollable
> area, then with the src, link to that page, if so i have a few questions.
>
> 1. If i have to make a sepearte page how do i resize that page individualy,
> as again when i resize any pages it resizes all of the pages within the site
> or.
>
> 2. Do i have to make a folder on my server for these pages & link
> individually with src
>
> I was hopeing that i could just layout my pages with fixed area's &
> scrollable area's on the main programme.
> Cheers
| |
| brelade 2007-01-27, 10:40 pm |
| Can you explain an absolute link, give an example of how to do it.
Am i right in saying, If i create a new seperate page, then save it in a new
folder on my server,is the link below a correct
example.(http://www.breladecockerspaniels.co...areas/page1.pub)
then insert the code you have given me, adjust it's placement by doing web
preview, then with the link i make, it should appear where i want it on the
page.
When i create this new page, what format do i save it as, (web page / pub
doc ).
I need to make weekly text changes to this scrollable area.
--
brelade
"Mike Koewler" wrote:
> Brelade,
>
> I forgot about Pub not allowing different page sources. That sort of
> throws a wrinkle in the idea. A workaround, though not eloquent, would
> be to create other pages and use absolute links.
>
> Mike
>
> brelade wrote:
>
| |
| Mike Koewler 2007-01-27, 10:40 pm |
| Brelade,
It would not be
http://www.breladecockerspaniels.co...areas/page1.pub
but you could replace index.htm with index_files and your page name
would end in htm. You do want to make sure it does not have the same
name as another file in the same folder.
When you want to change it, you edit page1.pub then republish it.
Mike
brelade wrote:
> Can you explain an absolute link, give an example of how to do it.
>
> Am i right in saying, If i create a new seperate page, then save it in a new
> folder on my server,is the link below a correct
> example.(http://www.breladecockerspaniels.co...areas/page1.pub)
> then insert the code you have given me, adjust it's placement by doing web
> preview, then with the link i make, it should appear where i want it on the
> page.
>
> When i create this new page, what format do i save it as, (web page / pub
> doc ).
> I need to make weekly text changes to this scrollable area.
| |
| brelade 2007-01-27, 10:40 pm |
| Mike, i have managed to sort the absolute link out, Thank you.
http://breladecockerspaniels.co.uk/scroll/page1htm
I haven't uploaded it to my site yet, but works well in web preview, however.
I have inserted a hyperlink in the iFrame, which when click takes you to the
correct page, but it appears within the iFrame, is the anyway you know of,
that when i click the hyperlink, that it takes me to the new page outside of
the iFrame, ie. a new page.
Also is there any way to remove the bottom scroll bar, do i have to make the
width of the new page smaller than the iFrame to remove it, and can i choose
which side i have the vertical scroll bar as well.
Cheers
--
brelade
"Mike Koewler" wrote:
> Brelade,
>
> It would not be
> http://www.breladecockerspaniels.co...areas/page1.pub
> but you could replace index.htm with index_files and your page name
> would end in htm. You do want to make sure it does not have the same
> name as another file in the same folder.
>
> When you want to change it, you edit page1.pub then republish it.
>
> Mike
>
> brelade wrote:
>
>
| |
| Mike Koewler 2007-01-27, 10:40 pm |
| Brelade.
To open a link in a new window, you can usually use something like <a
href="index.html" target="_blank"> </a>
To avoid a horizontal scrollbar, you will need to make your iframe large
enough to hold your page, or your page small enough to fit in the iframe.
AFAIK, it's not possible to change what side the scroll bar will appear on.
Mike
brelade wrote:
> Mike, i have managed to sort the absolute link out, Thank you.
>
> http://breladecockerspaniels.co.uk/scroll/page1htm
>
> I haven't uploaded it to my site yet, but works well in web preview, however.
>
> I have inserted a hyperlink in the iFrame, which when click takes you to the
> correct page, but it appears within the iFrame, is the anyway you know of,
> that when i click the hyperlink, that it takes me to the new page outside of
> the iFrame, ie. a new page.
>
> Also is there any way to remove the bottom scroll bar, do i have to make the
> width of the new page smaller than the iFrame to remove it, and can i choose
> which side i have the vertical scroll bar as well.
> Cheers
| |
| brelade 2007-01-27, 10:40 pm |
| Mike, as you probably have guessed by now i am quite a beginner at this,
hence the request for detailed futher help.
I dont want to open a link in a new window, what i would like to do is move
from the iFrame to my normal pages, along the lines of the iFrame on this
page to the extreme left.
At present the link works in the iFrame, BUT they OPEN in that frame, i just
want to move from there & not have a pop up window.
The code you have given me, without sounding rude, where do i insert it
!!!!!!, is it in the new page i have created before i save it, or added to
the orginal code for the iframe
<IFRAME src="http://www.breladecockerspaniels.co.uk/scroll/page1.htm"
width="272" height="100" hspace="0" vspace="0"
frameborder="0" scrolling="auto"></IFRAME>
Cheers for your help
--
brelade
"Mike Koewler" wrote:
> Brelade.
> To open a link in a new window, you can usually use something like <a
> href="index.html" target="_blank"> </a>
>
> To avoid a horizontal scrollbar, you will need to make your iframe large
> enough to hold your page, or your page small enough to fit in the iframe.
>
> AFAIK, it's not possible to change what side the scroll bar will appear on.
>
> Mike
>
>
> brelade wrote:
>
>
| |
| Mike Koewler 2007-01-27, 10:40 pm |
| Brelade,
What page has the iframe on it? I'm having trouble understanding exactly
what you are trying to do - it's not your fault! I'm battling the
results of a visit from a really mean bug who came in uninvited and beat
me up pretty bad. I can't even work Sudoku puzzles let along figure out
some coding.
Hopefully, I'll be fine tomorrow.
Mike
brelade wrote:
> Mike, as you probably have guessed by now i am quite a beginner at this,
> hence the request for detailed futher help.
>
> I dont want to open a link in a new window, what i would like to do is move
> from the iFrame to my normal pages, along the lines of the iFrame on this
> page to the extreme left.
>
> At present the link works in the iFrame, BUT they OPEN in that frame, i just
> want to move from there & not have a pop up window.
>
> The code you have given me, without sounding rude, where do i insert it
> !!!!!!, is it in the new page i have created before i save it, or added to
> the orginal code for the iframe
>
> <IFRAME src="http://www.breladecockerspaniels.co.uk/scroll/page1.htm"
> width="272" height="100" hspace="0" vspace="0"
> frameborder="0" scrolling="auto"></IFRAME>
>
> Cheers for your help
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|