Forum Moderators: mack

Message Too Old, No Replies

How do I open a link with no status bar and set size?

I have searched but I can't find what I need

         

jupiter jack

6:35 pm on Aug 5, 2005 (gmt 0)



Hi this is my first post. :-)

I am looking for a way to create a link so it will open in a new window with a set size and no buttons or other stuff except maybe the scroll bar. the link itself is to goto a "shopping cart" and another one for images on my website but I can't seem to figure it out. I have tried this java stuff with no success I am sure I am doing some thing wrong.

Any suggetions? tutorial sites or something would be appreciated.

Essex_boy

10:04 pm on Aug 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



***Position this between the head comments***

<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar? 'yes' : 'no';
menubar_str = menubar? 'yes' : 'no';
statusbar_str = statusbar? 'yes' : 'no';
scrollbar_str = scrollbar? 'yes' : 'no';
resizable_str = resizable? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

// -->

**Position this wher eyou want people to click on***

<a href="javascript:na_open_window('win', 'http://www.yoursite.com', 150, 150, 450, 350, 0, 0, 0, 0, 0)">Shipping info, Sizes etc</a>

*** The numbers at the end are for sizes and position of teh window etc****

I cant think for the life of me of teh URL I used the free tool on to do this.