26 Posted Topics
Re: Start with this and change as needed: <!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" xml:lang="en-US" lang="en-US"> <head> <title>Mike</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Language" content="en-US" /> <meta name="Author" content="James Alarie - jalarie@umich.edu" /> <meta name="description" content="Page for Mike." … | |
Re: I used a=unescape('Lookups?$filter=VehicleId%20eq%20%272415%27&'); alert(a); and got back > Lookups?$filter=VehicleId eq '2415'& Do you need more? | |
Re: InDate='20/10/2014'; // Example Items=InDate.split('\/'); Months=new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); OutDate=Items[0]+'-'+Months[Items[1]-1]+'-'+Items[2]; | |
Re: window.opener.document.forms['stopForm'].action | |
Re: Point the link to a .bat file and run the program from there. You'll still get the pop-up asking the user's permition (this is a security issue) before it executes. Some browsers don't allow it; Opera does. | |
Re: <div class="footer"> <span style="float:left;">MyWebsite</span> <!--This should be left aligned--> <!--Things below should be right aligned--> <span style="float:right;"> <a href="">Contact Me</a> <a href="">Help</a> </span> </div> | |
Re: If you don't mind using a LOT of code to do it easily and in every browser, go here: http://spruce.flint.umich.edu/~jalarie/jaa_kcm.htm | |
Re: [QUOTE=;][/QUOTE] If the second picture is in the same area as the first: <a href="%271%27%20brand%20images/images/SHOT_10_0069.jpg">Picture 2</a> If it's in some other area: <a href="http://server/%271%27%20brand%20images/images/SHOT_10_0069.jpg">Picture 2</a> | |
Re: Yes, that is what is meant. You could change "<td>The XMLator</td>" to "<th>The XMLator</th>" and then use CSS to change the color of all "th" items, for instance. | |
Re: 1. Pick a forum. 2. Read the next question. 3. Think about it for a bit. 4. Read any existing answers. 5. Add your own opinion if appropriate. 6. Repeat from step 1 or 2, your choice. When you find that you are the one now giving answers, you've learned … | |
Re: Change your table 'border=0' to 'border=1' so that you can see what's going on. Add units to all of your height attributes instead of letting the browser decide for you. Fix the following problems: [code] line 22 column 1 - Warning: <table> attribute "height" lacks value line 22 column 1 … | |
Re: 1. The ID value can not start with a number. 2. The id MUST BE UNIQUE within the HTML document. | |
Re: There are many ways to do it, most involving images. Try a Google search for "round corners" and you'll get quite a list. To do it without images, visit: [code] http://spruce.flint.umich.edu/~jalarie/jaa_kcm.htm [/code] | |
Re: [code] <p id="test">This is a test using the <p> tag</p> [/code] | |
Re: I think you're looking for something like: [code] <area shape="default" href="???"> [/code] | |
Re: Hopefully, the following will give you an idea of the possibilities. The only major change that I made, other than breaking it into multiple lines for easier editing, was to add backslashes (\) ahead of embedded quotes on line 11. [code] var msgBrackenRidge = ''; msgBrackenRidge += '<b>Eco-Friendly Residence</b>'; msgBrackenRidge … | |
Re: The pound sign (#) denotes a reference to an id, and the period (.) refers to a class: [code] #footer { background-color: lime; } .indent { margin: 0px 20px 0px 20px; } <div id="footer">...</div> <div class="indent">...</div> [/code] | |
Re: Perhaps this will give you a place to start. Notice the "States" array beginning about line 20; each major group (country, in this case) has an equals (=) sign followed by the code for that group. Within each group are multiple lines each having a code (state, whatever) followed by … | |
As far as I can see, the following should work even on Netscape 4, but it doesn't. Can anyone tell me what I'm doing wrong? [code] <style> @media screen { .NotOnScreen { display: none; } } </style> On screen <span class="NotOnScreen">Not seen</span> More on screen [/code] | |
Re: Put your script within a function and then use "setTimeout" to run the function: [code] TimeOut1=setTimeout("YourFunction()",4000); [/code] | |
Re: Local links would start with something like "file:///c:/" or another letter if it's not your "c" drive. | |
Re: In Javascript, you use "history.go(-1)" to go back one page. I haven't seen the "History -1" that you requested. | |
Re: Try this: [code] DLM=new Date(document.lastModified); DLM_Y=DLM.getYear(); DLM_M=DLM.getMonth(); // Jan-Dec = 0-11 DLM_D=DLM.getDate(); if (DLM_Y < 70) { DLM_Y=DLM_Y*1+2000; } if (DLM_Y < 1000) { DLM_Y=DLM_Y*1+1900; } DLM_M=DLM_M*1+1; // Jan-Dec = 1-12 if (DLM_M*1 < 10) { DLM_M='0'+DLM_M; } // leading zero if (DLM_D*1 < 10) { DLM_D='0'+DLM_D; } Out=DLM_M+'-'+DLM_D+'-'+DLM_Y; document.write(Out); … | |
Re: [QUOTE=cancer10] I want to display the text "SHOUVIK" (without quotes) on the second textbox as soon as I click on the first textbox [/QUOTE] Make sure that both textboxes have "name" (for older browsers) and "id" attributes. Add the following to the first textbox: [code] onfocus="document.forms[0].second_box_name.value='SHOUVIK';" [/code] | |
Re: [QUOTE=alpha_foobar]And put some code like this in the header of your html: [CODE] <link rel="shortcut icon" href="icon.ico" type="image/x-icon"/> [/CODE][/QUOTE] That's an IE hack. The standard is: [code]<link rel="icon" href="favicon.ico" />[/code] | |
Re: How about: [code] <input type="button' value=" short "> <input type="button' value="lllooonnnggg"> [/code] |
The End.