HTML - Help! Object Expected Error!!!
I uploaded an adobe web gallery to my website and it doesn't work because of an object expected error. I believe it may have something to do with the AC_FL_RunContent code, but I'm not sure what to add or take away. Could someone please look at this code and let me know what's wrong? The html file comes up fine until I upload it to my website and try to view it online. Thanks!
HTML Code: <!-- saved from url=(0013)about:internet --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Photoshoot</title> <style> body,html { margin-top:0; margin-left:0; margin-right:0; margin-bottom:0; height: 100%; width: 100%; } </style> <!-- Active Content Workaround Support File --> <script src="resources/AC_RunActiveContent.js" language="javascript"></script> <script language="JavaScript" type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if (pair[0] == variable) { return pair[1]; } } return -1; } </script> <script language="JavaScript" type="text/javascript"> var startImg = getQueryVariable("startImg"); //alert(startImg); </script> <!-- Flash Detection Script Block --> <script language="JavaScript" type="text/javascript"> <!-- // ----------------------------------------------------------------------------- // Globals // Major version of Flash required var requiredMajorVersion = 8; // Minor version of Flash required var requiredMinorVersion = 0; // Minor version of Flash required var requiredRevision = 0; // the version of javascript supported var jsVersion = 1.0; // ----------------------------------------------------------------------------- // --> </script> <script language="VBScript" type="text/vbscript"> <!-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable("$version") end if VBGetSwfVer = swVersion End Function // --> </script> <script language="JavaScript1.1" type="text/javascript"> <!-- // Detect Client Browser type var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false; jsVersion = 1.1; // JavaScript helper required to detect Flash Player PlugIn version information function JSGetSwfVer(i){ // NS/Opera version >= 3 check for Flash plugin in plugin array if (navigator.plugins != null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description; descArray = flashDescription.split(" "); tempArrayMajor = descArray[2].split("."); versionMajor = tempArrayMajor[0]; versionMinor = tempArrayMajor[1]; if ( descArray[3] != "" ) { tempArrayMinor = descArray[3].split("r"); } else { tempArrayMinor = descArray[4].split("r"); } versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0; flashVer = versionMajor + "." + versionMinor + "." + versionRevision; } else { flashVer = -1; } } // MSN/WebTV 2.6 supports Flash 4 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4; // WebTV 2.5 supports Flash 3 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3; // older WebTV supports Flash 2 else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2; // Can't detect in all other cases else { flashVer = -1; } return flashVer; } // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) { reqVer = parseFloat(reqMajorVer + "." + reqRevision); // loop backwards through the versions until we find the newest version for (i=25;i>0;i--) { if (isIE && isWin && !isOpera) { versionStr = VBGetSwfVer(i); } else { versionStr = JSGetSwfVer(i); } if (versionStr == -1 ) { return false; } else if (versionStr != 0) { if(isIE && isWin && !isOpera) { tempArray = versionStr.split(" "); tempString = tempArray[1]; versionArray = tempString .split(","); } else { versionArray = versionStr.split("."); } versionMajor = versionArray[0]; versionMinor = versionArray[1]; versionRevision = versionArray[2]; versionString = versionMajor + "." + versionRevision; // 7.0r24 == 7.24 versionNum = parseFloat(versionString); // is the major.revision >= requested major.revision AND the minor version >= requested minor if ( (versionMajor > reqMajorVer) && (versionNum >= reqVer) ) { return true; } else { return ((versionNum >= reqVer && versionMinor >= reqMinorVer) ? true : false ); } } } } // --> </script> </head> <body><div align="center" style="width:100%; height:100%"> <script language="JavaScript" type="text/javascript"> <!-- // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65) var hasProductInstall = DetectFlashVer(6, 0, 65); // Version check based upon the values entered above in "Globals" var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); // Location visited after installation is complete if installation is required var MMredirectURL = window.location; // Stored value of document title used by the installation process to close the window that started the installation process // This is necessary to remove browser windows that will still be utilizing the older version of the player after installation is complete // DO NOT MODIFY THE FOLLOWING TWO LINES //document.title = document.title.slice(0, 47) + " - Flash Player Installation"; document.title = document.title.slice(0, 47); var MMdoctitle = document.title; // Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback if ( hasProductInstall && !hasReqestedVersion ) { var productInstallOETags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + 'width="550" height="200"' + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">' + '<param name="movie" value="resources/playerProductInstall.swf?MMredirectURL='+MMredirectURL+'&MMplayerType=ActiveX&MMdoctitle='+MMdoctitle+'" />' + '<param name="quality" value="best" /><param name="bgcolor" value="#3A6EA5" />' + '<embed src="resources/playerProductInstall.swf?MMredirectURL='+MMredirectURL+'&MMplayerType=PlugIn" quality="high" bgcolor="#3A6EA5" ' + 'width="550" height="300" name="detectiontest" aligh="middle"' + 'play="true"' + 'loop="false"' + 'quality="best"' + 'allowScriptAccess="sameDomain"' + 'type="application/x-shockwave-flash"' + 'pluginspage="http://www.adobe.com/go/getflashplayer">' + '<\/embed>' + '<\/object>'; document.write(productInstallOETags); // embed the Flash Product Installation SWF } else if (hasReqestedVersion) { // if we've detected an acceptable version AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'flashvars','baseRefUrl=resources/&groupxml=group.xml&stylexml=style.xml&localText=localText.xml&livePreview=false&startImg='+startImg, 'width', '100%', 'height', '100%', 'src', 'resources/gallery', 'quality', 'high', 'pluginspage', 'http://www.adobe.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'gallery', 'bgcolor', '#f7f7f7', 'name', 'gallery', 'menu', 'true', 'allowScriptAccess','sameDomain', 'movie', 'resources/gallery', 'salign', '' ); } else { // flash is too old or we can't detect the plugin var alternateContent = 'This photo gallery requires the Adobe Flash Player.' + '<a href=http://www.adobe.com/go/getflash/>Get the free Flash Player here</a>'; document.write(alternateContent); // insert non-flash content } // --> </script> <noscript> // Provide alternate content for browsers that do not support scripting // or for those that have scripting disabled. Sorry, this photo gallery requires that scripting be enabled on your web browser and that the Adobe Flash Player be installed. <a href="http://www.adobe.com/go/getflash/">Download the Adobe Flash Player</a> </noscript> </div> </body> </html> Similar TutorialsMy code says that there's an error on line 44 which is the body tag with "onload" in it, i can't seem to find the solution to this error, any advice? <HTML> <HEAD> <TITLE> **** </TITLE> <SCRIPT type="text/javascipt"> var Color= new Array(9); Color[1] = "ff"; Color[2] = "ee"; Color[3] = "dd"; Color[4] = "cc"; Color[5] = "bb"; Color[6] = "aa"; Color[7] = "99"; Color[8] = "88"; Color[9] = "77"; Color[10] = "66"; Color[11] = "55"; Color[12] = "44"; Color[13] = "33"; Color[14] = "22"; Color[15] = "11"; Color[16] = "00"; function fadeIn(where) { if (where >= 1) { document.bgColor="#" + Color[where] +"0000"; where -= 1; setTimeout("fadeIn("+where+")", 15); } else { setTimeout('fadeOut(1)', 15); } } function fadeOut(where) { if (where <=16) { document.bgColor="#" + Color[where] +"0000"; where += 1; setTimeout("fadeOut("+where+")", 15); } else { setTimeout("fadeIn(16)", 15); } } </SCRIPT> </HEAD> <body onLoad="fadeIn(16)"> <p></p> </body> </HTML> Im getting an error in line 44 of my code, my body tag with upload in it. The error says object expected. Any advice? Code: <HTML> <HEAD> <TITLE> **** </TITLE> <SCRIPT type="text/javascipt"> var Color= new Array(9); Color[1] = "ff"; Color[2] = "ee"; Color[3] = "dd"; Color[4] = "cc"; Color[5] = "bb"; Color[6] = "aa"; Color[7] = "99"; Color[8] = "88"; Color[9] = "77"; Color[10] = "66"; Color[11] = "55"; Color[12] = "44"; Color[13] = "33"; Color[14] = "22"; Color[15] = "11"; Color[16] = "00"; function fadeIn(where) { if (where >= 1) { document.bgColor="#" + Color[where] +"0000"; where -= 1; setTimeout("fadeIn("+where+")", 15); } else { setTimeout('fadeOut(1)', 15); } } function fadeOut(where) { if (where <=16) { document.bgColor="#" + Color[where] +"0000"; where += 1; setTimeout("fadeOut("+where+")", 15); } else { setTimeout("fadeIn(16)", 15); } } </SCRIPT> </HEAD> <body onLoad="fadeIn(16)"> <p></p> </body> </HTML> Hi, I am trying to format this page to look like it has two columns, first column = "Action...", second column = "Key...". The html: HTML Code: <HTML> <HEAD> <TITLE>Test title</TITLE> <LINK REL="STYLESHEET" TYPE="TEXT/CSS" HREF="style.css" /> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <P><A NAME="keyboard_shortcuts"></A><B>Using the keyboard</B></P> <P>Some text. </P> <P>The following buttons have keyboard shortcut keys:</P> <DIV ID="fields_left"><B><I>Action...</I></B></DIV> <DIV ID="fields_right"><B><I> Key...</I></B></DIV> <HR> <DIV ID="fields_left"><IMG SRC="img1.bmp" ALT="alttext1" BORDER=0 /></DIV> <DIV ID="fields_right">Esc1</DIV> <DIV ID="fields_left"><IMG SRC="img2.bmp" ALT="alttext2" BORDER=0 /></DIV> <DIV ID="fields_right">Esc2</DIV> <P>Related topics</P> <P>some text....</P> </BODY> </HTML> The css: Code: #fields_left { float:left; padding: 10px; text-align:left; width:30%; } #fields_right{ float:left; padding: 10px; text-align:left; width:70%; } I am trying to have an image and text next it as if it was a table with two columns, but it is not coming out as expected: Does anybody know whats going on here ? I'm on XP, IE 7 Maybe I misunderstand the way that DIV works. Someone on here once suggested that I use DIV to float images on a page. I am doing this on this (and a couple of other) page- http://www.RobotsAndComputers.com/robots/teslacoil.htm with unexpected results. On the page, I alternate between floating the images left and right with the text wrapping around them. The thing is, when I issue the /DIV command, I would think (logically) that any attributes bestowed by the DIV command (ie. float) would be terminated. That isn't what happens though. Even after the last /DIV command, the text continues to wrap around the image, instead of being placed under it as I would expect/intend. No matter what I do, I cannot get the float to break. Can someone take a look at the code and see what I am doing wrong, or if I am just expecting too much from this command... Thanks... Hello, I am wondering if something is possible.. and if it is, how I would go about accomplishing the desired result.. This is a sample page to illustrate the problem http://comp.uark.edu/~bcagnin/test/index.html Is there a way to resize the object from a link that is within the website being displayed in that very same object?? Also, I am willing to use iframe if there is a solution that can be found with that... Thanks!! Tyrick I am using another persons code for our band's MySpace.( With some of my own) I am trying to display the shows section and the music player. When i insert the shows section the music player always displays behind the shows section. It is displaying the music player within the limits of the shows section. How do i make the music player seperate? Here is the code for the entire site with the music and show sections bolded. Code: <i class=i>!--START CODE IN BAND MEMBERS --!</i> <i class=i> !-Start Div Overlay Content Block-! <a href="http://www.msplinks.com/MDFodHRwOi8vdmlld3MtdW5kZXItY29uc3RydWN0aW9uLmJsb2dzcG90LmNvbS8="> myspace code tutorials by Eileen</a> !-Close 3 layers of cell/row/table. This puts our Div ONE table deep. </i> </td></tr></table> </td></tr></table> </td></tr></table> <i class=i>!-Create and size our div. We will never close this div. It will close when the containing table closes-! </i> <i class=i>!!! MODIFY width to the SAME width as your core image !!!</i> <div class="myCoreDiv" style="position:relative; top:0px; width:799px; height:auto; border:2px green solid;"> <i class=i> when DONE editing CHANGE the border:2px to border:0px or change the magenta to the color you want your border.----!</i> <i class=i> !----START CUSTOM CONTENT BLOCK 1----!</i> <img src=http://i42.tinypic.com/16iz2j5.jpg> <img class="grid" src="http://i11.tinypic.com/4pczehk.gif" style="position:absolute; top:0px; left:0px;"> <span class="off">!-START COMMENT FORM-!</span> <div class="myCommentFormD"> <form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"> <input name="friendID" value="445328869" type="hidden"/> <textarea name="f_comments" class="myFormBox"></textarea> <center> <input type="submit" value="Post Comment" class="myPostCommentButton"/> <input type="reset" value="Clear" class="myClearButton"/> </center> </form> </div> <span class="off">!-END COMMENT FORM-!</span> <i class=i> !----END CUSTOM CONTENT BLOCK 1----!</i> <i class=i>!-Open 3 layers of table/row/cell-!</i> <i class=i>!-IF do NOT want any content from my Right side, I can use i instead of L1-!</i> <table class="L1" ><tr><td> <i class=i>!-The below class i hides the remainder of the general table-!</i> <table class="i"><tr><td> <table class="i"><tr><td> <style>.i {display:none}</style> <i class=i>END CODE IN BAND MEMBERS</i> <i class=i>!START code in Influences !</i> <i class=i>!START Style Block For Hiding Elements on Band Page! <a href="http://www.msplinks.com/MDFodHRwOi8veGlpaS51cy9tcy9iYW5kLWhpZGUtYWxs">MySpace Band Hide Everything</a> </i> <style> .i, div.clearfix i i i {display:none} {! fix a centering problem, and clear white space caused by clear gifs !} td {width:auto;} table td img {display:none;} {! restore any images displayed inside our div. You may want to use block instead of inline for some images. !} table td div.myCoreDiv img, table td div.myCoreDiv table td img, table td div.myCoreDiv div img {display:inline;} {!OPTIONAL restore image on maroon nav bar, we could use a.navbar img!} div table td a.navbar img {display:block;} {! removes most content and the space it occupied !} table table table {display:none} {! minimize the remaining main page content that can not be removed without effecting the ad and menus !} table table td { height:0px; margin:0px; padding:0px;} {! restore my div. !} table div.myCoreDiv {display:block;} {! restore div with Comments !} table div.myCoreDiv div.myDclassFC {display:block;} table div.myCoreDiv div {display:block;} table table br {display:none;} table table table br {display:block;} {! OPTIONAL decrease space between bottom and bottom menu, and between bottom menu and cc thing !} {! does not work in Safari !} table div br {line-height:4px;} {! reverse effect on custom div !} table div.myCoreDiv br {line-height:11px;} {! remove default background coloring !} table table, tr, td {background-color:transparent !important} {! ONLY if you want to remove the blue behind the ad banner AND the maroon !} div.profileWidth table, div.profileWidth td {background-color:transparent !important} div table {border-bottom:none !important;} {! ADDITIONAL STYLE BLOCKS CAN GO HERE !} <style> {!- shows -!} table table td.text div {position:absolute; width:440px; height:130px; overflow:scroll; overflow-x:hidden; top:30px; left:415px;} {!- UnDo effect on Div in Friend and Comment spaces -!} table table td.text table div {position:static; height:auto; overflow:hidden} table table td.text div.commentlinks {display:none;} table table td.text div table {display:block} {!-fix column width of shows-!} {!-set below px width to the width of your shows space-!} table table td.text div table td, table table td.text div table {width:425px;} table table td.text div table table {width:100% !important} {!-adjust below value as needed-!} table table td.text div table table table {width:40% !important} </style> <style> {!-music player-!} table table td.text div object {position:absolute !important; top:196px !important; left:100px} table table td.text div object object {position:static !important;} </style> Code: Parse error: syntax error, unexpected T_DNUMBER in /home/a6989956/public_html/include/database.php on line 24 Can anyone please tell me whats wrong? Here is line a few lines Code: class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up users /* Note: call getNumMembers() to access $num_members! */ /* Class constructor */ function MySQLDB(){ /* Make connection to database */ $this->connection = mysql_connect(hostname, username, ********) or die(mysql_error()); mysql_select_db(database, $this->connection) or die(mysql_error()); /** * Only query database to find out number of members * when getNumMembers() is called for the first time, * until then, default value set. */ $this->num_members = -1; if(TRACK_VISITORS){ /* Calculate number of users at site */ $this->calcNumActiveUsers(); /* Calculate number of guests at site */ $this->calcNumActiveGuests(); } } line 24-25 is Code: $this->connection = mysql_connect(hostname, username, ********) or die(mysql_error()); mysql_select_db(database, $this->connection) or die(mysql_error()); PLEASE HELP! Hi everybody I know what is CLASSID. But, when embedding an ActiveX control into my Web page, what CLASSID should I include. For example, I want to embed Microsoft Agent "Merlin", how can I know what is its CLASSID. Any help will be highly appreciated. I have an object (swf animation). Now, i would like to have an image directly under that object (touching each other). I have recently made a couple of small websites which include a few small .swf's of work I have done. I am inserting the objects via the Object tags, and shown below is what I use. Code: <OBJECT ID="FlashPlayer" CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" CODEBASE="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" WIDTH="481" HEIGHT="350" ID="my file ID"> <PARAM NAME="movie" VALUE="the file location" /> <PARAM NAME="allowScriptAccess" VALUE="sameDomain" /> <PARAM NAME="bgcolor" VALUE="#ffffff" /> </object> Upon loading said webpage in IE, the content loads.... ... but it does not load at all in the latest version of Firefox. I would be most grateful if someone could tell me what I am doing wrong, or what the correct tags are for Firefox. I have checked the search function and apologise if I did not see it mentionned in my list of search results. Kind regards. Dear HtmlForums! I've just bumped into a problem, the following two files is used; HTML file CSS file Now, what i want to do, is to be able to write on top of, at the side and at the bottom in the mainbox, so that the text kinda "goes around" the black-er box to the right in the mainbox. Text starts at the top, and floats around the image and continues. (Dont worry about the image saying "Unable to load picture - please check browser version. Its because the image file is not correctly linked) Following image describes what i'd like to accomplish: IMAGE In front, Thank you! Hi guys. I'm developing a website, as you do, but I've got two glitches with IE7, that Firefox doesn't have (though that always seems the case). This is to do with the OBJECT tag - using this code: <OBJECT data="nextshow.htm" type="text/html" width=185 height="80%"><P>No information available about our next show.</P></OBJECT> I wanted to show the content in the HTM file but have a transparent background, showing what is behind the OBJECT. This works fine in Firefox, however with IE7 it assumes a white background on the object by default, not a transparent background. In the meantime I have used a conditional comment on the nextshow.htm page to use a relatively suitable colour for the background if IE7 is being used, but it would be nice to keep it transparent - any suggestions? The other issue is in using saurdo gallery (an AJAX photo show / gallery applet). If you visit this page in IE7, then select a photo, the screen darkens and loads the photo in full-size, however the OBJECT is still above everything else, covering up a part of the photo as well as the CLOSE button in the box. In Firefox, this isn't an issue, with the object displaying underneath the box and darkened screen. The aforementioned link will also exemplify the first issue I am having. If you can help me out I'd be very appreciative. Thanks! -Rhys Andrews Hi there I have used the object tab to display a file (instead of an iFrame) and it works fine in firefox but not at all in ie, has anyone any ideas please? Thanks in advance. Gaz Code: <object data="http://www.garysblog.co.uk/media/flashphoto/ambleside/index.html" type="text/html" width="400" height="400"></object> Hello guys, Is there any way to make a large files of flash into a smaller file size for faster loading of a site using JavaScript? hi can anyone tell me how to findout the value for "classid" attribute of <object> element, if iam uploading flash vedio i can get that value in source code document after publishing it but how would i know for vedio formets like quicktime,mpeg,DV etc and what is the use of declare attribute? thanks & regards Hi there.Today,on a test page i decided to put a .swf movie using the object tag.After writing this code
Code: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" type="application/x-shockwave-flash" data="video\index.swf" width="472" height="266" border="0" standby="Va rugam,asteptati.In proces de incarcare..."> <PARAM name="movie" value="video\index.swf"> <PARAM name="quality" value="high"> <PARAM name="bgcolor" value="#000000"> </OBJECT> i got(and i still get) a blank square filled with white color in Firefox and a black filled square in IE(this is actually the Flash Player,but for some reason it won't play the file). Please tell me,what's wrong : Me or the code? I really need some help. The following code works in Firefox AND validates as XHTML 1.0 Strict: <object codetype="application/java" classid="java:lake.class" width="423" height="567"> <param name="image" value="lovetide.jpg" /> </object> It displays the image, and the applet simulates ocean waves on the image. However, this code does NOT work in IE (no image displayed at all). Any idea how to do this in IE in a way that will still validate? I did some searches on the Web, and found an article that pointed out IE handles <object> differently from other browsers. Based on that article, I tried this: <!--[if IE]> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="423" height="567"> <param name="code" value="lake.class" /> <param name="image" value="lovetide.jpg" /> </object> <![endif]--> <!--[if !IE]> Not executed by IE--> <object type="application/x-java-applet" classid="java:lake.class" width="423" height="567"> <param name="image" value="lovetide.jpg" /> </object> <!--[endif]--> Still works with Firefox but not IE. Any help would be much appreciated. Thanks. Bill I have been making a website for some hours now, I started off making it comply to XHTML Transitional 1.0, however, this made it incredibly difficult for me to make the website appear how I wanted in both Firefox and Internet Explorer, so I downgraded to HTML 4.0.1 and decided to use iframes instead of objects to implement another webpage. However, there are two flash files on my website that are embedded using the object property: HTML Code: <object data="flButtons.swf" width="790" height="85" style="border-width: 0px;"> </object> And HTML Code: <object data="flSarah.swf" width="230" height="380"> </object> This works fine in firefox however, in internet explorer 7 it has a weird border like thing around it, and no matter what I try, I can't get rid of it. I initially had it on the iframe but i got rid of that using "frameborder=0".. this has no such attribute. The website is: http://www.geocities.com/s.cowperthwaite/index.html (temporary host obviously ) Any help will be appreciated : ) Thanks, matthew haworth I have a problem with an .swf in the object-tag. On the site, http://www.careerbuilder.se/se/page.aspx?pagever=cb_new, i have a swf that works as it should in FF, but not in IE. The user should be able to click on the large picture inside the flash for a new site to open. This works as I said in FF, but not in IE. This is my object script. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="image flipper" width="638" height="250" align="middle" id="image flipper"> <!--<param name="allowScriptAccess" value="sameDomain" />--> <param name="movie" value="http://www.tekniskajobb.se/knut/slideshow/feature.swf?introMsgText=http://www.tekniskajobb.se/knut/slideshow/xml/feature.xml" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="opaque" /> <embed src="http://www.tekniskajobb.se/knut/slideshow/feature.swf?introMsgText=http://www.tekniskajobb.se/knut/slideshow/xml/feature.xml" quality="high" bgcolor="#ffffff" width="638" height="250" name="image flipper" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/> </object> Does anyone have a solution to my problem? / Thanks What I want to do is have an iframe or something that contains only a portion of an external website. Specificically, I want to only include the search results of an ebay search URL. I can use an iframe, object, or server-side include to include the whole page in my page; however, I can't figure out how to access the dom on those objects so as to locate only the search-results div. It must be doable, since I can see that dom via firebug, but I can't seem to access it programmatically myself. Any suggestions? |