Reply
Trouble with status bar
Old 09-07-2006, 02:00 PM Trouble with status bar
Novice Talker

Posts: 8
Name: Dusan Szoke
Hi guys.

I wrote a script for opening a new window for my photogallery. It works fine except status bar. Even if I set 'status=no' status bar still appears at bottom. I wanna get window without status bar.

Here is my script

Code:
function new_window(picture,x,y,author,name)
{
y=y+20;
url="Graphics/subpage_photogallery/Pictures_large/"+picture+".jpg";
url01="Graphics/subpage_photogallery/close_window.gif";
  var newwindow=window.open('','','width='+x+',height='+y+',top=0,left0,toolbar=no,location=no,directories=no,status=no,scrollbars=no');
  newwindow.document.write('<html>');
  newwindow.document.write('<head><title>');
  newwindow.document.write(name+' by '+author);
  newwindow.document.write('</title>');
  newwindow.document.write('<link href="pop-ups_style.css" rel="stylesheet" type="text/css"');
  newwindow.document.write('</head>');
  newwindow.document.write('<body>');
  newwindow.document.write('<img src="'+url+'">');
  newwindow.document.write('<div style="margin-top: 4px; margin-left: 5px;">');
  newwindow.document.write(name+' by '+author);
  newwindow.document.write('<a href="javascript: window.close()"><img id="link" src="'+url01+'" /></a>');
  newwindow.document.write('</div>');
  newwindow.document.write('</body>');
  newwindow.document.write('</html>');
  newwindow.document.close();
}
Any help is appreciate.

Thanks
Dusko is offline
Reply With Quote
View Public Profile Visit Dusko's homepage!
 
When You Register, These Ads Go Away!
Old 09-10-2006, 12:45 AM Re: Trouble with status bar
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Wireless Audio
Posts: 2,320
Name: Keith Marshall
Location: West Hartford, CT
I *think* that some browsers, like FireFox, will not allow the status bar to be turned off.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Trouble with status bar
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11327 seconds with 12 queries