troubleshooting Question

window.createPopup with flash content

Avatar of struikenkamp
struikenkamp asked on
Web DevelopmentWeb Development Software
3 Comments2 Solutions973 ViewsLast Modified:
my flashcontent (image gallery) does not showup in window.createPopup.
it does in a "normal" popupwindow.
please advise.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/ccfm.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {
      background-color: #FFFFFF;
      margin-left: 5px;
      margin-top: 5px;
      margin-right: 5px;
      margin-bottom: 5px;

<script language="JavaScript" src="javascript/popupslideshow.js" type="text/javascript"></script>
<script language="JavaScript" src="gallery/makepopup_slide_set01.js" type="text/javascript"></script>
<script language="JavaScript" src="gallery/makepopup_slide_set02.js" type="text/javascript"></script>



<h4><font color="#A80202">P</font>ictures</h4>

<script language="JavaScript" type="text/javascript">
      if( window.createPopup ) /* IE 5.5+ */
            var popUp = "javascript:MakePopupSlideSet01()";
            document.write("<h4><a href=" + popUp + ">SET-1</a></h4>");
            var popUp = "javascript:MakePopupSlideSet02()";
            document.write("<h4><a href=" + popUp + ">SET-2</a></h4>");
            var popUp = "javascript:popUpSlideshow('gallery/slideshow_set01.html')";
            document.write("<h4><a href=" + popUp + ">SET-1</a></h4>");
            var popUp = "javascript:popUpSlideshow('gallery/slideshow_set02.html')";
            document.write("<h4><a href=" + popUp + ">SET-2</a></h4>");


// JavaScript Document

var SlidePopup = window.createPopup(); /* only IE 5.5+ */

function MakePopupSlideSet01() {;
    SlidePopup.document.write('<html><body bgcolor="#000000" text=#ffffff style="border:ridge 7 #e0e0e0" bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" style="overflow:hidden">');

SlidePopup.document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="442" height="334" hspace="0" vspace="0" align="top">');
SlidePopup.document.write('<param name="allowScriptAccess" value="sameDomain">');
SlidePopup.document.write('<param name="movie" value="slideshow.swf">');
SlidePopup.document.write('<param name=FlashVars value="picsxml=set01.xml">');
SlidePopup.document.write('<param name="quality" value="high">');
SlidePopup.document.write('<param name="bgcolor" value="#000000">');
SlidePopup.document.write('<embed src="slideshow.swf" width="442" height="334" hspace="0" vspace="0" align="top" FlashVars="picsxml=set01.xml" quality="high" bgcolor="#000000" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="">');

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros