Jump to content

Little Goat

Members
  • Posts

    733
  • Joined

  • Last visited

Posts posted by Little Goat

  1. Also, on other forums when you make a post the website remembers what topics you have contributed to by marking them with a star or something, i find that handy because when you visit the site the next day you can quickly see what you've been involved with instead of searching for ages. A visual aid if you like :)

    it does. ther is a little wwhite thing on the blue folders when you have posted there.LG
  2. no, actually I meant that instead of selecting files, the user could select folders. I don't want to upload them, I just need the filename. on another forum they told me it couldn't be done, so if no one answers, I'll assume it can't be done.LG

  3. thanks, but that only does one, Right?I need all of the TDs to be set to that.do I need to use a while loop?LGEidt:this still doesn't work. :) I tried just as you said, and this:

    document.getElementsByTagName('td')[0].onclick = lol();function lol(){this.innerHTML = prompt('please enter a value')}

  4. yea that is what I thought, but my main problem is setting the onmousedown or onclick of all the <td> tags.ok, so say I had this:

    function changeval(obj){obj.innerHTML = prompt('please enter a number');}

    then all I need is to set all <td> tags' onmousedown to changeval(this)can anyone help plez?thnx, LG

  5. hi,I have a problem with this code:

    <script type="text/javascript">document.getElementByTagName('td').onclick = new Function("this.innerHTML = prompt('please enter a value')");</script>

    I have no Idea how to use the "new Function()" thing, so I could be completely wrong.can anyone tell me what the problem is?thnx, LG(so much for mastering javascript. (see sig))

  6. <?xml version="1.0"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl"><xsl:template match="/"><html><head></head><body>	<xsl:apply-templates select="sml:grid"/></body></html></xsl:template><xsl:template match="sml:grid"><table border="2"><xsl:for-each select="sml:row">	<tr> 	<xsl:for-each select="sml:largesquare">		<td>  <table border="3">  <xsl:for-each select="sml:smallrow">    <tr>   <xsl:for-each select="sml:smallsquare">         	 <td class="sml:smallsquare1"> .<xsl:value-of select="sml:smallsquare"/> </td>       	 </xsl:for-each>    </tr>     	      </xsl:for-each>    </table>	</td>	</xsl:for-each>	</tr>	</xsl:for-each></tr>	</table><!--End of large 2 coloumn--></xsl:template></xsl:stylesheet>

    that should fix it, sorry about the indentation, that kinda got messed up :) LG

×
×
  • Create New...