Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell driver drivers email error ethernet excel firefox firefox 3 freeze game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition password problem router slow software sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
javascipt popup help


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
moebius's Avatar
Computer Specs
Senior Member with 1,765 posts.
 
Join Date: Oct 2003
Location: Dubai, UAE
Experience: sudo give me your money
23-Nov-2004, 02:58 AM #1
javascipt popup help
this popup:

Code:
function jukebox_pop()
{
	window.open('http://www.codepoint.infoskayp.com/ae/ujb.html','Jukebox','width=550,height=300,resizable=no,scrollbars=no');
}
is givng me troubles. i want it to open http://www.codepoint.infoskayp.com/ae/ujb.htm and it does. but it messes up the title bar. its just supposed to say "UAE Nexus MPlayer" and not where its hosted on. im not using a free host. an the javascript is being used on an Invision Power Board skin.
__________________
Think for yourself
Question authority
Throughout human history, as our species has faced the frightening, terrorizing fact that we dont know who we are or where were going in this ocean of chaos, its been the authorities, the political, religious, educational authorities who attempted to comfort us by giving us order, rules, regulations, forming in our minds their view of reality. To think for yourself you must question authority and put yourself in a state of vulnerable open-mindedness.
sinsation's Avatar
Computer Specs
Senior Member with 316 posts.
 
Join Date: Sep 2003
Location: Phoenix, AZ, USA
Experience: 10+ Years
23-Nov-2004, 03:26 AM #2
Specify a title in the page to be opened.
moebius's Avatar
Computer Specs
Senior Member with 1,765 posts.
 
Join Date: Oct 2003
Location: Dubai, UAE
Experience: sudo give me your money
23-Nov-2004, 05:13 AM #3
i have done that... DUH! it displays the server name as well as the title.
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
23-Nov-2004, 05:30 PM #4
You should try to add location=no,directory=no to the javascript, that should only show the title of the page.
moebius's Avatar
Computer Specs
Senior Member with 1,765 posts.
 
Join Date: Oct 2003
Location: Dubai, UAE
Experience: sudo give me your money
25-Nov-2004, 06:52 AM #5
no luck, heres what i did:

Code:
function jukebox_pop()
{
	window.open('http://www.bakjamfoods.com/jukebox.asp','Jukebox','width=550,height=300,resizable=no,scrollbars=no,location=no,directory=no');
}
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
25-Nov-2004, 01:41 PM #6
The error most likey is in your <head></head> tag for the script.

Try coding it into your head area.
This should work.

Code:
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=550,height=300,left = 237,top = 234');");
}
// End -->
Use the link as:
Code:
<form>
<input type=button value="Open the Popup Window" onClick="javascript:popUp('http://www.bakjamfoods.com/jukebox.asp')">
</form>
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:27 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.