This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > September 2004 > Scrollable Area's
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]
|
|
| brooksy15 2004-09-10, 7:15 pm |
| How do you create a scrollable area in the centre of a page. Not for visiters to type in, like a form)
| |
| Mark Post 2004-09-10, 7:15 pm |
| One way would be to use an iframe (inline frame).
Dreamweaver only partially supports them. They can't be inserted in Design
View and they don't display in Design View. They work just like regular
frames but you can put just one anywhere on your page without haveing to
create the entire page in frames.
You can place an iframe inside a table cell or CSS layer.
To create an iframe in Dreamweaver -
Create the page that will hold the main layout, determining where you want
the iframe to appear.
Create a second document that will be viewed inside the iframe, just like
with a regular frame. If the second document doesn't completely fit in the
iframe it will scroll.
In your main document, place the insertion point where the iframe will go.
Choose Insert>Tag to access the Tag Chooser.
From the HTML/Page Elements/General category.
Choose iframe and click Insert
The Edit Tag box opens. In the General category set your properties.
Click OK ad then Close.
Remember, the iframe won't show in Design View but if you switch to Code
View you'll see the code.
Preview the site in your browser and the iframe, with the second page inside
it, will appear.
This was taked from the book "Macromedia Dreamweaver MX 2004 Demystified" by
Laura Gutman. It's a very helpful book!
Mark
"brooksy15" <webforumsuser@macromedia.com> wrote in message
news:chsu66$dgf$1@forums.macromedia.com...
> How do you create a scrollable area in the centre of a page. Not for
> visiters to type in, like a form)
| |
| Mark Post 2004-09-10, 7:15 pm |
| I didn't mean to say that you could put only one on a page. You can put one
or as many as you like.
"Mark Post" <markpost@verizon.net> wrote in message
news:Cin0d.933$sX2.497@trndny09...
> One way would be to use an iframe (inline frame).
>
> Dreamweaver only partially supports them. They can't be inserted in
> Design View and they don't display in Design View. They work just like
> regular frames but you can put just one anywhere on your page without
> haveing to create the entire page in frames.
>
> You can place an iframe inside a table cell or CSS layer.
>
> To create an iframe in Dreamweaver -
>
> Create the page that will hold the main layout, determining where you want
> the iframe to appear.
>
> Create a second document that will be viewed inside the iframe, just like
> with a regular frame. If the second document doesn't completely fit in
> the iframe it will scroll.
>
> In your main document, place the insertion point where the iframe will go.
>
> Choose Insert>Tag to access the Tag Chooser.
>
> From the HTML/Page Elements/General category.
>
> Choose iframe and click Insert
>
> The Edit Tag box opens. In the General category set your properties.
>
> Click OK ad then Close.
>
> Remember, the iframe won't show in Design View but if you switch to Code
> View you'll see the code.
>
> Preview the site in your browser and the iframe, with the second page
> inside it, will appear.
>
> This was taked from the book "Macromedia Dreamweaver MX 2004 Demystified"
> by Laura Gutman. It's a very helpful book!
>
> Mark
>
> "brooksy15" <webforumsuser@macromedia.com> wrote in message
> news:chsu66$dgf$1@forums.macromedia.com...
>
>
| |
|
|
| T.Pastrana - 4Level 2004-09-10, 7:15 pm |
| You can also do this with no javascript if older browser support is not
needed.
http://www.fourlevel.com/nimbus/tex...scrollable3.htm
You can also check out iFrames. iFrames do not appear in Netscape 4.
--
Regards,
...Trent Pastrana
www.fourlevel.com
-----------------------------
"brooksy15" <webforumsuser@macromedia.com> wrote in message
news:chsu66$dgf$1@forums.macromedia.com...
> How do you create a scrollable area in the centre of a page. Not for
visiters to type in, like a form)
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|