RSS
DaniWeb Home
>
Forums
>
Web Development
>
JavaScript / DHTML / AJAX
open link in opening window
Please support our
JavaScript / DHTML / AJAX
advertiser:
Lunarpages Web Hosting
Thread Tools
Display Modes
Views:
2573
| Replies:
1
•
•
Join Date: Jun 2005
Location: India
Posts: 1,308
Reputation:
Rep Power:
6
Solved Threads: 37
goldeagle2005
Offline
Finkus Stinkalotus
open link in opening window
#
1
Jul 25th, 2005
Hi all
If I create a link that opens a new window, how do i make it such that when I click a link on this page in the new window, that link should open in the original window?
I was guessing its using javascript. Any idea how?
Thanks
goldeagle2005
View Public Profile
Send a private message to goldeagle2005
Visit goldeagle2005's homepage!
Find all posts by goldeagle2005
•
•
Join Date: Dec 2004
Posts: 1,592
Reputation:
Rep Power:
7
Solved Threads: 35
tgreer
Offline
Made Her Cry
Re: open link in opening window
#
2
Jul 25th, 2005
You use "self.opener.href.location = ".
So consider this link in your NEW page:
<a href="" onclick="self.opener.href.location = 'http://www.daniweb.com'";>
Which means "I'm a link to nowhere, but when you click me, set the location of the window that opened me to daniweb".
tgreer
View Public Profile
Send a private message to tgreer
Visit tgreer's homepage!
Find all posts by tgreer
Quick Reply to Thread
•
•
•
•
Only community members can participate in forum threads. You must
register
or log in to contribute.
Register
•
•
•
•
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
•
•
•
•
Thread Tools
Display Modes
Show Printable Version
Email this Page
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Related Features
•
•
•
•
JavaScript / DHTML / AJAX Forum
Web Development Forum
Web Development Blog
JavaScript Tutorials
javascript Code Snippets
JavaScript / DHTML / AJAX Forum Highlights
Today's Posts
JavaScript / DHTML / AJAX
Web Development
All Forums
Unanswered Threads
JavaScript / DHTML / AJAX
Web Development
All Forums
Blog Tag Cloud
•
•
•
•
ads
adsense
ajax
asp
commercial
dell
developer
development
drivers
firefox
framework
games
google
graphics
home
ibm
intel
internet
javascript
link
linux
microsoft
mozilla
msdn
news
office
open
open source
open-source
opengl
openoffice
operating
programming
red hat
revenue
site
software
source
sql
sun
super
system
text
ubuntu
unit
vista
web
wesnoth
windows
xp
All Recent Tags
Similar Threads
Button to open a new browser window
(ASP.NET)
Open in window, not frame
(HTML and CSS)
How to open a link in a pdf in a new window
(C#)
20-30 second delay opening an IE window
(Web Browsers)
opening in a new window...
(Site Layout and Usability)
Programs not opening in new window.
(Windows NT / 2000 / XP / 2003)
Other Threads in the JavaScript / DHTML / AJAX Forum
Previous Thread:
Can anyone please help my problem...?
Next Thread:
JavaScript -- Validating an email address
Forums
|
Blogs
|
Tutorials
|
Code Snippets
|
Whitepapers
|
RSS Feeds
|
Advertising
All times are GMT -4. The time now is
10:47 pm
.
Newsletter Archive
-
Sitemap
-
Privacy Statement
-
Acceptable Use Policy
-
Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC