HTML - Disappearing Code?
I don't know if it's just my browser (Firefox) acting funny or what, but for some reason this piece of code...
Code:
<table bordercolor="#000000" width="146" height="45" border="1" cellpadding="0" cellspacing="0"> <tr><td align=center valign="middle" bgcolor="#000000"><font face="Verdana" color="#FFFFFF" size="3">Join the</font><br><font face="Verdana" color="#990000" size="3"><b>Red Riot</b></font><br><font face="Verdana" color="#FFFFFF" size="3">on</font> </font></td></tr></table> <a href="http://niu.facebook.com/group.php?gid=2204682424" target="_blank"><img src="http://img239.imageshack.us/img239/1539/redriotonfacebookcw5.jpg"></img></a> </div> ... looks like this... Code: <table bordercolor="#000000" width="146" height="45" border="1" cellpadding="0" cellspacing="0"> <tr><td align=center valign="middle" bgcolor="#000000"><font face="Verdana" color="#FFFFFF" size="3">Join the</font><br><font face="Verdana" color="#990000" size="3"><b>Red Riot</b></font><br><font face="Verdana" color="#FFFFFF" size="3">on</font> </font></td></tr></table> <a href="http://niu.facebook.com/group.php?gid=2204682424" target="_blank"> </img></a> </div> ...after i upload the entire document file to my website. It omits this piece of code (which displays an image) Code: <img src="http://img239.imageshack.us/img239/1539/redriotonfacebookcw5.jpg"> ... in the final product. Here is my website: http://www.niufans.com/cpg/albums/Re...Red%20Riot.htm What am i doing wrong? In Dreamweaver it shows up like it's supposed to. Thanks! Similar TutorialsHello all, I'm a bit new to this so please forgive my obvious mistakes... I have created a website using Dreamweaver and uploaded the pages to my hosting company - 123-reg.co.uk. The problem I am having is the code I have created in Dreamweaver for the Title tag is not showing in the code of the uploaded page. I guess the software being used to upload is altering it...? Anyway, I have tried going in to edit the uploaded page via the platform/portal 123-reg provide but although the code adds in a page title upon saving and exiting, the next time I go to view or edit the code, it is no longer there!? If I edit anything else on the page and not add that code in every time, the title will disappear when the page is next loaded in a browser...! The code I am pasting in is this: <html> <HEAD> <TITLE>INSERT TITLE TEXT HERE</TITLE> </HEAD> The rest of the code is he http://www.eveinteriors.co.uk/Children.htm Please help, it's really frustrating and 123-reg "support" are telling me it's a coding issue and they can't help....what am I doing wrong!? Any help greatly appreciated. Thanks, Pete Can someone look at this page for me: http://www.usautomatedshade.com/ There is supposed to be a blue-and-yellow div below the menu that shows up and then disappears. Any idea why it is disappearing? Thanks!! Let me first off say I am very new to HTMl. I know a bit, and what I do know I use, but I leave plenty of it to Dreamweaver. Now, I'm starting a Nintendo News site,(with someone else)And it's almost ready; but just as I'm adding picture buttons, and links, and all that to get it to work together, it two of the pages disappear. When I say that, I mean, there is nothing there when I open the page. It's all displayed in Dreamweaver normally, but when previewed, it's blank. This needs to be fixed as soon as possible. I have determined it is a problem with the HTML, not where it's saved or the host. So I come here, to you good people. The site doesn't have an actual domain name; it's using a free .co.nr redirect CURRENTLY. We plan to get name soon enough. Anyways, main page= www.nsidernewspaper.co.nr The Reports page, and the Reviews page are both malfunctioning. I'm new to here, so I'm not sure how I should post the HTML for you to review, or maybe you just have seen this happen before, or know of a possible solution . . . whatever, I hope I can be helped. WiiFreak4, out. I've been building web pages for lots of years but never came across this problem until recently and can't figure it out. I usually use the absolute url link to an image on a web page but recently I'd upload a page and no image would appear. Upon viewing the source of the uploaded page I'd see that where I'd written: <img src="http://www.domain.com/pics/image.jpg"> but what appeared on the uploaded page was: <!-- --> IF I re-write it and write a relative url intead such as: <img src="/pics/image.jpg"> then the same image will appear. I checked with my host if there were any changes in the server, no. I checked this in IE and in FireFox, same. I upgraded both browsers, same. Any ideas? Here's a sample page where there is actually an image link on the page but when I view it the image disappears: http://www.southernutahland.com/landtosell.html Thanks! Hi, I'm new to this forum and would like to apologize in advance for the "general" nature of this question. I am a new moderator for another Forum type website. The website has for years had no image upload feature and had users place in their posts external links to free photo hosting sites. Recently, the website added a feature to upload images directly onto their server, allowing them to be locally archived rather than remotely linked to the other photo hosting website. Now, 99.9 % of the Forum users have never purchased prints from the photo hosting site, including myself. Though the host site has never sent me any notification on my account, the older picture links on my posts have ceased to work, displaying only red X's instead. This is now beginning to happen all over the Forums, creating a slow errosion of images from the older posts. It would be ideal to create some type of program or utility to "saveas", then convert all of the older images to the new local hosting, thus eliminating the problem. This would solve the problem for the newer eternally linked images - unfortunately the older ones are probably lost. Does anyone have any ideas or sugestions on this? (I did a search but was unable to find anything) Thanks! A&N Hello, I am a student and working on a simple first project. All I'm doing right now is writing my code in text edit, saving it as "test.html", and dragging and dropping the file onto Safari/Firefox to view my code. Everything works when I'm at my college's computer lab, but when I'm on my own mac notebook, the files load in the browser as my code. I've tried a variety of samples and checked my preferences, but I can't figure out what I'm doing wrong. Sample code I'm using - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Simple Link Example 2</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Creating Relative Reference Links</H> <HR> <P>Open <A HREF="practice1.html">Practice 1</A>.</P> <P> Open <A HREF="practice2.html">Practice 2</A>.</P> <P>Open <A HREF="practice3.html" TARGET="_blank"> Practice 3</A> in a new window.</P> </BODY> </HTML> Please help! I'm trying to wrap up an assignment and have been banging my head against the wall all night. Thanks! cordelia Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! I was curious to find out, where can i find a cool looking shoutbox code where i can put on my message forum? Looking for some neat, and cozy with some advance options. Meaning, i would like to change the colors to match with my forum and stuff. Thanks. I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. Hi im rich very first post but might be a good question. im looking for a code that when you load the page the exclamation windo pops up with the message. i made one for no right mouse clicks. i need one made to when my page laods they will see the message. Hi, what's this code for: ?tag= What is it for and what does it do if it's attached to something like this: http://www.ABC.com/images/spacer.gif?tag=ABC And if I rearrange the domain and file path, does this still work for whatever it's for: ?tag=ABC Thanks in advance for your help! Hey I'm looking for a code for users to upload a picture. Below the picture there is a form to let other users rate the picture from 1-10 then submit it. Also below the form there is a comment box and previous comments box where people can see what others posted....its hard to explain...kinda like this picture in the attachment. Thanks in advance. The last paragraph on my code shows up as bold letters. Can someone please tell me why? here are my codes HTML Code: <html> <head> <title>Top ten NBA player of all time</title> <style type="text/css"> h1 {font-size: 30; font-family: arial;} h2 {font-size: 12; font-family: arial;} h3 {font-size: 22; font-family: arial;} h4 {font-size: 16; font-family: arial;} p {font-size: 14; font-family: arial;} </style> </head> <body> <h1>This is a list of the top ten NBA players of all time</h1> <h2> Written by Luke Ritchie</h2> <br/> <br/> <br/> <h3>The NBA</h3> <p>The NBA has had millions of players in it long, rich history. <br/> The NBA started in 1946 as the BAA (Basketball Association of American),<br/> then merged with the NBL (National Basketball League) and became<br/> known as the NBA in 1950. Today, I will be listing ten players, who i <br/> think are the greatest ever.</p> <hr /> <h3>10. Oscar Robertson</h3> <img src="http://sportige.com/wp-content/uploads/2010/02/Oscar-Robertson.jpg" width="400" height="400" alt="Oscar Robertson" title="Oscar Robertson" /> <p>Oscar Robertson. His nickname was "The Big O", and he Played for the Cincinnati Royals and the Milwaukee Bucks. <br/> He was the only player ever to average a triple-doule over the course of a season. <br/> He played piont guard, and was named to 12 All-Star teams. Oscar was the the key component on the Bucks in the 1970-1971, <br/> and lead them to win there only NBA title. Robertson was inducted into the <br/> Naismith Memorial Basketball Hall of Fame in 1980, and was voted one of the 50 Greatest <br/> Players in NBA History in 1996. Though All of his accomplishments came with plenty strugle, <br/> His playing career, especially during high school and college, was filled with <br/ racism and hatred toward him, and his fellow black players. Both numbers he <br/> wore, 14 on the Sacramento Kings, and 1 on the Milwaukee Bucks, were retired. <br/> He will live forever in the basketball Hall Of Fame. </p><br/> <hr /> <h3>9. Shaquille O'Neal</h3> <img src="http://www.clap.name/images/Shaq4.jpg" width="275" height="400" alt="shaquille o'neal" title="shaquille o'neal" /> <p>In his prime, Shaq may have been the best big man in the history of the league. <br/> There wasnt a person in the league that could stop him in his prime, which was in the early 2000s. <br/> He won 3 championships with the lakers and Kobe Bryant, despite Kobe and Shaqille butting heads. <br/> Then went on to win another championship in Miami with Dwayne Wade. Shaqs defense may have been <br/> equal to his offence, he was an all-around great player, and will undoubtedly end up in the <br/> Hall Of Fame in his first year of eligibility.</p><br/> <hr /> <h3>8. Bill Russell<h3> <img src="http://www.achievement.org/achievers/rus0/photos/rus0-013a.gif" width="350" height="400" alt="Bill Russell" title="Bill Russell" /> <p>Bill Russell is the greatest winner ever. 11 championships in 13 seasons, its a record that will <br/> likely never be beaten. Most people say championships are the most imporntant thing when judging greatness, <br/> so it could be argued that Russell should be number one, but the era he played in wasnt nearly as <br/> competitive as todays game. Bill is also one of the greatest defenders of all time, blocks <br/> weren't recorded in his time, but he probably would have been at the top of the record books <br/> if they did. He was inducted into the Hall Of fame in 1975.</p><br/> <hr /> <h3>7. Tim Duncan</h3> <p>T</p> </body> </html> I want to use the code on this website: http://geekfile.googlepages.com/flvplay.... I have a video that i converted to flv on my computer...what do I do? Please help...I dont know where I put my information in this code not sure if im posting this in the right place.... but is there a code... javascript perhaps... to prevent the browser from printing? need help on 2 areas 1st have created a form what i would like it to do is as soon as the submit button is hit it sends directly to my mail account rather than open a mail program first would, also be kinda neat to have a thank you message displayed after submit the second is i have option menu and would like an action to happen depending on what is selected ie a calendar will be available so clients can self check availability the option displays month of the year when you select a month the diary for that month will open i dont know code but am doing my best reading and looking stuff up i have tried all day but cant find what i want to do any help would be great I got some code of a tutorial for an image slider, and I used NotePad ++ to edit it with my images and links. But I don't know whats wrong?!? It won't load. I put it in Wordpress and upload the images and it doesn't work! I have attached the code file. Thanks is anyone can help! Hey guys hows it going, Im looking at this webpage... and Im trying to understand how the words "Genereate Affiliate income" is being displayed... any help would be great http://www.opportunity.com/index.html 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> <title>Opportunity.com - Build the ultimate money making online business!</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="Opportunity.com, opportunity, online, business, affiliate, marketing, trend-watching, opportunities, training, online business, affiliate marketing, grow, succesful, ultimate" /> <link href="/free_access.css" rel="stylesheet" type="text/css" /> <SCRIPT LANGUAGE="JavaScript"> <!-- function checkRequired() { if (document.getElementById("idfrom").value=='') { alert('Please Enter Your Email!'); return false; } return true; } //--> </SCRIPT> <SCRIPT LANGUAGE="JavaScript"> <!-- var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes'; win=window.open(mypage,myname,settings);} //--> </SCRIPT> </head> <body> <div id="container"> <div id="logo"> </div> <div id="content_left"> <div id="left_image"> </div> <h1><p>Most marketers make affiliate marketing far too difficult than it really needs to be. Making money from affiliate programs is easy if you know some proven fundamentals and how to automate them to 'work' for you.</p> <p>If you're serious about growing your income online then you need to know how to make maximum money by promoting affiliate programs.</p> <p>If you want to generate affiliate commissions on auto-pilot then take a few minutes to watch my quick training video where I show you how to create your own moneymaking 'Affiliate Commission Engine' by entering your email address in the field to the right...</p> <p>Yours For Online Profits,<br /> <b>John Reese</b></p> </h1> </div><!--end left column--> <div id="content_right"> <a href="#" onclick="alert('Hold on there... just enter your email address in the box right under the arrows and click the button that says Free Instant Access to watch the video.'); return false;"><img class="right_image1" src="/images/video_holder.jpg" width="312" height="199" border="0"></a> <div id="right_image2"></div> <h3>Enter your email address in the form below for instant access to the "How To Build An 'Affiliate Commission Engine' training video...</h3> <form method="post" action="http://www.aweber.com/scripts/addlead.pl" onsubmit="return checkRequired();"> <input type="hidden" name="meta_web_form_id" value="1713646579"> <input type="hidden" name="meta_split_id" value=""> <input type="hidden" name="unit" value="opp_landingpage"> <input type="hidden" name="redirect" value="http://www.opportunity.com/videoconfirm.html" id="redirect_4d0dd7bd17cc5e1e5d98602502bbaf03"> <input type="hidden" name="meta_redirect_onlist" value=""> <input type="hidden" name="meta_adtracking" value=""> <input type="hidden" name="meta_message" value="1"> <input type="hidden" name="meta_required" value="from"> <input type="hidden" name="meta_forward_vars" value="0"> <input type="hidden" name="custom affiliateID" value="" size="20"> <b style="font: 13px Helvetica, Tahoma, sans-serif;color: #000;text-align: left;line-height: 17px;padding-left: 20px;padding-right: 20px;font-weight:bold;">Enter Your Email:</b> <input type="text" name="from" style="background:#fffcb3;" maxlength="85" id="idfrom"><br /> <input class="button" type="submit" name="submit" value="Free Instant Access!"> </form> <h4>**Please double-check that your email address is correct or you won't be able to get all the free training material. I take your privacy very seriously - your information is NEVER SHARED. </h4> </div><!--end right column--> </div><!--container end--> <p> </p> <div id="footer"> <a class="footer" href="#" onClick="NewWindow('/privacy.html','create_html','800','700','yes','center');return false;">Privacy Notice</a> | <a class="footer" href="#" onClick="NewWindow('/disclaimer.html','create_html','800','700','yes','center');return false;">Disclaimer</a> | <a class="footer" href="#" onClick="NewWindow('/terms.html','create_html','800','700','yes','center');return false;">Terms of Service</a> | <a class="footer" href="#" onClick="NewWindow('/edisclaimer.html','create_html','800','700','yes','center');return false;">Earnings Disclaimer</a> </div> <p style="font: 11px Helvetica, Tahoma, sans-serif;" align=center>For JV requests, register for our affiliate program <a href="http://affiliate.opportunity.com/register-int">here</a>.</p> <div id="copyright">© 2009 Opportunity.com. All Rights Reserved.</div> <div id="disclaimer"> DISCLAIMER: THE PERFORMANCE EXPERIENCED BY THE USER COMMENTS AND TESTIMONIALS ON THIS PAGE AND/OR OUR WEBSITE IS NOT WHAT YOU SHOULD EXPECT TO EXPERIENCE. COMPANY HAS NOT INVESTIGATED OR SUBSTANTIATED ANY OF THE USER COMMENTS OR CLAIMS. SOME OF THE USERS MAY, IN SOME CASES, BEEN INCENTIVIZED TO SUBMIT THEIR COMMENTS, AND COMPANY HAS NOT VERIFIED THE FIGURES QUOTED IN THEM. </div> </body> </html> Hi new to coding so please be forgiving I am trying to modify some code which i recieved of the web. I have ask the author but i had no reply yet. I want to change the code so that instead of replicating button i want it to use a drop down list box instead. The code only runs in .HTA extension and needs to run from c:\winpe\wizard.hta all sub folder will be displayed as a buttons on the screen. (I need this to work but in a dropdown list box). can anyone could help me please <html> <!****************************************************************************> <!* HTA Header > <!****************************************************************************> <HEAD> <TITLE>Imaging Application</TITLE> <HTA:APPLICATION BORDER = None APPLICATION = Yes WINDOWSTATE = fullscreen INNERBORDER = No SHOWINTASKBAR = Yes SCROLL = No APPLICATIONNAME = "Windows PE Wizard" NAVIGABLE = Yes > <!-- external stylesheet --> <link rel="stylesheet" type="text/css" href="htaStyle.css" /> </HEAD> <!****************************************************************************> <!* Begin Script > <!****************************************************************************> <Script Language=VBScript> '**************************************************************************** '* Globals '* setup global script parameters '**************************************************************************** Option Explicit Dim strTaskValue, objShell, objFso, strBody, objWmiService Set objShell = CreateObject("WScript.Shell") Set objFso = CreateObject("Scripting.FileSystemObject") Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2") '**************************************************************************** '* Window_OnLoad '* load up behavior and preferences '**************************************************************************** Sub Window_Onload self.Focus() strBody = "<H1>PE Build and Recovery Environment</H1>" &_ "<H2>Select Images to apply an OS image using Ghost.<BR><BR>" &_ "Please select an image category:<BR><BR>" enumDirs End Sub '**************************************************************************** '* enumDirs '* find directories and create category buttons '**************************************************************************** Sub enumDirs Dim colSubfolders, objFolder, fileName 'enumerate folders in images folder Set colSubfolders = objWMIService.ExecQuery _ ("Associators of {Win32_Directory.Name='c:\winpe'} Where AssocClass = Win32_Subdirectory ResultRole = PartComponent") 'create html buttons from each folder name For Each objFolder in colSubfolders fileName = objFolder.fileName strBody = strBody &_ "<button id='" & fileName & "' onClick='enumImages("" & fileName & ""'>" & fileName & "</BUTTON>" Next 'post resulting html body to document strBody = strBody & "<BR><HR><BR>" body.innerHTML = strBody End Sub </Script> <!****************************************************************************> <!* End Script / Begin HTML > <!****************************************************************************> <BODY> <DIV id=bg> <img src=winpe.bmp> </DIV> <DIV id=body></DIV> <DIV id=details></DIV> </BODY> </HTML> <!****************************************************************************> <!* End HTML > <!****************************************************************************> |