HTML - Unidentified Code!!!!!!!
Hello. Today i started up a project as a test, to see if i could accomplish something. I took some HTML and chopped some parts off untill i isolated what i wanted and had it working alone by itself on a webpage. Towards the bottom (i had everything figured out) i noticed this weird code that came AFTER EVERYTHING (even </HTML>).
So i deleted it, saved, everything still worked fine. I've seen this code pop up elsewhere but never worried about it, but i'm interested now Here is the code: Code: <script language="JavaScript"> <!-- var SymRealOnLoad; var SymRealOnUnload; function SymOnUnload() { window.open = SymWinOpen; if(SymRealOnUnload != null) SymRealOnUnload(); } function SymOnLoad() { if(SymRealOnLoad != null) SymRealOnLoad(); window.open = SymRealWinOpen; SymRealOnUnload = window.onunload; window.onunload = SymOnUnload; } SymRealOnLoad = window.onload; window.onload = SymOnLoad; //--> </script> I'm wondering if someone can tell me what this does and what it's purpose is. Thanks in advance, shinta Similar TutorialsI am using a template which includes mootools and javascript and get this symbol (attached). It seems to be associated with a missing image but isn't the typical HTML missing image symbol. The image is actually there but so is this symbol. Does anyone know what it means? 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 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. 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 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. what kind of working is required to insert image while working with html ? 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. Can someone point me in the right direction for code to place an MP3 on my website? I would like it to be available to listened to online and also to download. Thanks. 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> Sorry for waste of time, completed myself 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! I really need help with www.classic-corvettes-ky.com/monday.html to send an email containing data entered when a user clicks "Submit" or refresh the page when the user clicks "Reset". 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 > <!****************************************************************************> 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 Hello, my first posting I have uploaded a script and all is well, except this! On one web page is a word "Select" when clicked on it should open a list Yet it is dead, when the mouse is over is it reads: javascript:; I used :Inspect Element with Firebug" to locate the "Select" corresponding code HTML Code: <tr class="c1"> <td width="150" align="right"></td> <td class="contentfont" colspan="2"><span id="main_category_display"><?=$main_category_display;?></span> [ <a href="javascript:;" onClick="select_category(document.getElementById('category_id').value, 'main_category_field', 'main_', false, true, 'wanted');"><?=GMSG_SELECT;?></a> ]</td> </tr> your help greatly appreciated not sure if im posting this in the right place.... but is there a code... javascript perhaps... to prevent the browser from printing? 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! 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 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> |