Forum index / Computers / dreamweaver mx

dreamweaver mx

11 posts · page 1 of 1

post #1
02 April 2005, 19:31 UTC#1
Does anyone know how in dreamweaver I can make it so when a window opens up it is a specific size, as opposed to the whole page the window is just a lil window.Only example I can think of is the trailers on bumfights.com.

Anyone, please?! biggrin.gif
post #2
02 April 2005, 19:32 UTC#2
java script I believe .... no idea in dream weaver
post #3
02 April 2005, 19:35 UTC#3
er.. dunno how to explain but il try..



<script language="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left = 212,top = 184');");
}
// End -->
</Script>

paste that into your head tags then erm...

<A HREF="javascript:popUp('pagename.html')">text</A>

that as the link to the new page but obviously replacing the page name and the text to whatever u want it to say.. and you can change the size of the window by editin the numbers for the height n width etc.

I think thats right if it doesnt work then just post again n il ave a lil look to see why it doesnt
post #7
02 April 2005, 19:45 UTC#7
cheers
post #8
02 April 2005, 19:50 UTC#8
If that didnt work mess with the behaviors on dreamweaver. Theres "pop up in a new window" and you can choose the size.
post #9
02 April 2005, 20:15 UTC#9
Sorry to keep going on, I got it to work, but how can I make it so the picture is te link not the text, I know how to make a pic a link, but not with all of that going on?!
post #10
02 April 2005, 20:16 UTC#10
<a href "wierd code he gave you"><img src=""></a>
post #11
02 April 2005, 20:33 UTC#11
cheers