View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsdweb
In directory usw-pr-cvs1:/tmp/cvs-serv31790
Modified Files:
faq.xml faq.xsl
Log Message:
Add numbering to categories and questions
Index: faq.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsdweb/faq.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** faq.xml 14 Aug 2002 22:19:29 -0000 1.1
--- faq.xml 15 Aug 2002 03:53:03 -0000 1.2
***************
*** 3,23 ****
<faqs>
! <category name="General">
! <faq>
! <question>Can I assign a hotkey to it so I don't need to mouse
to it?</question>
! <answer>This feature was added in version 3.0.</answer>
! </faq>
! <faq>
! <question>Why doesn't the DEL or the ctrl-insert key
work?</question>
! <answer>This feature was added in version 3.0.</answer>
! </faq>
! </category>
! <category name="Installation">
! <faq>
! <question>I've installed it, but I want to uninstall it, and I
can't figure out how! Help!</question>
! <answer>Right-click on the shoe to the left and choose 'Close
Toolbar'. Then find the uninstaller under the control panel. Some people find the
control panel entry, but they don't know they need to close DQSD before uninstalling.
</answer>
! </faq>
! </category>
</faqs>
--- 3,28 ----
<faqs>
! <category name="General">
! <faq>
! <question>Can I assign a hotkey to it so I don't need to mouse to
it?</question>
! <answer>This feature was added in version 3.0.</answer>
! </faq>
! <faq>
! <question>Why doesn't the DEL or the ctrl-insert key work?</question>
! <answer>This feature was added in version 3.0.</answer>
! </faq>
! <faq>
! <question>Where can I get the latest version of DQSD?</question>
! <answer>You can the latest released version at <a
href="http://www.dqsd.net">http://www.dqsd.net</a>
! and the latest beta version at <a
href="http://sourceforge.net/projects/dqsd">http://sourceforge.net/projects/dqsd</a>.</answer>
! </faq>
! </category>
! <category name="Installation">
! <faq>
! <question>I've installed it, but I want to uninstall it, and I can't figure
out how! Help!</question>
! <answer>Right-click on the shoe to the left and choose 'Close Toolbar'. Then
find the uninstaller under the control panel. Some people find the control panel
entry, but they don't know they need to close DQSD before uninstalling. </answer>
! </faq>
! </category>
</faqs>
Index: faq.xsl
===================================================================
RCS file: /cvsroot/dqsd/dqsdweb/faq.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** faq.xsl 14 Aug 2002 22:19:29 -0000 1.1
--- faq.xsl 15 Aug 2002 03:53:03 -0000 1.2
***************
*** 1,48 ****
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
! <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
! <xsl:template match="/">
! <HTML>
! <HEAD>
! <TITLE>Dave's Quick Search DeskBar FAQ</TITLE>
! <LINK REL="stylesheet" TYPE="text/css" HREF="faq.css"
/>
! <script>
! <xsl:comment>
! function toggleVisible()
! {
! var answer =
event.srcElement.parentElement.parentElement.all['answer'];
! var toggle =
event.srcElement.parentElement.all['toggle'];
! if ( answer )
! {
! answer.style.display = (
answer.style.display == "none" ? "block" : "none" );
! toggle.innerText = (
answer.style.display == "none" ? "+" : "-" );
! }
! }
! </xsl:comment>
! </script>
! </HEAD>
! <BODY>
! <xsl:apply-templates select="/faqs/category"/>
! </BODY>
! </HTML>
! </xsl:template>
!
! <xsl:template match="category">
! <div class="category">
! <xsl:value-of select="@name"/>
! </div>
! <xsl:apply-templates select="faq"/>
! </xsl:template>
!
! <xsl:template match="faq">
! <div class="faq">
! <div class="question">
! <a href="#" class="toggle" id="toggle"
onclick="toggleVisible();">+</a><xsl:value-of select="question"/>
! </div>
! <div id="answer" class="answer" style="display: none">
! <xsl:value-of select="answer"/>
! </div>
! </div>
! </xsl:template>
</xsl:stylesheet>
--- 1,48 ----
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
! <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
! <xsl:template match="/">
! <HTML>
! <HEAD>
! <TITLE>Dave's Quick Search DeskBar FAQ</TITLE>
! <LINK REL="stylesheet" TYPE="text/css" HREF="faq.css" />
! <SCRIPT>
! <xsl:comment>
! function toggleVisible()
! {
! var answer = event.srcElement.parentElement.parentElement.all['answer'];
! var toggle = event.srcElement.parentElement.all['toggle'];
! if ( answer )
! {
! answer.style.display = ( answer.style.display == "none" ? "block" :
"none" );
! toggle.innerText = ( answer.style.display == "none" ? "+" : "-" );
! }
! }
! </xsl:comment>
! </SCRIPT>
! </HEAD>
! <BODY>
! <xsl:for-each select="/faqs/category">
! <div class="category">
! <xsl:variable name="category_num" select="position()"/>
! <xsl:number value="$category_num" format="1." /> 
! <xsl:value-of select="@name"/>
! </div>
! <xsl:for-each select="faq">
! <div class="faq">
! <div class="question">
! <a href="#" class="toggle" id="toggle" onclick="toggleVisible();">+</a>
! <xsl:number value="$category_num" format="1" />
! <xsl:number value="position()" format=".1" /> <xsl:value-of
select="question"/>
! </div>
! <div id="answer" class="answer" style="display: none">
! <xsl:value-of select="answer"/>
! </div>
! </div>
! </xsl:for-each>
! </xsl:for-each>
! </BODY>
! </HTML>
! </xsl:template>
</xsl:stylesheet>
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/