News
Forums
Search
Members
Sign Up
My Code Newbie
Username
Password
Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET
C.N. Friends
Planet Rome
Link to Us!
Code Newbie
Code Forums
>
Application and Web Development
>
HTML, XML, Javascript, AJAX
New Windows
User Name
Remember Me?
Password
Register
FAQ
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
03-09-2008, 11:28 AM
#
1
(
permalink
)
enemeth
Recruit
Join Date: Mar 2008
Posts: 1
New Windows
Hi there
can someone tell me how i can make this line of code
parent.location.href=durl;
to make it that it opens a NEW window and not in the Parent Window
thx
Elaine
enemeth
View Public Profile
Find More Posts by enemeth
03-09-2008, 01:34 PM
#
2
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
window.open(durl, 'mywindow');
check this page out for the attributes you can add as a third argument to the code above:
Opening a New Window With JavaScript
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
On
Pingbacks
are
On
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
how to reformat a harddrive and reinstall windows
falsepride
Windows
8
02-12-2007
02:10 AM
Fixing Windows with Knoppix
sde
Code Newbie News
1
02-03-2006
09:08 PM
Pirated software used to create help content in Microsoft's Windows XP
sde
Code Newbie News
3
11-17-2004
02:14 PM
The Windows of two minds
creed
Windows
4
11-10-2004
07:37 AM
Bloody Windows IE rendering
sarah31
PHP
6
06-05-2002
07:31 PM
All times are GMT -8. The time now is
02:21 PM
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.0.0 RC8
Copyright © 2000-2008,
Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting
LinkBack
LinkBack URL
About LinkBacks