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
Surpressing the bottom gray bar
Old 03-25-2005, 03:21 AM Surpressing the bottom gray bar
larryweiss's Avatar
Super Talker

Posts: 117
Location: NEW YORK
Trades: 0
I am successfully opening popups using a line like this:

["Description","javascript:Start('http://www.website.com/dir/stuff.htm','win1','width=450,height=550,directorie s=no,location=yes,menubar=no,scrollbars=yes,status =no,toolbar=no,resizable=yes')"],

It is used in conjunction with the following in the head:

<SCRIPT LANGUAGE="JavaScript">
function Start(page) {
OpenWin = this.open(page,"CtrlWindow","width=450,height=550, left=150,top=20,directories=no,location=no,menubar =no,scrollbars=yes,status=no,toolbar=no,resizable= yes");
}
</SCRIPT>

(It just occurs to me that there is unnecessary redundancy here)

The only thing it does not do is surpress the gray bar at the bottom of the window? Is the bar in question called the status bar? Can you suggest how to get rid of it.

Regarding the redundency:
Can I leave all instructions in the head except width and height?
Can I omit all instructions from the line in the body except width and height?
__________________
Larry Weiss


Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
larryweiss is offline
Reply With Quote
View Public Profile Visit larryweiss's homepage!
 
 
Register now for full access!
Old 03-25-2005, 09:09 AM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Trades: 0
Actually, I always thought that the gray bar at the bottom was known as the status bar and the instruction status=no should take care of it. I notice in your script that you have a space and I am certain that spaces are not permitted. Remove the space you have between "status" and "=" and see if that solves the bottom bar issue.
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 03-25-2005, 12:16 PM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
Trades: 0
A popup window can be opened indicating only height and width and ommitting all other options. They normally default to NO or 0 in MSIE, not sure about Opera, Firefox, Mozilla, etc.

Only set the options you want to be TRUE and I am pretty sure all other options will default to FALSE

Somebody correct me if I am wrong
__________________

Please login or register to view this content. Registration is FREE

FREE PHP scripts for your website!
simptech is offline
Reply With Quote
View Public Profile
 
Old 03-25-2005, 12:38 PM
CannonBallGuy's Avatar
Webmaster Talker

Posts: 618
Trades: 2
Free Pop Up Generator
CannonBallGuy is offline
Reply With Quote
View Public Profile
 
Old 03-26-2005, 02:11 AM
larryweiss's Avatar
Super Talker

Posts: 117
Location: NEW YORK
Trades: 0
Thank you guys, but it is still a problem.

Kyrnt, you spotted the unwanted space, but in fact it was added somehow by pasting the code into this forum.

I have even tried

statusbar=no,statusbar=0,status=no,status=0

added into the head script, as well as the script calling the popup. Nothing works to kill that status bar.

If you want to take a look, the popup is opened from: www DOT replacement-mattress DOT com / sleeper-sofa-bed-mattress DOT htm

The script is contained in an external file: www DOT replacement-mattress DOT com / java / sofa_pop_items DOT js

None of this is a problem, but it would be nice to get rid of the status bar. Others are doing it, so it has become an ego thing for me.
__________________
Larry Weiss


Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
larryweiss is offline
Reply With Quote
View Public Profile Visit larryweiss's homepage!
 
Old 03-28-2005, 11:50 AM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
Trades: 0
ran into php errors when checking the url in question

try this

Code:
 
var newWin = window.open("page.htm","popup","height=400,width=600,status=no");
newWin.focus();
__________________

Please login or register to view this content. Registration is FREE

FREE PHP scripts for your website!
simptech is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Surpressing the bottom gray 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.45287 seconds with 12 queries