hello,
I was wondering how to make customized windows like the one on this site
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
system
October 22, 2003, 7:33pm
2
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.
system
October 22, 2003, 7:43pm
3
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:
system
October 22, 2003, 7:52pm
4
if you are using DW…It has this function built in. Just drag and drop
system
October 22, 2003, 7:54pm
5
You mean this attachment 28?
[edit]
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
[/edit]
system
October 22, 2003, 8:04pm
7
It is soon going to be a kirupa.com tutorial so I don’t have to keep attaching it
system
October 22, 2003, 8:06pm
8
thx lost! 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,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width=’+width+’,height=’+height+’,left=’+left+’, top=’+top+’,screenX=’+left+’,screenY=’+top+’’); }
now how would I put that in a page??
system
October 22, 2003, 8:10pm
9
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.
system
October 22, 2003, 8:20pm
10
ah ok figured it out! thx DDD