Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 8
Name: Dusan Szoke
Trades: 0
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!
 
 
Register now for full access!
Old 09-10-2006, 01:45 AM Re: Trouble with status bar
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.09671 seconds with 12 queries