| | |
|
|
|
Re: Window Size on Popup |
| message from seb on 19 Jul 2004 |
you applied the open window behavior to the body tag. You want to apply
it to a link: select whatever you want to link to it, and in properties
inspector, in link block, write
javascript:;
THEN, apply the behavior.
Problem TWO:
you're linking to your hard drive
('file:///D|/BenjaminFolder/WebSites/...).
When files will be uploaded on the web, none off the links will work
because they link to YOUR computer hard drive.
You need to change that ASAP, before your whole site is screwed up.
ALL links should be relative to the site root folder, not your hard drive.
BeniFxTrader wrote:
|
| BeniFxTrader replied to seb on 19 Jul 2004 |
I tried attaching a behavior to the link...but when I click on the link and/or
highlight the entire link, the behaviors options within the behaviors window
become limited to nearly nothing.
Only when I click on the body can I attach a behavior such as the window
behavior. Why is this? Is there a way to get the behaviors to work when
clicking on a link as you suggest? or must I type the HTML in manually?
|
| David Plank replied to BeniFxTrader on 19 Jul 2004 |
TRy this
Put a # in the link box of the properties window.
In the Behavior window select "Open Browser Window"
This will give you a number of options that you can specify for
the window.
dp
BeniFxTrader wrote:
|
| seb replied to BeniFxTrader on 19 Jul 2004 |
if you had written
"javascript:;" (without the quotes)
in your link box in properties panel, you would then see all the
behaviors available, when you select this link.
You have to make sure you select the actual link (with your text link
selected, click on the little <a> at the bottom of your design window).
Then all behaviors will be available.
BeniFxTrader wrote:
|
| BeniFxTrader replied to seb on 20 Jul 2004 |
WONDERFUL, I finally got it to work :). One last problem to figure out. I can
get my policy window to popup "onclick" with the right window size...but
another window opens after it with the address "javascript:;"
<a href="javascript:;" target="_blank"
onClick="MM_openBrWindow('FairUse.html','','scrollbars=yes,width=560,height=367'
)"><font color="#000000">FairUse</font></a>
I appreciate all the help,
Benjamin
|
|
Archived message: Re: Window Size on Popup (Macromedia Dreamweaver)