User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 402,582 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,341 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2498 | Replies: 5 | Solved
Reply
Join Date: Oct 2006
Location: UK
Posts: 137
Reputation: MaxMumford is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
MaxMumford's Avatar
MaxMumford MaxMumford is offline Offline
Junior Poster

Question onclick parent goto previous page

  #1  
May 13th, 2007
Hi,

How do I make it so when I click a link on page A, it opens page B in a new window, and page A goes to a specified page?

This is the page:

http://www.swmassive.co.uk/forums.html

I want to make it so when the user clicks view, the forums page goes back, and it opens the hyperlinked page in a new window, so the user is left with 1 window with the actual forum in, and another page with our homepage in.

Thanks,

Max
Economizerz Hosting
Price Beater Promise

10% Cheaper Hosting, & Double Bandwidth and Web Space
Click here to apply
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: UK
Posts: 137
Reputation: MaxMumford is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
MaxMumford's Avatar
MaxMumford MaxMumford is offline Offline
Junior Poster

Re: onclick parent goto previous page

  #2  
May 15th, 2007
don't worry, iv figured it out:

href="http://swmassive.forum5.com/" target="_blank" onclick="parent.parent.location.href='http://www.swmassive.co.uk'"
Economizerz Hosting
Price Beater Promise

10% Cheaper Hosting, & Double Bandwidth and Web Space
Click here to apply
Reply With Quote  
Join Date: May 2006
Location: India-mumbai
Posts: 21
Reputation: unitechy is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
unitechy's Avatar
unitechy unitechy is offline Offline
Newbie Poster

Re: onclick parent goto previous page

  #3  
May 16th, 2007
i didnt get what you mean to say..
can you lemme know maybe i will find it useful in future
Everytime i find the key to success someone changes the lock
Reply With Quote  
Join Date: Oct 2006
Location: UK
Posts: 137
Reputation: MaxMumford is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
MaxMumford's Avatar
MaxMumford MaxMumford is offline Offline
Junior Poster

Re: onclick parent goto previous page

  #4  
May 16th, 2007
i wanted a link that opened a new window on another page, and sent the first page back to the home page
Economizerz Hosting
Price Beater Promise

10% Cheaper Hosting, & Double Bandwidth and Web Space
Click here to apply
Reply With Quote  
Join Date: Jan 2007
Posts: 2,537
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 110
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: onclick parent goto previous page

  #5  
May 16th, 2007
So how did you do it?
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: May 2006
Location: India-mumbai
Posts: 21
Reputation: unitechy is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
unitechy's Avatar
unitechy unitechy is offline Offline
Newbie Poster

Re: onclick parent goto previous page

  #6  
May 19th, 2007
he as answered it in 2nd post..
thanks a lot btw
Everytime i find the key to success someone changes the lock
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 11:11 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC