| | |
|
|
|
Link to open a pop up |
| message from Steven Turner on 23 Jul 2004 |
Hi
I feel so stupid, all I want to do is have a link open a pop up browser with a
predetermined size. I have searched and can't find anything. I can use the
behaviours to do it on opening a page but not via a link.
Any assistance would be much appreciated.
I'm using DW MX
|
| trufla replied to Steven Turner on 23 Jul 2004 |
Hello!
Go to the behaviors tabe and click open browser window. There you will be able
to specify the document you want to open and you will find settings to display
the document how you want to in the browser.
Before you do, open the document you want to display a certain size in
dreamweaver and minimise it alittle in the design view.
In the bottom right hand corner you will see digits like 551*249 or similar.
Left click this and select edit sizes. You can choose the size of the document
here.
Hopefully this is what you meant! It should then display at the size you want
it to.
|
| jojo replied to Steven Turner on 23 Jul 2004 |
Hi
Create a null link on your page by selecting your text and typing
javascript:; into the link field in the property inspector. Look at the
quick tag selector bottom of left of DW's status bar, ensure you have
the <a> tag selected, if you don't, select it by clicking on it.
Go to the behaviours panel and apply the open browser window behaviour,
make sure you select onclick as the event, you should be good to go. You
can set your parameters in the behaviours dialogue box.
|
| Matthias Chlechowitz replied to Steven Turner on 23 Jul 2004 |
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<a href="#"
onMouseOver="MM_openBrWindow('1.html','12','toolbar=yes,location=yes,status=
yes,menubar=yes,scrollbars=yes,resizable=yes,width=100,height=100')">link</a
</body>
|
|
Archived message: Link to open a pop up (Macromedia Dreamweaver Web Design)