Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 03-01-2010, 12:34 AM   #1
New Member
 
Join Date: Jul 2009
Posts: 4
Default Need bring-to-front code for pop-up windows

Hi, I have a music site, and on one page surfers can click on song titles and it opens up a pop-up window containing the lyrics.

When you click onto the main window again, the pop-up then relegates to underneath it, and if you click on the same link again, you get nothing - unless you closed the pop-up first.

How can I modify my javascript so clicking on the pop-up link will bring an already open window to the front?

Here is the popup code currently:

Code:
<a href="javascript:void(window.open('rpages/dragofsloth.html','The Drag of Sloth','resizable=1,width=585,height=420,top=60,left=60'))">1. The Drag of Sloth</a>
mrskill is offline   Reply With Quote


Old 03-03-2010, 07:48 AM   #2
Silver Member
 
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 108
Default

http://www.experts-exchange.com/Web/..._20799883.html

Helpfull?
__________________
Nerdrage
Mezangath Web
mezangath is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT. The time now is 10:34 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.