HTML - Check Box
i'm a newbie when it comes to HTML/CSS
and, the question which i have right now, is for my myspace profile. the question is about a checkbox. here is the code that i have on my profile as of now: HTML Code: <form> <a href="link"><input type="checkbox" name="mybox" value="1" />message</a> <a href="link"><input type="checkbox" name="mybox" value="2" />comment</a> <a href="link"><input type="checkbox" name="mybox" value="3" />pictures</a> </form> right now, when you click on the check box, it does not direct you to a link. it just makes a pretty check in the box. that's all. so it makes it seem like check boxes are totally useless. if you click on the actual word, for example, "pictures," you will be directed to the given link. so, what i want, is that when you check the box, you will be directed to the given link. or, even better, that maybe, say if you want to message me, you would check the check box by the word "message." then, you would go over to a button that says "go" of something to that affect. when you would click the "go" button, you would be directed to a messaging page. or, if you wanted to go to my pictures, you would check the box by "pictures," then click the "go" button, and would be directed to my pictures. is even possible to do on myspace? and does it involve CSS? hope that i made sense. btw, on the <a href="link"> thing, i am aware of the fact that i did not give an actual link. i took out the link and replaced it with the word "link" because i want to keep my myspace profile anonymous. Similar TutorialsI am making a totally new site and i want to make the site an image to avoid copying of info so i made an image background and i want there to be scrolling, but it doesnt scroll. http://www.freewebs.com/new_witchery/test.htm Hi all -- I am developing a site here . I am having some issues with my PDF's and the lightbox-esque extension I am using. I just need someone to go to this link specifically, and when you click on the PDF icon with the magnifying glass, do you get a "Drawing error" as well? I've been searching around, and I can't really tell yet if this a problem with the file, or perhaps with something on my computer (I've heard some issues with Adobe making too many temp files, etc.) If anyone can do that for me and let me know the results, I would be very happy! Much appreciated, and thanks so much. Hey, if you've got 5 minutes, can you take a look at my site and tell me if anything doesn't work? I'm also having a problem with the anchor links on the interest pages, because it posts this weird thing in the title: #ufo#ufo#ufo etc. Thanks hi after we upload a web site to a server some attacker can change its contents. so please help me to check the web site that it is been working still as I expect. (that not any changes of the contents) At this address: http://into.net23.net/ beyond the index page lies just one other file, an .html page, on that page is a string of characters. This is a website created to test security for a website at a different address, it is my hope to keep paid content there using this format, without using any genuine security. I have tried all i know to find the page, download the entire website. nothing has yielded this page yet. Can anyone find this page and tell me what this string of characters is please? Or is it genuinely secure? Hey guys, Just got up my new site, and3 other pages than the homepage, and was wondering if there was a quick and easy way to do a browser check? The site is www.scubatoo.net. I know ther are errors in Firefox, if anyone can speculate on those I would appreciate it. As well I don't think that earlier versions that 7.0 of IE work correct either. If there is a quick way to do this please let me know. Thanks, Ryan Hello to everyone, I don't know if this is the appropriate section for sucn an answer...but I didn't know where to put. My question is this: Can anyone provide to me a way so that I will check what browser the user has and load a page according to that information? I want to have Firefox, Opera and Internet Explorer checked. Could someoine help me please? Thanks. Hi, guys I wanted to know if everything in my code is good. I am looking at it right now and don't see any problem with it. So can someone verify if there is some type of major mistake. I am looking looking to know if i missed any of these which I triple checked and don't see any problem. Let me know if I am missing a nested table which is a table within a table and if I have a table with rows and cols spanned. As I said I am pretty sure I have it correct, but want to verify. Hi there, Long time aint it. Hope you all are doing well and that the sun is shining outside (: Got an issue about an automated URL that I want to get rid of. My goal: www.domain.nl/ OR www.domain.nl/homepage.html But NOT the following: http://img444.imageshack.us/img444/9274/annoying.png Any idea how to solve this? Thanks. I'm designing an auxiliary site for a spirits company and it requires an age check page. I've created the page and saved it as lda.html. It functions properly but how do I insert it before the index.html without changing the url of the original index? Thanks for the help. Hi guys, I have a html template I use a lot that I have been adding/removing bits for ages. The output (when viewed in a browser) is just what I need but I think the coding behind it may have become a bit messey. Ive tried to tidy the coding up a bit but im not very good with html tables and everything falls apart. If someone could have a look and remove anything that is not needed (coding)it would be very much appricated. Code: <TABLE align=center border=2> <TR vAlign=top> <TD colSpan=2> <CENTER><BR><FONT size=2><A href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=STRK:ME:UFS" target=_blank><IMG alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/Top.BargainLogo.gif" border=0></A> <BR><BR>Purchase With Confidence. <A href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=STRK:ME:UFS"><I>VIEW FEEDBACK.</I></A> A Trusted eBay Power Seller. <A href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain"><IMG src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/aboutme-small.gif" border=0> </A><p></CENTER></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Description:</B></TD> <TD rowSpan=6><IMG height=600 alt="Picture Name" src="URL" width=300> </TD></TR> <TR vAlign=top> <TD><BR> <UL><FONT size=2>DESCRIPTION <P> <LI> <LI> <LI> <P> </P> <LI> <LI> </UL></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Postage:</B> </P></TD></TR> <TR vAlign=top> <TD><BR> <UL> <LI><FONT size=2>Please Check Table At Bottom For UK Postal Rates <LI>Fast Delivery Via An Insured/Traceable Courier <LI>Please Click <A href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain" border="0"><IMG src="http://pics.ebaystatic.com/aw/pics/uk/aboutme-small.gif" border=0></A> For Full Details.</LI></UL></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Payment Methods:</B> </P></TD></TR> <TR vAlign=top> <TD><BR> <P align=center><A href="http://www.paypal.co.uk/uk" target=_blank><IMG style="WIDTH: 253px; HEIGHT: 56px" height=52 alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/PaypalLogo.gif" width=253 border=0></A></P> <UL> <LI><FONT size=2><I>Bank Transfer. <LI>Money/Postal Orders and Cheques Accepted.<FONT color=white>.................. </FONT> <DIV></DIV></LI></UL></I></FONT></TD></TR></TABLE> <DIV></DIV></LI></UL></I></FONT></TD></TR></TABLE> Hey folks - Everywhere I've read states that if I give a series of checkboxes the same name, then upon hitting submit, I will get a comma separated list of the values. But, that just isn't working for me. I have this code : Code: <html><body> <form method="get"> <input name="input" size="30" maxlength="100" id="searchbox" value="test" /><br /> <input type="checkbox" name="referBy" value="td"/> Test driven a vehicle<br/> <input type="checkbox" name="referBy" value="dlr"/> Visited an autotmotive dealer<br/> <input type="checkbox" name="referBy" value="veh"/> Purchased/Leased a vehicle<br/> <input type="checkbox" name="referBy" value="ins"/> Purchased automobile insurance<br/> <input type="submit" value="Submit"/> </form> </body> </html> But, it results in this for the URL - ...../s_r2.htm?input=test&referBy=td&referBy=dlr Any thoughts Maybe I'm missing a step or a setting Syl I have a check box that unwantingly gets ticked when the person clicks on the terms link. How can I avoid this> Code: <div class="agreeLabel"> <label for="agree" accesskey="t">Agree with the <a href="terms.php" target="_blank">terms</a></label> <input name="agree" value="Yes" id="agree" accesskey="t" type="checkbox"> </div> how comes this is notworkign i have tried so many times when it = true why aint it checking the radio box i want please help Code: if(document.form.pay[1].checked && (E > 0 && E >= 20.00) ) { var Status = window.confirm("*You are entitled to free delivery would you like Free Delivery* \n\n Your Grand Total is = " + (E)); alert(Status) if (Status == true) { alert("User Select OK"); document.form.pay[0].value.checked = true; // if the click ok check the home deilivery box } else if (Status == false) { alert("Okay, Your Pizza is Waiting for you For collection\n\n*Please check the Contact page if you are not sure where we are based*"); document.form.totalcost.value = E; } } Hello World ! As you all experts might have guessed , truly , this is my fiest post to any web forum community in my entire life ! I was always "scared" by the web programming and always get my self out from this. But now it's for me to compulsorily work on following web technologies and platform : OS : Ubuntu Linux 10.04 Core Programming Environment : Python Development Language IDE : Eclipse and all those I found from the ubuntu repository Web Server : CherryPy Templating Language : Mako Template Scripting Language : Javascript (& jQuery - whose name I heard first time !) etc ... Now let me come to my main point ... please check the following test code which I have written : ----------------------------------------------------------------------------------------------------- <!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> <script type="text/javascript" src="../jquery.min.js"></script> <script type="text/javascript"> $(documnet).ready ( function() { //the code for the funcion goes here... } ) function hi() { alert("calling") $("form1").submit() alert("called") } function wow() { alert("the form is submitted...") } </script> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>JQuery Demo</title> </head> <body> <form id="form1" onsubmit="wow()"> <table id="tbl1"> <tr> <td> <label id="Label1">Name:</label> <input id="Text1" type="text" /> </td> </tr> <tr> <td> <label id="Label2">Password:</label> <input id="Text2" type="password" /> </td> </tr> <tr> <td> <label id="Label3">UserName:</label> <input id="Text3" type="text" /> </td> </tr> </table> <br /> <br /> <select onchange="hi()"> <option>User A</option> <option>User B</option> <option>User C</option> </select> </form> </body> </html> ----------------------------------------------------------------------------------------------------- basically, what I want to do is , to submit the form whenever I change the item from the selection list. the "hi()" functionover her works quite nice but the "wow()" function is not being called, which should be called whenever I submit the form. But if I use <input type="submit" value="proceed"/> , explicitly and press this button, the the function is getting called. so please help me . Having flash backs from a decade ago... have a check box for agreeing to rules of behavior. user must check the box prior to having the submit button active. Code: <label><input type="checkbox" name="rules" id="rules"><a href="#" onclick="javascript:window.open('http://siteaddress.com/rules_of_behavior.htm','Window1','menubar=no,address=no,width=640,height=300,toolbar=no')">I have read and agree to the Rules of Behavior</div></a> Have a basic login to a site. current submit button Code: <A id=loginActionId class=LoginButton tabIndex=3 href="javascript:void(submitLoginForm())" name=login><SPAN><INPUT id=Login value=Submit type=submit name=Login> User must click the check box before being able to submit their login id / password to get into the site. can anyone help? Sorry if this is simple, but I haven't had any luck finding out. I am writing up the code for a checklist, and wish to have a 'Check All/None' box, which when toggled, will tick/untick all boxes on the page. I am trying to keep my code as simple as possible, so am trying to avoid using Javascript for this simple action. Is there any way to keep it to html only, with a simple line? Any help much appreciated |