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-serv28534
Modified Files:
faq.css faq.xml faq.xsl
Log Message:
Index: faq.css
===================================================================
RCS file: /cvsroot/dqsd/dqsdweb/faq.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** faq.css 14 Aug 2002 22:19:29 -0000 1.1
--- faq.css 15 Aug 2002 07:15:00 -0000 1.2
***************
*** 4,7 ****
--- 4,15 ----
}
+ A, A:Visited {
+ color: #0000ff;
+ }
+
+ A:Visited:hover {
+ background: #EEEEEE;
+ }
+
.category {
font-weight: bold;
***************
*** 12,29 ****
.question {
- font-weight: bold;
margin-left: 2em;
margin-top: 0.2em;
}
.answer {
font-weight: normal;
! /* text-indent : 5em; */
! margin-left: 3em;
}
! .toggle {
width: 1em;
text-align: center;
text-decoration: none;
! }
\ No newline at end of file
--- 20,38 ----
.question {
margin-left: 2em;
margin-top: 0.2em;
+ cursor: hand;
}
.answer {
font-weight: normal;
! margin-left: 5em;
! margin-bottom: 1em;
! color: #cc3300;
}
! A:Visited.toggle {
width: 1em;
text-align: center;
text-decoration: none;
! }
Index: faq.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsdweb/faq.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** faq.xml 15 Aug 2002 03:53:03 -0000 1.2
--- faq.xml 15 Aug 2002 07:15:00 -0000 1.3
***************
*** 14,19 ****
<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>
--- 14,64 ----
<faq>
<question>Where can I get the latest version of DQSD?</question>
! <answer>You can the latest released version at <link
href="http://www.dqsd.net">http://www.dqsd.net</link>
! and the latest beta version at <link
href="http://sourceforge.net/projects/dqsd">http://sourceforge.net/projects/dqsd</link>.</answer>
! </faq>
! <faq>
! <question>I've made some preference or style setting changes. How do I apply
them?</question>
! <answer>You can reload the DQSD toolbar by typing ! in the search window and
pressing the ENTER key.</answer>
! </faq>
! <faq>
! <question>I use Windows XP. When I open DQSD I only see the word "Search" on
my taskbar. Why?</question>
! <answer>XP has a "lock taskbar" feature set by default. Right click on your
taskbar and uncheck Lock taskbar. Then you can drag DQSD all you need and you can
disable showing the name (search), etc... When you get it like you want it, you can
lock the taskbar again.</answer>
! </faq>
! <faq>
! <question>What are the key bindings used by DQSD?</question>
! <answer>
! <ul>
! <li>
! Ctrl-Enter - Adds www. prefix and/or .com suffix to string if necessary and
! launches URL. Like IE key-binding (only better since the prefix/suffix are
only
! add if needed).
! </li>
! <li>
! Shift-Enter - Always opens a new window for the search regardless of the
! reuseWindowMode setting. This works only when IE is the default browser.
! </li>
! <li>
! Ctrl-B / F8 - Search the search history for the current text. (user
! configurable in localprefs.js)
! </li>
! <li>
! Shift-Ctrl-B / Shift-F8 - Search forward through the history for the
current text.
! (user configurable in localprefs.js)
! </li>
! <li>
! Win-S - Make the search bar active (i.e., make it have the current focus).
! (user configurable in localprefs.js)
! </li>
! <li>
! F1 - Display menu.
! </li>
! <li>
! Ctrl-P / Up - Display previous search in history.
! </li>
! <li>
! Ctrl-N / Down - Display next search in history.
! </li>
! </ul>
! </answer>
</faq>
</category>
Index: faq.xsl
===================================================================
RCS file: /cvsroot/dqsd/dqsdweb/faq.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** faq.xsl 15 Aug 2002 03:53:03 -0000 1.2
--- faq.xsl 15 Aug 2002 07:15:00 -0000 1.3
***************
*** 11,16 ****
function toggleVisible()
{
! var answer = event.srcElement.parentElement.parentElement.all['answer'];
! var toggle = event.srcElement.parentElement.all['toggle'];
if ( answer )
{
--- 11,27 ----
function toggleVisible()
{
! if ( !document.all )
! return false;
!
! if ( event.srcElement.tagName == 'DIV' )
! {
! var answer = event.srcElement.parentElement.children['answer'];
! var toggle = event.srcElement.children['toggle'];
! }
! else if ( event.srcElement.id == 'toggle' )
! {
! var answer =
event.srcElement.parentElement.parentElement.all['answer'];
! var toggle = event.srcElement;
! }
if ( answer )
{
***************
*** 18,21 ****
--- 29,33 ----
toggle.innerText = ( answer.style.display == "none" ? "+" : "-" );
}
+ return false;
}
</xsl:comment>
***************
*** 31,41 ****
<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>
--- 43,53 ----
<xsl:for-each select="faq">
<div class="faq">
! <div class="question" onclick="return toggleVisible();">
! <a href="#" class="toggle" id="toggle">+</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:apply-templates select="answer"/>
</div>
</div>
***************
*** 46,48 ****
--- 58,63 ----
</xsl:template>
+ <xsl:template match="link">
+ <a href="{@href}"><xsl:value-of select="."/></a>
+ </xsl:template>
</xsl:stylesheet>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/