PDA

View Full Version : customized windows



Makaveli
October 22nd, 2003, 03:26 PM
hello,

I was wondering how to make customized windows like the one on this site

http://www.icdsoft.com/hosting.php

when you click one of the links, it opens a window, but the size and height of the window are smaller and they dont have any of the toolbar options or adress bar etc

thanks in advance

nobody
October 22nd, 2003, 03:33 PM
You would use javascript to do that.
Lost has a pretty cool little mini tutorial type thing he has that he gives out, try to find him, he'll have it.

Makaveli
October 22nd, 2003, 03:43 PM
well i found something that might help me out

http://javascript.internet.com/forms/open-window.html

i think thats what I'm looking for?

except I want to be able to customize the window...not let the visitors to the size do it :stunned:

DDD
October 22nd, 2003, 03:52 PM
if you are using DW....It has this function built in. Just drag and drop

lostinbeta
October 22nd, 2003, 03:54 PM
You mean this attachment 28?




Err, new version of vB doesn't allow duplicate attachments, so heres the link to another post with it

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=7143&perpage=15&pagenumber=2&postid=41284#post41284

nobody
October 22nd, 2003, 03:57 PM
:thumb:

lostinbeta
October 22nd, 2003, 04:04 PM
It is soon going to be a kirupa.com tutorial so I don't have to keep attaching it :D

Makaveli
October 22nd, 2003, 04:06 PM
thx lost! :P got it working!

So, http://www.icdsoft.com/hosting.php# has the links right, is there a seperate page for each link?



DDD: ok so I found the option in DW, it gives me this

var popUpWin=0; function popUpWindow(URLStr, left, top, width, height) { if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); } popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,m enub ar=no,scrollbar=no,resizable=no,copyhistory=yes,wi dth='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+''); }

now how would I put that in a page??

DDD
October 22nd, 2003, 04:10 PM
well it should slap it in by itself. Select the text or image you want to act as the link. Then in DW just attach this behavior to it. (be sure to use the onClick event) then it should be done. You really have to do nothing but select your options you do or do not want for your pop up.

Makaveli
October 22nd, 2003, 04:20 PM
ah ok figured it out! thx DDD