HTML - Two Object On Same Html
I have two objects on the same page, one menuline on the left and an embeded pdf-file.
My problem is: The menu-object is behind the pdf-object and I want to put the menu-object over the pdf-object. <EMBED src="folder_name/filexxx.pdf" width="444" height="345"></EMBED> http://www.henningbrekken.net/eliselektro/opvc-jz.html If some can help me, I will buy a christmaspresent for that person... he-he Yours sincerly Henning Similar TutorialsHello, 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 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 Okay, that may sound like a funny title, but here is the deal. I have an MP3 player on my website. The original file is attached to this post. You must, if you want to test it, include it as a file in your domain. Anyway, here is the code for it. Please let me warn you that I use BBCode in my forum. HTML I do not allow, so what I have to do is take the original HTML code and place it in the text area, then use BBCode to make it work. My initial example which works! Code: <object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="mp3player/emff_lila_info.swf" /> <param name="quality" value="high"> <param name="FlashVars" value="src={URL}" /> <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55"> </object> <br> <small>MP3 by: cisco007</small> Please note this line: Code: <param name="FlashVars" value="src={URL}" /> The {URL} is the indicator that I use to type the location of the MP3 file. For example http://MyWebSite/FolderOne/FolderTwo/FolderThree.mp3 What I have been trying to do with little to no success is make it so that the only thing I have to type is, "FolderTwo/FolderThree". I don't know why I'm unsuccessful in this endeavor but I am. Currently my code looks like this: Code: <object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="mp3player/emff_lila_info.swf" /> <param name="quality" value="high"> <param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT}.mp3" /> <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55"> </object> </b> <small>MP3 by: cisco007</small> Please notice the same line again: Code: <param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT}.mp3" /> The {SIMPLETEXT} should be for "FolderTwo/FolderThree", but it does not work. Please anyone who has a little knowledge of this help me out! Thanks in advance. I'll go ahead and let you know that I've posted this request on four different sites, and I haven't even had a single reply. I hope someone here can help me!! My site is www.realcrazyestate.com Right at the top of it, I have 3 flash animations. The top banner is animated, and then left and right of the main body text I have an animation of the Sears Tower popping up. Obviously, the banner loads first, but I want to make sure that when the sears towers pop up they come up simultaneously. My question is, when an HTML page loads, does: 1. If there are multiple objects in the page, but they are identical, does the browser download each object separately or does it just download the object once and then reference it out of cache for the second time it comes up in the web page? If the browser downloads an object twice, is there a way to make it do it only once to be more efficient with page loading? 2. Is there a way to make sure that both of the Sears Tower animiations load simultaneously in every case? I don't want one tower popping up before the other. Thanks! Ok, so I'm trying to revamp my website to be W3C standards-compliant. Here's what I have currently: http://www.xboltz.net/index-new2.html I have a sidebar in a separate HTML document, that I bring in with an object tag, in order to make it easier to add new pages since I don't have to change every other page to add a link. I thought that by setting the object height at 100%, it would scale according to the height of what was inside the box, but it scales to the browser window instead. At 1024x768 and with all three collapsible elements open, a scrollbar appears in the object. Is there a way to make it so the whole page can be lengthened according to what's inside the box? And another thing that's really more important; the links do not work in IE. I tried 7 and 8, and the links all open inside the object, as opposed to the full window. It does that with both target="_parent" and target="_top". The links work in Firefox just fine. Hi, I am a newbie and trying to develop a web site with HTML over IIS. I have inserted a flash (swf) object into the html code and am able to see the object displayed via IIS (right-click virtual directory and browse). However, it does not show if I try to access the same page via IE with http://localhost/Other. Only the text gets displayed. What could be the reason. Thanks. please help. i used html <object> tag and i embeded a .swf flash file inside my html page... everything worked great until here.... now i want to let the visitor of my page to be able to navigate through my .swf file through my own navigation bar buttons that i want to put above the .swf file... i want my visitor to be able to press the avigation bar buttons to play and stop and forward and backward and rewind and so on... i dont want my visitor to press the right mouse button when he over the flash object to navigate i want to have my own navigation static bar above the flash.... what solutions there is to this problem....? what is the best solution ? best regards. 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> Hi, I am very very new to HTML and have been trying to find out how to add a border to an object, which in my case is flash. Here is my 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" width="650" height="320" id="tacticalassassin" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="tacticalassassin.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="bgcolor" value="#FFFFFF"/> <embed src="tacticalassassin.swf" quality="high" wmode="opaque" bgcolor="#000000" width="650" height="320" name="tacticalassassin" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> I've tried putting border=2, border="2", border=2px ect.... I've tried so many variations but can't get it to work... Can some one please help, thanks ! Hello, I've created a table that should be automatically populated by data from a text file. It works fine in IE but is displayed blank in Firefox. Can anyone tell me why that might be? Code: <object id="members" classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> <param name="DataURL" value="../../secure/Membership/contacts.txt"> <param name="UseHeader" value="True"> </object> <TABLE datasrc="#members" border="0" cellspacing="5" cellpadding="8" align="center"> <THEAD> <TR> <TD><strong>Name</strong></TD> <TD><strong>Organisation</strong></TD> <TD><strong>Telephone</strong></TD> <TD><strong>E-mail</strong></TD> </TR> </THEAD> <TBODY> <TR> <TD><DIV datafld="NAME" ></DIV></font></TD> <TD><DIV datafld="ORGANISATION"></DIV></font></TD> <TD><DIV datafld="TELEPHONE" DATAFORMATAS="html"></DIV></font></TD> <TD><DIV datafld="E-MAIL" DATAFORMATAS="html"></DIV></font></TD> </TR> </TBODY> </TABLE> Thanks for any help , Russ Hi all, Is it possible, using html, to replicate the Web Capture Web Part from Sharepoint? Basically what I want to do is have an object (or iframe if it is possible) but rather than display an entire page I would like to display a single element (in this case a table) from that page. The table is regularly updated so simply replicating the table on my page would not work. Hopefully someone can shed some light! Cheers, -Cront 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 I'm working on integrating streaming HD video into my website (flash). I'm getting it close to how I want it to look, but I'm pretty inexperienced with flash (and not much more experienced with HTML). Please check the following pages and view source: http://www.matthoover.com/gallery/sk...ck_4.0-HD.html http://www.matthoover.com/gallery/sk...o_2008-HD.html I am trying to create a border around the whole flash object (player + controls), but the bottom bit of the border is getting cut off. I'm sure there's a much better way to do this? Here it is right now snipped from the source: Code: <div style="text-align:center; width:800px; height:456px"> <div style="float:left; width:69px; height:398px"> </div> <div style="float:left; width:650px; height:398px; border: solid #e5e5e5; border-width:medium; border-style:ridge"> <script type="text/javascript" src="http://www.matthoover.com/jw/swfobject.js"></script> <div id='player'><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a> </div> <script type="text/javascript"> var so = new SWFObject('http://www.matthoover.com/jw/player.swf','mpl','650','398','10','#000000'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&file=http://www.matthoover.com/video/Z-Flock_4.0-HD.mp4&backcolor=000000&frontcolor=FFFFFF&screencolor=000000&skin=http://www.matthoover.com/jw/skins/modieus.swf'); so.write('player'); </script> </div> </div> Thanks! Hi, I have an activex control which loads with object tag. I use the windows registry key value to load the class. When i run the code from a local machine it works fine, but when i upload to a unix based server, the controls do not load. Is there something I am doing wrong? 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. 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 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> Hello everyone! I am currently working on a project that requires the following object to auto-scroll at user defined speeds: <td width='75%' valign='top'><object width='500' height= '1000' type='text/plain' data='bird.txt' border='0'> The embedded object is always a text file but each one will be a different size. I need some kind of auto-scroll mechanism that will allow the user to scroll down the text box at a speed that suits the size of the text file itself. Does anyone have any suggestions about how this could be achieved? Thanks I have an object (swf animation). Now, i would like to have an image directly under that object (touching each other). |