|
|
#1 |
|
New Member
![]() Join Date: Jul 2009
Posts: 4
|
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>
|
|
|
|
|
|
#2 |
|
Silver Member
![]() Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 108
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|