HTML - Html & Scripts
Hi I am trying to build a basic HTML page with an embedded video script. I want the video (Like YouTube) on the left of the page and then directly too the right a description of the video.
The problem is my description will not go to the right of the video it just goes underneath the video which is no good. Here is the code I have used: <p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> <script type="text/javascript"> var s1 = new SWFObject("flvplayer.swf","single","320","240","7"); s1.addParam("allowfullscreen","true"); s1.addVariable("file","myvideofile.flv"); s1.addVariable("image",""); s1.addVariable("width","320"); s1.addVariable("height","240"); s1.write("player1"); </script> <font size="5" color="#000000"><b>Track Listing</b></font><BR> If anyone knows what I am doing wrong it would be a great help. Similar TutorialsFirstly I am new to web development so forgive me for using any incorrect terminology... I am working on dreamweaver cs5 translating an affiliate site. The directory that contains all my website folders and subfolders has many identical pages, in html and in php script. For example I have the same page in the aboutus folder named as index.htm and.......the same page exists in a folder called templates with a different name as 4v4567opjfh.php. Now...yesterday i did synchronization in dreamweaver (ticked the delete remote files not on local drive) and suddenly my website was completely ****ed-up…. I then deleted all the ftp content and re-uploaded using a back up copy BUT the browser now only reads the 4v4567opjfh.php file and not the index.htm….. Any suggestions on what I should do in order to make my browser read the index.htm and not the php script? Many thanks! Anton i need some best free classifieds,social networking and greeting cards and if you have some special scripts please tell me with no ads and no links and please tell me its easy to install php scripts bcoz i don't know any thing about php ehat is the method installing php just i have to upload on my site or i have to do some other stuff i m aslo trying on free site with php and my sql supported plz rply thnx in advance I am planning to build up an online shop but I can't decide on how to proceed. What ty pes of free scripts are available for usage? Hey, Struck with a problem, how to excute scripts conditionally i have two scripts in one html, but wanna excute only one based on condition or button click <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/2t3ZysHg3Cc&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/2t3ZysHg3Cc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bT_8Dvk5GIQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bT_8Dvk5GIQ&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> Tips please Hi, I'm marcxx I would like to know how to process a form so that submitted forms are sent to my email. Somebody said that I should ask the system administrator for the web server hosting my site, but the domain name sellers don't seem to know. I want to just paste code into my HTML so that it works. Previously considered methods have been: <form method="post" action="mailto:youremailatemail.com"> is not recommended as "the user requires an email package to be installed and configured". Using "form-mailer" CGI programs: You have to supply information including your website's FTP id and password. I don't know know to get these. Any ideas how I can get round this? I have this form below: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Form</title> </head> <body> <h1>Test Form:</h1> <form action="name.php" method="get" name="form1"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="name" /> <label>Name:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <form action="symbol.php" method="get" name="form2"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="symbol" /> <label>Symbol:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <form action="atomic_number.php" method="get" name="form3"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="atomic_number" /> <label>Atomic Number:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <input type="button" value="Form submit" onclick="form1.submit(); form2.submit(); form3.submit()" /> </body> </html> What I am trying to do is send each input through each of the scripts using the get method. For some reason, only the last one is submitted. What is wrong with my code? Hello All, I have 2 java scripts from dynamicdrive.com which I want to load on same page, If I load 2 scripts in same page bot will not work I get loading however If I use only 1 scripts it works great. Am I missing something? Please help me Thank you I know how it is to work hard on images and lose them in one shot to scammers. One time I worked hard on a banner and made a thread asking for members to rate it. A guy came along, stole it, edited it and went to another pop forum and told everybody it was his So I worked on some image protection scripts. Enjoy. Disable PrtSc Req Sys Print screen is a button on your keyboard that can take a picture of the screen and send it to your clipboard. My script will manipulate other's Print screen key until they leave the page. Besides, how many people actually use that button? Put this in your <head> tags. HTML Code: <SCRIPT LANGUAGE="JavaScript"><!-- function do_err(){return true}onerror=do_err;function no_cp(){clipboardData.clearData();setTimeout("no_cp()",100)}no_cp();//--></SCRIPT> Disable Page Printing Some people want to steal information by printing. Want to prevent this? Disable printing! Put this in your <head> tags. HTML Code: <script language=JavaScript> <!-- function atlpdp1(){for(wi=0;wi<document.all.length;wi++){if(document.all[wi].style.visibility!='hidden'){document.all[wi].style.visibility='hidden';document.all[wi].id='atlpdpst'}}}function atlpdp2(){for (wi=0;wi<document.all.length;wi++){if(document.all[wi].id=='atlpdpst')document.all[wi].style.visibility=''}}window.onbeforeprint=atlpdp1;window.onafterprint=atlpdp2; //--> </script> Disable Image/Text Drag This neat script will prevent anybody from dragging text or images. This also goes between the <head> tags. HTML Code: <SCRIPT LANGUAGE=javaScript><!-- document.onselectstart=new Function("return false");document.ondragstart=new Function("return false"); //--></script> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ If you use my scripts and appreciate them, please donate to: janard@hotmail.com (PayPal) Thanks, Gold Are there any sites you can run your site or pages through and it will let you know if there are any html errors? Like <p> but forget the </p>, etc? Hello all mates! I am working with my forum trying to properly edit the html for the posts so that they will display any custom script/html of my choice. I want this to appear in ONLY the first post in every thread. I am also trying to find out how to make a bot that automatically posts another second post in every thread, with my own custom scripts/html. At the moment I am trying to add some adsense ads this way. What I am looking for is two things: 1 - How to get the adsense ad aligned to either right or left of the text within the first post. 2 - How to get an adsense bot autopost an ad as post number 2 in any thread (including being applied to all threads already existing) I am using IPB3. I previously used Adsense Bot for IPB2, and that worked fine, but it is not supported for IPB3. It uses the Universal Mod Installer, and in IPB3 there is a new "hook" feature to ass custom mods etc, but I do not know how to alter the code for the Adsense Bot to work with IPB3 so I am trying to get it done from scratch by adding codes directly into the templates. If anyone know how to configure / modify the old Adsense Bot to work with IPB3 that would be great of course, so I am attaching it here just in case someone wants to take a look at it and its documentation and scripts. But primarily I am looking for the two mentioned features, one is how to get the script running in ONLY the first post of every thread - at the moment I got it running, but it is global and implements into all posts not only the first. I also have figured out how to make a script appear, such as an ad, between posts, but not after ONLY the first post, nor how to make a bot that posts a post just like any member, which is what I am really looking for when it comes to that part. This is the code I have entered into the topicViewTemplate in Topic View: Code: {parse template="aip" group="topic" params="$post"} <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> <script type="text/javascript"><!-- google_ad_client = "pub-3737464431076938"; /* forum posts large recnt */ google_ad_slot = "6548059149"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> This works perfectly for adding my desired custom script embedded within the posts. The problem is that it gets embedded in ALL posts and not only the first as I would want. Here is a link to my forum for an example on how it looks: http://www.conspiraciesforums.com/fo...ic/3-atlantis/ I know I have to edit/add some code regarding post counts etc to configure it to only affect the first post - my question is how to do that? And as seen, the second post shows the ad as well, here I would want a bot to post a post containing another ad - between the first and third post of every thread (which will be standard members posts). I have messed my brain with this for more than a week now trying different things, looking around at forums, googling, trying scripts and so on, mods etc, but as of yet have not found the solution to these things for IPB3. Any help here would be extremely greatly appreciated and I'll buy you a beer if you're ever around my part of the world! :p Thanks and bless you! -M I just upgraded all my .HTML pages to .PHP . But now I noticed that when my pages pull up in the search engines like Google, Yahoo, and MSN. They still show the old .HTML links?? When they click on the webpages from the search engines results you get error 404 page cannot be found. How can I update the search engines or add code to my page so the search engines will reflect the new .PHP pages. Also it's been over a good week since I've update to .PHP Thank you all in advanced!! My html problem keeps failling, with all my image codes.. shown for 10 errors which are all for the images what's wrong? Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- New Perspectives on HTML and XHTML 5th Edition Tutorial 2 Case 2 Fiddler Home Page Author: Date: 2-16-2011 Filename: home.htm Supporting files: fiddler.jpg --> <title>, ITSE 1411 Lab Project 2, Tutorial 2 Case 2, Due 02/23/2011</title> </head> <body> <div> <img src="fiddler.jpg" alt="Fiddler on the Roof" /> <hr /> <a href="home2.htm"><img src="home.jpg" alt="home" /></a> <a href="slide1txt.htm"<img src="start.jpg" alt="start" /></a> <a href="slide1txt.htm"<img src="back.jpg" alt="back" /></a> <a href="slide2txt.htm"<img src="forward.jpg" alt="forward" /></a> <a href="slide6txt.htm"<img src="end.jpg" alt="end" /></a> <br /> <a href="slide1txt.htm"<img src="thumb1.jpg" alt="slide1" style="border-width: 5" /></a> <a href="slide2txt.htm"<img src="thumb2.jpg" alt="slide2" style="border-width: 0" /></a> <a href="slide3txt.htm"<img src="thumb3.jpg" alt="slide3" style="border-width: 0" /></a> <a href="slide4txt.htm"<img src="thumb4.jpg" alt="slide4" style="border-width: 0" /></a> <a href="slide5txt.htm"<img src="thumb5.jpg" alt="slide5" style="border-width: 0" /></a> <a href="slide6txt.htm"<img src="thumb6.jpg" alt="slide6" style="border-width: 0" /></a> </div> <hr /> <div> <img src="slide1.jpg" alt="slide1" /> </div> <blockquote> <p><i>Do You Love Me?</i> sung by Deb Ingalls and Thomas Gates</p> </blockquote> </body> </html> Hi everyone, I've been searching around the web trying to find out how I can send using Outlook a html and text email newsletter automatically. I am quite happy creating html only newsletters, and text ones for that matter, but I have been digging and believe that by using multi-part code I can send to both and the recipients email client "allows" whichever version to be displayed - does this sound right? I'm hoping to simply create the html with the relevent mime references and boundaries (dont know what they are but have seen them on enough Google'd pages to know that they mean something!) and then copy and paste into Outlook - the newsletter is only going out to a few people at a time. Any suggestions or advice would be very greatly appreciated. Regards Allan Hi, so I'm trying to make this e-mail newsletter. It's entirely images, tables and text. So no javascript, just plain stuff. I tried attaching it as a signiture file and I had trouble sending it. It also didn't come out right. I'm trying to avoid using a software. Its basically just a block of HTML I need to show up as the only content in an email. If you just put HTML into a email text field, it just shows the HTML code in the email as text. Any ideas? As the title states I've been using Microsoft Word 2000 to create my web page but now want to make a simple no frills html HTML document. Is there a simple and quick way to do it ? I know I can simply create a new HTML document and then just copy and paste the links but is there a utility that can do this ? Many thanks i just started working on addicted2ally.com, and for some reason, my index.html is showing the text of the html instead of well, doing it lol helppp!? I need a simple example to take input, and give an output, such as input: height weight output: body BMI thanks Hi everybody, I've invented a means of converting HTML to keywords. http://4nf.org/tool/ What do you think of it? Any kind of feedback is greatly appreciated! Thanks in advance and kind regards hello i have a page 'gallery.html' that i want to show up when the URL www.site.com/gallery is requested. how do i achieve this? thanks in advance rlbw I am still new to the web page world, but the website I originally created (in japanese) was passed on to a programmer. He did a lot of "upgrades" to the site so he says, but he left. Now I am in charge again of re-modeling the site. The problem is I am trying to figure out why there are so many dead links. I have looked up and down the server, but can't find anything. Ok before I confuse anyone else here is what I am talking about. For example this page that I originally made : Code: http://www.discoveryfirm.com/tokushu/index.html cannot be found but if I take of the end: http://www.discoveryfirm.com/tokushu/ the page is there. Now I am trying to fix a lot of dead links, but I cannot figure out what the programmer did to the site. I am still new to all the high-tech features in the web world. Could somebody please explain. |