blade69
10-24-2004, 08:13 PM
Hi again,
Ok, I really need help with this, and although the tutorial and forums are a great help, they haven't answered my question yet.
I've got 3 flash banners on my website (http://www.mycasinonline.biz). 2 on my main.html and 1 in links.html. My index.html is cut into frames and this code i'm showing you is in the main frame. I need the banners to open in a new window, but they open in the main frame instead. I've also posted below some fixes ive already tried and the results of each. All 3 script is setup in this format right now:
<!-- Windows Casino Flash Banner Code Begin -->
<script language='Javascript'>
function geturl() { window.location='http://webmaster.windowscasino.com/affiliates/
aiddownload.asp?affid=1234' }
</script>
<OBJECT> My Flash Object, very long code</OBJECT>
<!-- Windows Casino Flash Banner Code End -->
I tried using
Function window.open ()
in the above text and got the same result
also tried Function window.open.top () thinking it would open in parent overtop the frames, but it still opened in the main frame
I've tried using this format
<head>
<script language="JavaScript">
<!-- function opener() {windy1=window.open('http://
webmaster.windowscasino.com/affiliates/aiddownload.asp?affid=1234',
[w1,width=500,height=300,toolbar=yes,status=yes,resizable=yes,
menubar=yes,scrollbars=yes) } //-->
</script>
</head>
<body
<a href="javascript:opener()"> <object> blah blah blah </object></a>
this code crashed the browser when opened (which blew me away). no errors, IE just opened... then closed (crashed). Wierd
I even tried a standard html code
<a href="http://webmaster.windowscasino.com/affiliates/
aiddownload.asp?affid=1234" target="_blank">
<object>blah blah blah</object></a>
this still opened in the main frame, which didn't make sense to me.
None of it seams to work. Props to the author of the javascript tutorial, though. I got a much better understanding this stuff now. (even thought I'm still totally lost) :D
Please Help?
Ok, I really need help with this, and although the tutorial and forums are a great help, they haven't answered my question yet.
I've got 3 flash banners on my website (http://www.mycasinonline.biz). 2 on my main.html and 1 in links.html. My index.html is cut into frames and this code i'm showing you is in the main frame. I need the banners to open in a new window, but they open in the main frame instead. I've also posted below some fixes ive already tried and the results of each. All 3 script is setup in this format right now:
<!-- Windows Casino Flash Banner Code Begin -->
<script language='Javascript'>
function geturl() { window.location='http://webmaster.windowscasino.com/affiliates/
aiddownload.asp?affid=1234' }
</script>
<OBJECT> My Flash Object, very long code</OBJECT>
<!-- Windows Casino Flash Banner Code End -->
I tried using
Function window.open ()
in the above text and got the same result
also tried Function window.open.top () thinking it would open in parent overtop the frames, but it still opened in the main frame
I've tried using this format
<head>
<script language="JavaScript">
<!-- function opener() {windy1=window.open('http://
webmaster.windowscasino.com/affiliates/aiddownload.asp?affid=1234',
[w1,width=500,height=300,toolbar=yes,status=yes,resizable=yes,
menubar=yes,scrollbars=yes) } //-->
</script>
</head>
<body
<a href="javascript:opener()"> <object> blah blah blah </object></a>
this code crashed the browser when opened (which blew me away). no errors, IE just opened... then closed (crashed). Wierd
I even tried a standard html code
<a href="http://webmaster.windowscasino.com/affiliates/
aiddownload.asp?affid=1234" target="_blank">
<object>blah blah blah</object></a>
this still opened in the main frame, which didn't make sense to me.
None of it seams to work. Props to the author of the javascript tutorial, though. I got a much better understanding this stuff now. (even thought I'm still totally lost) :D
Please Help?