Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 2766 points

Chris C

Favorite Answers22%
Answers119
  • Errors in IE with Javascript?

    I have a page that uses some javascript. It works fine in Chrome, but not in IE. Can someone help me fix it?

    This is the link to the page.

    http://dani-sheena.com/pu-prom.aspx

    I have not tested it in anything but IE8 and Chrome.

    The Javascript is:

    <script type="text/javascript">

    var p1 = "url(Poly_USA/Medium/";

    var p3 = ".jpg)";

    function div2mouseover($id){

    var p2 = document.getElementById($id).id;

    var urlLink = p1 + p2 + p3;

    document.getElementById("labeltext").innerText = p2;

    document.getElementById("mpic").style.backgroundImage= urlLink;

    }

    function div2mouseout(){

    document.getElementById("labeltext").innerText = "";

    document.getElementById("mpic").style.backgroundImage= "";

    }

    </script>

    Thank you.

    3 AnswersProgramming & Design1 decade ago
  • How do I do this in XML or XSL?

    ***XML***

    <?xml version="1.0" encoding="utf-8"?>

    <workexperience>

    <job>

    <company>Company</company>

    <title>Job Title</title>

    <address>Address</address>

    <description>

    <line>line1</line>

    <line>line2</line>

    <line>line3</line>

    </description>

    </job>

    <job>

    <company>Company2</company>

    <title>Job Title2</title>

    <address>Address2</address>

    <description>

    <line>line1</line>

    <line>line2</line>

    <line>line3</line>

    </description>

    </job>

    </workexperience>

    ***XSL***

    <?xml version="1.0" encoding="utf-8"?>

    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform%22%3E

    <xsl:template match="/">

    <html>

    <body>

    <xsl:for-each select="workexperience/job">

    <table align="center" width="400px">

    <tr>

    <td width="250px">

    <xsl:value-of select="company"/>

    </td>

    <td>

    <xsl:value-of select="address"/><br />

    <xsl:value-of select="title"/>

    </td>

    </tr>

    </table>

    <table align="center" width="400px">

    <tr>

    <td>

    <xsl:value-of select="description/line"/>

    </td>

    </tr>

    </table>

    </xsl:for-each>

    </body>

    </html>

    </xsl:template>

    </xsl:stylesheet>

    My problem is that only the first line in the description shows up. How do I get all the lines to show up?

    I have been using this website to paste my XML and XSL files to see how they look.

    http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=c...

    1 AnswerProgramming & Design1 decade ago
  • How do you cite a program in APA format?

    I am writing a paper that must be in APA format. I am using a few programs that I need to cite and reference. Can someone show me how to do this?

    Perhaps even show me an example like with Microsoft Word 2007 or something.

    Thank you.

    1 AnswerOther - Education1 decade ago
  • VB.NET checking if focus is true or not for textboxes?

    I am new to programming. I am using vb.net. I am trying to make a program that will enable me to input values from on screen buttons in a textbox. I can do this for one textbox and it works fine, but then when I click on a second textbox to enter values it just adds more values to the first textbox. Is there a way to say "if focus is on textbox2 then input to textbox2"? I have tried looking this up. It seems the closest I got was to use something like:

    If Input1.Text = Focused Then

    Cursor = Input1.SelectionStart()

    Input1.Text = Input1.Text.Insert(Cursor, Number)

    Input1.SelectionStart = (Cursor + 1)

    ElseIf....

    **This continues for all the inputs.

    I have Input1 as the name for the textbox1

    Cursor As Integer

    Number As String (when I hit the "3" button Number = 3)

    When I do it this way I get an error with "If Input1.Text = Focused Then" because "Conversion from string "" to type 'Boolean' is not valid."

    Can anyone explain this to me? Or show me how to do it right?

    1 AnswerProgramming & Design1 decade ago
  • Is becoming an officer in the US Army worth it?

    I have 2 bach. degrees and a Master's degree. I am thinking about serving 4 years in the Army as an officer, mostly to pay back student loans and get leadership experience.

    Do you think it is worth it? What are some things I should prepare myself for?

    6 AnswersMilitary1 decade ago
  • Navy or Marines Officer??

    I will finish my M.S. degree in Industrial Management up this summer. I have a B.A. in Philosophy and a B.S. in Industrial Technology.

    Once I graduate I would like to join the military, but I do not know really what branch would be best. I have been to all the formal websites and looked around, but I am still lost.

    I know the Marines require a high physical fitness level. What about the other branches? What are the physical requirements for the Navy?

    Are jobs better in the Navy? Would I get more of a choice? Does the Navy have good general training like the Marines?

    Also, what should I ask a recruiter when I talk to one? I have talked to a Marine recruiter a few times, but I want to see what the Navy can offer me and compare.

    I am not in that great of physical shape either. I weigh about 150 and am 5'10", but my strength and stamina could really use improvements. I can currently do 3 pullups, 40 crunches, and run 3 miles in 40 minutes.

    5 AnswersMilitary1 decade ago