Jump to content

Little Goat

Members
  • Posts

    733
  • Joined

  • Last visited

Posts posted by Little Goat

  1. what are all those variables coming from?code:

    <xsl:choose><xsl:when test="name='jane'">yes</xsl:when><xsl:otherwise>no</xsl:otherwise></xsl:choose>

    that should write yes if jane is there, no if not.LG

  2. as I said in your other topic, you would need to use an image manipulation program. GIMP is one you could try out, by the looks of chocolate570's avatar he probably knows alot about GIMP.search google for GIMP or pm chocolate570.LG

  3. onmouseover is not an html tag.use it like this:<div onmouseover="action here">content</div>make sence?ok,first, you need to make a function. put this in your script tags:function makesnd(){document.writeln("<object data='myaudio.mid' type='audio/midi' width='0' height='0' autostart='true'></object>")}then in your div:<div onmouseover="makesnd()">content</div>OK?LG

  4. ok, first with your code, put it in a codebox. I don't know how to display how to do it without doing it, so look at the announcement that shows up on all the pages.second, close your options:this is right<option>blabla</option>this is wrong<option>blablalast of all,the onclick should look like this:onClick="window.location=document.navform.inchoice.value"I recomend using the onmousedown property instead of onclick. I was told that netscape doesn't support onclick very well.LG

  5. hi everyone,I was wondering if anyone knew how to make it so that your user can drag the page to scroll like in acrobat reader. :) I thought it would probably be done with javascript.if not or if it's not possible at all will someone please tell me?thanks, LG

  6. the correct way to make your css a valid external css file:

    body { font-size: 12pt; font-family: Times,Times new roman; background-color: #000000; color: #FFFFFF;    }table {      cellpadding: 0px;     }

    in other words, don't put html tags in your css.you only need to put what is inbetween the style tags and inside the comment.LG

  7. sorry I took a while to reply.about the <xsl:value-of> tag, I need the content and the template to be put into that space.I tried replacing it with an <xsl:apply-templates> tag and it shows all the content of the xml file, not just the content section. :)Here is the newest version of my XSL file.

    <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/">   <html>    <head>      <title><xsl:value-of select="page/title"/></title>      <style type="text/css">        <xsl:value-of select="page/style"/>      </style>    </head>    <body>      <table width="100%">        <tr>          <td colspan="2" id="header"><xsl:value-of select="page/title"/></td>        </tr>        <tr>   <td id="links" width="20%">            <xsl:for-each select="page/links/link">             <xsl:variable name="href" select="to"/>             <a href="{$href}"><xsl:value-of select="show"/></a><br />     </xsl:for-each>   </td>   <td id="content" width="80%">            <xsl:apply-templates/>          </td>	</tr>      </table>    </body>   </html> </xsl:template> <xsl:template match="break">   <br/>   <xsl:apply-templates/> </xsl:template></xsl:stylesheet>

    thats the one that shows all the XML content.same xml.if anyone knows how to make xsl transfer tags that are in the code, that would work, but I would prefer this.I don't know if I'm explaining it well, so if you can't figure out what I mean, please try it.thanks, LG

×
×
  • Create New...