kastritis
Newbie
Posts: 1
Registered: 6/8/2004
Member Is Offline
|
| posted on 6/8/2004 at 05:36 PM |
|
|
Pop up window function
I am trying to get a controled pop up window to open from a link within the scroller. I get an error. I don't use frames. Here is the code that I
am using:
<script>
function openpopup(){
var popurl="news_1.htm"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
</script>
Thank you
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 6/9/2004 at 09:49 AM |
|
|
Scripts could not be defined within scroller content files. Try to define your function in the parent document (the one calling scroller's
constructor) and call it via parent.openpopup() from the scroller content file.
|
|
|