This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > March 2005 > help needed
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]
|
|
| Pedro Carvalho 2004-03-10, 11:32 am |
| hello.
at this time i'm having two diferent problems and at this time hven´t found
any conclusive solutions.
1st problem:
if I have a page based on a table, (align property = center), every time I
resize my browser window the table is always centered. Fine it's what I
want.
Can I do the same thing in a page based in layers?
If I have a layer inside a cell, when I resize the browser window, the layer
rests in the same old place. why? should it go with the cell?
2nd problem.
I'm making a nav banner in XARA.
I need to tell xara to open the index2.html with width=800,height=350.
is it possible to do it? how?
sorry about the english mystakes....
please help.
pedro
| |
| Osgood 2004-03-10, 1:29 pm |
| Osgood wrote:
>cut the cut
should be cut the CODE
| |
| Osgood 2004-03-10, 1:29 pm |
| Pedro Carvalho wrote:
> 1st problem:
> if I have a page based on a table, (align property = center), every
time I
> resize my browser window the table is always centered. Fine it's what
I want.
> Can I do the same thing in a page based in layers?
Yes, with css. Try this cut the cut below and paste it directly before
the closing </head> tag of your pages code.
<style type="text/css">
#mylayer {
width: 400px
height: 200px;
margin: 0 auto;
background-color: #999;
position: relative;
}
</style>
Place the following piece of code directly after the opening <body> tag
<div id="mylayer">This is the container</div>
Now you can place all of your absolutely positioned layers inside this
'container' layer and they will move with it when the browser viewport
is widened and narrowed.
Go here and see tis in action. It was devised by a forum regular.
http://www.roast-horse.com/tutorial...tent/index.html
> If I have a layer inside a cell, when I resize the browser window,
the layer
> rests in the same old place. why? should it go with the cell?
You shouldnt place a layer (absolutely positioned <div> ) in a cell, its
not good practice.
> 2nd problem.
>
> I'm making a nav banner in XARA.
> I need to tell xara to open the index2.html with width=800,height=350.
> is it possible to do it? how?
Sorry I have no idea what xara is.
| |
| Pedro Carvalho 2004-03-10, 1:29 pm |
| Thankx
XARA is a software that builds navigation bars and other funny things.
The poit is... in a single line of code, can I order a window to open and at
the sime time define de size of it?
I need the window "empresa.html" to open with 400x300, without scroll bars,
status bar, etc....
this is part of the code of the js file with the nav bar.
startMainMenu("menu01_left.gif",18,5,2,0,0)
mainMenuItem("menu01_b1",".gif",18,98,loc+"../../obras.htm","","EMPRESA",2,2
,"menu01_plain");
mainMenuItem("menu01_b2",".gif",18,98,"java script:;","","PRODUTOS",2,2,"menu
01_plain");
mainMenuItem("menu01_b3",".gif",18,98,loc+"../../obras.htm","","NOVIDADES",2
,2,"menu01_plain");
mainMenuItem("menu01_b4",".gif",18,98,loc+"../../obras.htm","","LOJA
ONLINE",2,2,"menu01_plain");
mainMenuItem("menu01_b5",".gif",18,98,loc+"../../obras.htm","","CONTACTOS",2
,2,"menu01_plain");
mainMenuItem("menu01_b6",".gif",18,98,loc+"../../obras.htm","","PROFISSIONAI
S",2,2,"menu01_plain");
endMainMenu("menu01_right.gif",18,5)
how can I define it?????
----- Original Message -----
From: "Osgood" <notavailable@thisaddress.com>
Newsgroups: macromedia.dreamweaver
Sent: Wednesday, March 10, 2004 4:41 PM
Subject: Re: help needed
"Osgood" <notavailable@thisaddress.com> escreveu na mensagem
news:c2ngko$kt0$1@forums.macromedia.com...
> Pedro Carvalho wrote:
>
>
> time I
> I want.
>
> Yes, with css. Try this cut the cut below and paste it directly before
> the closing </head> tag of your pages code.
>
> <style type="text/css">
> #mylayer {
> width: 400px
> height: 200px;
> margin: 0 auto;
> background-color: #999;
> position: relative;
> }
> </style>
>
> Place the following piece of code directly after the opening <body> tag
>
> <div id="mylayer">This is the container</div>
>
> Now you can place all of your absolutely positioned layers inside this
> 'container' layer and they will move with it when the browser viewport
> is widened and narrowed.
>
> Go here and see tis in action. It was devised by a forum regular.
>
>
http://www.roast-horse.com/tutorial...content/index.h
tml
>
>
>
> the layer
>
> You shouldnt place a layer (absolutely positioned <div> ) in a cell, its
> not good practice.
>
>
> Sorry I have no idea what xara is.
>
| |
| Murray *TMM* 2004-03-10, 1:30 pm |
| Pedro:
XARA is an all-javascript menu system. It will cause the identical problems
that any all-javascript menu system causes.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Pedro Carvalho" <qualidade@hpires.pt> wrote in message
news:c2nhgs$mgg$1@forums.macromedia.com...
> Thankx
>
> XARA is a software that builds navigation bars and other funny things.
> The poit is... in a single line of code, can I order a window to open and
at
> the sime time define de size of it?
>
> I need the window "empresa.html" to open with 400x300, without scroll
bars,
> status bar, etc....
>
> this is part of the code of the js file with the nav bar.
>
> startMainMenu("menu01_left.gif",18,5,2,0,0)
>
mainMenuItem("menu01_b1",".gif",18,98,loc+"../../obras.htm","","EMPRESA",2,2
> ,"menu01_plain");
>
mainMenuItem("menu01_b2",".gif",18,98,"java script:;","","PRODUTOS",2,2,"menu
> 01_plain");
>
mainMenuItem("menu01_b3",".gif",18,98,loc+"../../obras.htm","","NOVIDADES",2
> ,2,"menu01_plain");
> mainMenuItem("menu01_b4",".gif",18,98,loc+"../../obras.htm","","LOJA
> ONLINE",2,2,"menu01_plain");
>
mainMenuItem("menu01_b5",".gif",18,98,loc+"../../obras.htm","","CONTACTOS",2
> ,2,"menu01_plain");
>
mainMenuItem("menu01_b6",".gif",18,98,loc+"../../obras.htm","","PROFISSIONAI
> S",2,2,"menu01_plain");
> endMainMenu("menu01_right.gif",18,5)
>
>
> how can I define it?????
>
>
> ----- Original Message -----
> From: "Osgood" <notavailable@thisaddress.com>
> Newsgroups: macromedia.dreamweaver
> Sent: Wednesday, March 10, 2004 4:41 PM
> Subject: Re: help needed
>
> "Osgood" <notavailable@thisaddress.com> escreveu na mensagem
> news:c2ngko$kt0$1@forums.macromedia.com...
>
http://www.roast-horse.com/tutorial...content/index.h
> tml
width=800,height=350.[color=darkred]
>
>
| |
| Pedro Carvalho 2004-03-10, 1:30 pm |
| OK.
But my doubt remains:
in this line of code can I define the page 'obras.htm' to open with 400x300?
mainMenuItem("menu01_b1",".gif",18,98,loc+"../../obras.htm","","EMPRESA",2,2
,"menu01_plain");
or I must define it on the the page?
if so, how to do it?
sorry about the insistense
pedro
| |
| A.H.O. 2004-08-16, 4:15 am |
| This can be cause be a couple of things...If you can show the code for the entire page the design geniuses here could tell you the problem in a heartbeat.
| |
| .: Nadia :TMM :. 2004-08-16, 4:15 am |
| Set your body margins using the following in the head of your document just
below the closing </head>.
<style type="text/css">
<!--
body { margin: 0px; padding: 0px;}
-->
</style>
--
Nadia
Team Macromedia Volunteer for Dreamweaver
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
-----------------
"zhujack" <webforumsuser@macromedia.com> wrote in message
news:cfpi86$hs0$1@forums.macromedia.com...
> I am a beginner to Dreamweaver. I appreciate all helps and attentions you
give
> to me. Here is my problem. When I use preview for created web page or
template
> by IE, there are some white space on the top and right sides of template.
How
> can I solve it? Thanks a lot for helps.
>
| |
| Durwood Edwards 2004-08-16, 12:15 pm |
| Don't you mean "just >>BEFORE<< the closing </head>"?
D
".: Nadia :TMM :." <nadia@no-junk=dreamweaverresources.com> wrote in message
news:cfpj86$ifv$1@forums.macromedia.com...
> Set your body margins using the following in the head of your document
just
> below the closing </head>.
>
> <style type="text/css">
> <!--
> body { margin: 0px; padding: 0px;}
> -->
> </style>
>
>
> --
> Nadia
> Team Macromedia Volunteer for Dreamweaver
> ---------------
> http://www.DreamweaverResources.com
> Free Templates | Free Nav Bar Sets
> Dropdown Menu Designs | CSS Layouts
> Ecommerce - YVStore | SEO Articles
> Table Tutorials | Background image Tutorials
> ------------------------------------------------
> MM Dreamweaver Tutorials
> http://macromedia.com/devnet/mx/dreamweaver/
> -----------------
>
>
>
> "zhujack" <webforumsuser@macromedia.com> wrote in message
> news:cfpi86$hs0$1@forums.macromedia.com...
you[color=darkred]
> give
> template
template.[color=darkred]
> How
>
>
| |
| .: Nadia :.TMM :. 2004-08-16, 12:15 pm |
| Another blooper (typo) for the day :\
YES I did mean *before* </head>
Thanks for the catch........ time to get some rest, put up the feet and
watch some of the days' Olympic replays..
--
Nadia
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
------------------------------------------------
Team Macromedia Volunteer for Dreamweaver
"Durwood Edwards" <durwoode@NOSPAMbellsouth.net> wrote in message
news:cfqasg$d7t$1@forums.macromedia.com...
> Don't you mean "just >>BEFORE<< the closing </head>"?
> D
>
> ".: Nadia :TMM :." <nadia@no-junk=dreamweaverresources.com> wrote in
message
> news:cfpj86$ifv$1@forums.macromedia.com...
> just
> you
> template.
>
>
| |
| chad_lindsey 2005-03-18, 12:26 pm |
| ok not sure if any of that worked for you but if you want to open a window with a specific size in javascript you can try this link.
http://www.pageresource.com/jscript/jwinopen.htm
considering your menu system is all java-based, it should work fine. Let me know if this helps. I'm pretty busy during the day, but I don't mind helping. You always can learn something form everyone. I have designed and manage http://www.neigps.com
Chad. |
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|