HTML - Whats Wrong With This Piece Of Code?
Ok so basically I need this to work, it should, im hoping submit the checked radio button to the website ive directed it to (action), this is a game, not a real theft for anyone wondering
so can anyone fix it and reply back asap? thanks! <html> <title>GTA</title> <head> <SCRIPT LANGUAGE="JavaScript"> setTimeout('document.gta_form.submit()',1800); </SCRIPT> <form method="post" action="http://www.gangsterparadise2.com/gta.php" name="gta_form" id="gta_form"> <input name="choose" type="radio" value="1" checked/> Steal from a Car Factory <br> <input name="Submit" type="submit" class="formbutton" value="Do that ****!" id="gta" /> </form> </head> </html> Similar Tutorialsso I'm making a forum and I am having a small problem with something. When I first open my forum the 'userbar' with contains the sign in and create account links does not show. If I add a margin to the userbar the links do appear so its like they are being covered by something when I first open the page. When I click the create topics links it tells me I can't create topics because I'm not signned in and provides a link to the sign in page. Once I sign in the userbar appears I have attached a file with screen shots of the forum so i hope that will help explain my problem. I didn't post any code because I'm not sure what part of my code is causing this error Hope someone can help Im trying to fix a leftnav on a website www.meshoxford.com If you click down the leftnav through everything under home it should work, if you click back on home though the site breaks... but if you load the page and go to publications, then back to home it works... I can not figure out why its doing this! Thx Matt I have this table and the contents inside and all when i click preview it adds lotsa space above the table why ??? and how to fix it ??? sum1 fixed it on dreamweaver but i dont use that i use frontpage and i compared the codes and could not find the difference anyway yall check it and see the preview mode this is the code HTML Code: <table> <tr><td align="right"><font face="Arial Rounded MT Bold" color="#0B74C1">Name:</font><td width="252"><input type="text" name="visitor" size="35" /></td></td> <br /> <td width="67"> </td><td></td><br /></tr> <tr><td align="right"><font face="Arial Rounded MT Bold" color="#0B74C1">Email:<br /> </font><td width="252"><input type="text" name="visitormail" size="35" /></td></td> <td width="67"> </td><td></td></tr> <tr><td align="right"><font face="Arial Rounded MT Bold" color="#0B74C1"> Subject:<br /></font><td width="252"> <input type="text" name="attn" size="35" /></td></td> <td width="67"> </td><td></td></tr> <tr><td align="right" valign="top"> <font face="Arial Rounded MT Bold" color="#0B74C1"><br />Message:</font></td> <td width="252"><textarea name="notes" rows="6" cols="29"></textarea></td> <td width="67"> </td></tr> <br /> <tr><td align="right" height="27"> </td> <td width="252" height="27" align="center"> <p align="center"> <input type="submit" value="Send" <INPUT type=submit value="Check" style="color: #FFFFFF; font-family: MS Sans Serif; font-size: 8pt; border-style: ridge; border-width: 3; background-color: #074A7C"></td> <td width="67" height="27"> <p align="center"> </td></tr> <br /> </table> Thanx Does anyone see a problem with my coding? I viewed my website on the newest version of Firefox and it rang great but on IE 7 my right sidebar was where it needed to be but my main content was dropped under the left sidebar but in the middle of the page. When I get rid of the left sidebar my main content jumps back up to the top of the page under the header rather then go underneath the sidebar left. Can anyone please help me. Thank you Stacy HTML Code: </head> <body class="twoColLiqRtHdr"> <div id="container"> <div id="header"> [b]header here[/b] <!-- end #header --></div> <div id="sidebar_right"> [b]sidebar here[/b] </div> <!-- end #sidebar_right--> <div class="style13" id="sidebar_left"> [b]sidebar here[/b] </div> </div> </div> <!-- end #sidebar_left --> <div id="mainContent"> [b]main content here[/b] </div> Code: .twoColLiqRtHdr #mainContent { padding-top:0px; width:620px; margin:0 26% 0 170px; position: relative; } .twoColLiqRtHdr #container { width:80%; background:#000; border:1px solid #000; text-align:left; margin:0 auto; } .twoColLiqRtHdr #header { background:#000; padding:0 10px; } .twoColLiqRtHdr #sidebar_right { float:right; width:200px; background:#000; padding-top:15px 10px 15px 20px; position:absolute; left:950px; top:280px; } .twoColLiqRtHdr #sidebar_left { float:left; width:180px; background:#000; position:relative; left:-70px; margin-right: -30px; top: 70px; z-index: 50000; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #FFF; padding: 10px; } I was recently asked to take on a project for a photographer friend of mine to complete a website that has begun by a really bad company, so now I'm looking at the mess they've created and trying to figure it all out. Looks like im going to start from scratch anyways.. but I cam accross one thing that I am curious about: Code: <img src="http://duendeart.com/cgi-sys/Count.cgi?df=duend1.dat|display=Counter|ft=0|md=5|dd=D|tr=y|prgb=255;0;0;"> All the other stuff in the code is HTML code, and so is this, but I've never seen this kind of elements or attributes after the file extension before. It appears as a gradient animation, but I don't know how it's built. There is no other java script or anything, just this piece of code. Any help in reverse engineering this would be appreciated! i was wandering whats the best code to look into for a noob to web design. I know a little in html, but i was wandering is there a certain new language that might be really popular in the future maybe the newest language for web design? thanks....and also please include if you could a website to help you learn it Hi there Guys Im Looking for the HTML Code for how to make a box with html links at the top with a border all the way round the box, Exactly the same as this guy has done: http://www.gappon.com/ Could somebody please paste the code on here Thanks Hello webMasters!! I had a problem with my website the other day and someone helped me fix it almost immediately! THANK YOU! I came across another problem, this one is particularly tricky because I cannot find where the code is broken. . . under my website on this link. .. http://www.rentxotic.com/?page=exotic-car-fleet you will see some pictures of cars. Originally if you were to mouse over the cars, some specs would pop up. Now for some reason I do not know why the specs dont pop up when you mouse over. I saw all the code, I am a novice but nothing pops out at me that looks wrong. Would appreciate any help!!!! - Ryan Hi, I want to know what is wrong in the following code. I have a simple HTML page that calls another page. while calling, it passes the file name. In the calling page, i am reading the file name and i want to play the file name. when i select 005 or 003 or 004 or 002 file, still the code is playing only 005 file. how to resolve this problem? Thanks a lot in advance. Regards Lakshmi </style> </head> <script language="javascript"> function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); name = name.replace(/\s/g,"%20"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) return ""; else return results[1]; } var tag_param =gup( 'PlayName' ); document.write(tag_param); </script> <body> <p> <OBJECT ID="MediaPlayer" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="100%" height="100%" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject"> if(tag_param='005') <PARAM NAME="fileName" VALUE="005.m3u">; if(tag_param='002') <PARAM NAME="fileName" VALUE="002.m3u">; if(tag_param='004') <PARAM NAME="fileName" VALUE="004.m3u">; if(tag_param='003') <PARAM NAME="fileName" VALUE="003.m3u">; I am trying to make a page that you can click a button and it puts text into a text box. I actually had this working when the buttons were standard <Input type=button.> text but when I changed them to images it places the text in the box then clears it out about 90% of the time. If I click it enough (Random amounts of time each attempt) it will stay eventually. Here is the code: Quote: <center><body background="img/bg.jpg"> <B><h2><font color="lime">Notes</font></B></h2> <script type="text/javascript"> <!--; function clearStuff(clear) {document.forms["textForm"].textArea.value = "";} function addStuff(stuff) { document.forms["textForm"].textArea.value += stuff;} //--> </script> <form name="textForm" action="#" method="get"> <textarea name="textArea" style="width:680px;height:180px; background:LightBlue"></textarea> <br> <input type="image" src="image/clear.png" border="0" onclick="javascript:clearStuff();" /> <br /> <hr> <B>Notes</B><br> <input type="image" src="image/clear.png" border="0" onclick="javascript:addStuff('Boo');" /> </form> Also I noticed my address bar says: file:///C:/Documents%20and%20Settings/BLAH/Desktop/Site2%20BETA/speedy.htm?textArea=&x=60&y=22# and that X= and Y= #s jump around, not sure where that code is coming from. Thanks in advance for any help! Quote: <html> <head> <title>Test Test</title> <script type="text/javascript" language="JavaScript"> function LaunchCommand() { var launcher = new ActiveXObject("WScript.Shell"); launcher.Run("file:///C:/Program/ColorCop.exe"); window.open('','_self',''); window.close(); } </script> </head> <body> <br> <center> <font size = 5>Click the button</font> <br><br> <input name="Command" value="RGB Color" onclick="LaunchCommand()" type="button" style="width:200px;height:100px"> <body> <center> </html> Above is a short code which i have written. When i tested it in windows XP, the program ColorCop opens when i click the button. But in Windows Server 2008 R1, nothing happens when i click the button. Any idea why? TQ Hi, I am in the middle of building a html page and want to use the greybox lightbox code Ive found to load another webpage in the lightbox over my home page. Ive downloaded the greybox files and link to them (as instructed), Ive added the greybox script in my head tags (as instructed) and finally added the rel tag to my links... the pages open, but in a seperate browser window- they don't open in the greybox window. Ive played around with it for ages, trying to work it out- can anyone tell me what is wrong with this code?? <html> <head> <title>YOUTOPIA // personal fitness & wellbeing</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <style type="text/css"> <!-- body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #F8E0B2; } body { background-color: #000000; background-image: url(images/home-bg.jpg); background-repeat: repeat-x; } a:link { text-decoration: none; color: #F8E0B2; } a:visited { text-decoration: none; color: #F8E0B2; } a:hover { text-decoration: none; color: #FFFFFF; } a:active { text-decoration: none; color: #F8E0B2; } .style1 { font-size: 10px; font-style: italic; } #facebook { position:absolute; width:50; height:50; z-index:1; background-image: url(images/greenfblogo.png); left: 246px; top: 523px; visibility: visible; } .style2 {font-size: 12px} --> </style> <script type="text/javascript"> var GB_ROOT_DIR = "http://www.youtopiastudio.com.au/public/www/greybox/"; </script> <script type="text/javascript" src="http://www.youtopiastudio.com.au/public/www/greybox/AJS.js"></script> <script type="text/javascript" src="http://www.youtopiastudio.com.au/public/www/greybox/AJS_fx.js"></script> <script type="text/javascript" src="http://www.youtopiastudio.com.au/public/www/greybox/gb_scripts.js"></script> <link href="http://www.youtopiastudio.com.au/public/www/greybox/gb_styles.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- ImageReady Slices (home-youtopia.psd) --> <script type="text/javascript"> var GB_ROOT_DIR = "http://www.youtopiastudio.com.au/public/www/greybox/"; </script> <script type="text/javascript" src="http://www.youtopiastudio.com.au/public/www/greybox/AJS.js"></script> <script type="text/javascript" src="http://www.youtopiastudio.com.au/public/www/greybox/AJS_fx.js"></script> <script type="text/javascript" src="http://www.youtopiastudio.com.au/public/www/greybox/gb_scripts.js"></script> <link href="http://www.youtopiastudio.com.au/public/www/greybox/gb_styles.css" rel="stylesheet" type="text/css" /> <a rel="gb_page_center[500, 500]" href="http://www.youtopiastudio.com.au/what.html" >link</a> <table width="900" height="600" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td colspan="14"> <img src="images/image-1.jpg" width="900" height="90" border="0" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="90" alt=""></td> </tr> <tr> <td rowspan="2"> <img src="images/home-youtopia_02.jpg" width="82" height="33" alt=""></td> <td colspan="4"> <img src="images/home-youtopia_03.jpg" width="203" height="18" alt=""></td> <td> <img src="images/home-youtopia_04.jpg" width="63" height="18" alt=""></td> <td colspan="8" rowspan="2"> <img src="images/home-youtopia_05.jpg" width="552" height="33" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="18" alt=""></td> </tr> <tr> <td colspan="4"> <img src="images/home-youtopia_06.jpg" width="203" height="15" alt=""></td> <td> <img src="images/home-youtopia_07.jpg" width="63" height="15" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="15" alt=""></td> </tr> <tr> <td colspan="14"> <img src="images/home-youtopia_08.jpg" width="900" height="28" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="28" alt=""></td> </tr> <tr> <td colspan="3"> <img src="images/home-youtopia_09.jpg" width="228" height="51" alt=""></td> <td colspan="6" rowspan="3"> <img src="images/home-youtopia_10.jpg" width="281" height="269" alt=""></td> <td colspan="4" rowspan="4" background="images/test-panel-main.jpg"> <div style="position:relative; width:300px;"> <div id="maintext" style="position:absolute; left:11px; top:-128px; z-index:10; width: 353px; height: 272px; visibility: visible;"> <div align="justify"> <p class="style2"><em>We are a private, personal training and wellness facility, with a focus on lifestyle, balance and wellbeing. Youtopia provides a calm, safe and friendly environment where you can go to simply get fit for living <strong>LIFE</strong>! There are no cues for equipment, no life-long contracts and no pricey membership fees. </em></p> <p class="style2"><em><br> Youtopia provides a challenging and functional workout rather than frustrating encounters. Youtopia is exclusive but not expensive & more importantly it’s all about <strong>YOU</strong>! There’s no non-sense, no attitude and no judgements.</em></p> <p class="style2"><em> <br> Many of us want to lead more active and healthy lifestyles and have regular exercise be a part of our lives. But we lack the motivation to reach our goals alone... <a href="http://www.youtopiastudio.com.au/what.html"title="What is Youtopia?" rel="gb_page_center[500, 500]" ><strong>read more</strong></a> </em></p> <p class="style1"> </p> </div> </div> </div> </td> <td rowspan="5"> <img src="images/home-youtopia_12.jpg" width="19" height="313" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="51" alt=""></td> </tr> <tr> <td colspan="3"> <img src="images/text--bar-left.jpg" width="228" height="22" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="22" alt=""></td> </tr> <tr> <td colspan="3"> <img src="images/text-panel-small.jpg" width="228" height="196" alt=""> </td> <td> <img src="images/spacer.gif" width="1" height="196" alt=""></td> </tr> <tr> <td colspan="9" rowspan="2"> <img src="images/home-youtopia_15.jpg" width="509" height="44" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="22" alt=""></td> </tr> <tr> <td colspan="4"> <img src="images/text-bar-right.jpg" width="372" height="22" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="22" alt=""></td> </tr> <tr> <td colspan="14"> <img src="images/home-youtopia_17.jpg" width="900" height="35" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="35" alt=""></td> </tr> <tr> <td colspan="14"> <img src="images/home-youtopia_18.jpg" width="900" height="16" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="16" alt=""></td> </tr> <tr> <td colspan="2" rowspan="2"> <a href="http://www.facebook.com" target="_blank"><img src="images/home-youtopia_19.jpg" alt="" width="95" height="60" border="0"></a></td> <td colspan="2"> <img src="images/button-why.jpg" alt="" width="155" height="30" border="0"></td> <td rowspan="2"> <img src="images/home-youtopia_21.jpg" width="35" height="60" alt=""></td> <td colspan="2"> <img src="images/button-philosophy.jpg" width="160" height="30" alt=""></td> <td rowspan="2"> <img src="images/home-youtopia_23.jpg" width="35" height="60" alt=""></td> <td colspan="2"> <img src="images/button-trainers.jpg" width="149" height="30" alt=""></td> <td rowspan="2"> <img src="images/home-youtopia_25.jpg" width="35" height="60" alt=""></td> <td> <a href="http://www.thehavocplan.com"rel="gb_page_center[500, 500]"><img src="images/button-gallery.jpg" alt="" width="181" height="30" border="0"></a></td> <td colspan="2" rowspan="2"> <img src="images/home-youtopia_27.jpg" width="55" height="60" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="30" alt=""></td> </tr> <tr> <td colspan="2"> <img src="images/button-eat.jpg" width="155" height="30" alt=""></td> <td colspan="2"> <img src="images/button-offers.jpg" width="160" height="30" alt=""></td> <td colspan="2"> <img src="images/button-press.jpg" width="149" height="30" alt=""></td> <td> <img src="images/button-details.jpg" width="181" height="30" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="30" alt=""></td> </tr> <tr> <td colspan="14"> <img src="images/home-youtopia_32.jpg" width="900" height="25" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="25" alt=""></td> </tr> <tr> <td> <img src="images/spacer.gif" width="82" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="13" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="133" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="22" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="35" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="63" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="97" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="35" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="29" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="120" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="35" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="181" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="36" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="19" height="1" alt=""></td> <td></td> </tr> </table> <!-- End ImageReady Slices --> </body> </html> For a project of mine I want to implement the oldest MS PAINT into a website.. I need it working, preferably with the option to save the created file onto the desktop. Now I realize that that would need server-side coding.. but thats not the reason I'm posting my question here. I need your help because of the following reasons: - I would like to see some ideas posted on several ways to get the utility up&running. - Paint of Windows98 may be circulating the WWW as a flash .SWF.. if someone knows of its existence; feel free to share. - Just wanna know what im getting myself into, so.. is this possible for a beginner? Thanks for reading, any shared thoughts are welcome. In a html file I found, it had & # 8 2 0 6 ; (The above but without whitespace in it.) Does anyone know which character this is for? I am having the hardest time I been working on trying to fit this form into a iframe and have it position relative on my website. The iframe is positioned correctly on my page but I dont know if its margins, padding, or the width and height that i got wrong but the iframe is blocking some of my html from being highlighted because the iframe is sitting ontop of some of the text around the form. Here is my HTML code and my CSS file HTML: HTML Code: <br /> <br /> <span class="contact"> <iframe src ="contactform.php" allowtransparency="true" position="absolute" width="550" height="600" frameborder="0" scrolling="no"></iframe></span> <br /> <br /> CSS Code: } .contact { position: relative; left: 300px; top: -1125px; } i was just told that frames are not good to use... i was wondering what a good alt to frames was Hi All, Im just wondering what the standard Width and Height is for a website nowadays? Thanks in Advance If I type this URL into my browser location bar, it works just fine, and displays the image properly: http://www.zappos.com/n/multi_view.c...223&view=multi If I use the same URL in the following code on an html page and render it in the browser, no image displays: <img src="http://www.zappos.com/n/multi_view.cgi?product_id=7558977&color_id=205223&view=multi"> What am I doing wrong? I've tried encoding it, but that didn't fix the problem. Can someone please help? I'm sure I'm missing something completely obvious. Thanks, Janet |