Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Pop up window function
kastritis
Newbie

Posts: 1
Registered: 6/8/2004
Member Is Offline
posted on 6/8/2004 at 05:36 PM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 6/9/2004 at 09:49 AM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Multiple vertical scrolling
Horizontal scrolling
Free Download Free Download
Product Documentation Documentation:
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
   

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004