View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Update of /cvsroot/dqsd/dqsd
In directory sc8-pr-cvs1:/tmp/cvs-serv13077

Modified Files:
        ChangeLog.txt search.htm 
Log Message:
added another search (aspfaq) and updated search.htm to include the icon/logo code - 
updated changelog

Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/ChangeLog.txt,v
retrieving revision 1.247
retrieving revision 1.248
diff -C2 -d -r1.247 -r1.248
*** ChangeLog.txt       14 Sep 2003 08:07:58 -0000      1.247
--- ChangeLog.txt       17 Sep 2003 07:20:12 -0000      1.248
***************
*** 8,11 ****
--- 8,12 ----
  * Added explicit statement to store query in the windows autocomplete cache 
(MSKB:Q329156) (Shawn K. Hall)
  * Added startup commands (Neel Doshi)
+ * Added ability to display graphic icon/logo in search bar (Shawn K. Hall)
  
  Bug Fixes
***************
*** 39,42 ****
--- 40,44 ----
  * whitl - Searches WhittleBit, a user-rateable search engine (Tom Corcoran)
  * nwtsr - Displays operating system and web server for host (David Resnick)
+ * aspfaq - Search the Active Server Pages FAQ (Shawn K. Hall)
  
  Modified Searches

Index: search.htm
===================================================================
RCS file: /cvsroot/dqsd/dqsd/search.htm,v
retrieving revision 1.176
retrieving revision 1.177
diff -C2 -d -r1.176 -r1.177
*** search.htm  13 Sep 2003 08:30:37 -0000      1.176
--- search.htm  17 Sep 2003 07:20:13 -0000      1.177
***************
*** 738,741 ****
--- 738,757 ----
        <script type='text/jscript'>
          <!--
+         if (typeof bannerurl      == "undefined") { bannerurl    = ""; }
+         if (bannerurl != "") {
+           if (typeof bannerheight == "undefined") { bannerheight = "-1"; }
+           if (typeof bannerwidth  == "undefined") { bannerwidth  = "-1"; }
+           document.write(
+             '<img src=\"'
+             + bannerurl + '\" '
+             + (bannerheight != "-1" ? 'height=\"' + bannerheight + '\"' : '')
+             + (bannerwidth  != "-1" ? 'width=\"'  + bannerwidth  + '\"' : '')
+             + 'id=\"banner\" />'
+             + '<nobr>');
+         }
+         -->
+       </script>
+       <script type='text/jscript'>
+         <!--
          document.write(
            (multiline ? '<textarea ' : '<input ')
***************
*** 809,812 ****
--- 825,841 ----
  function handleResize()
  {
+   if (typeof bannerurl    == "undefined") { bannerurl    = ""; }
+   if (bannerurl == "") {
+       bannerwidth  = "-1";
+       bannerheight = "-1";
+   } else {
+     if (typeof bannerheight == "undefined") { bannerheight = "-1"; }
+     if (bannerwidth == 0) // 0 := autodetect
+         bannerwidth = document.deff.banner.width;
+     if (typeof bannerwidth  == "undefined") { bannerwidth  = "-1"; }
+     if (bannerheight == 0) // 0 := autodetect
+         bannerheight = document.deff.banner.height;
+   }
+ 
    if (typeof gowidth == "undefined") { gowidth = -1; }
    if (gowidth < 0)
***************
*** 838,842 ****
    }
  
!   var targetwidth = document.body.clientWidth - gowidth;
  
    if(dopopup)
--- 867,871 ----
    }
  
!   var targetwidth = document.body.clientWidth - gowidth - bannerwidth;
  
    if(dopopup)
***************
*** 847,857 ****
        if (buttonalign == "left")
        {
!         document.deff.q.style.left         = gowidth;
!         document.deff.gobutton.style.left  = 0;
        }
        else
        {
!         document.deff.q.style.left         = 0;
!         document.deff.gobutton.style.left  = targetwidth;
        }
        document.deff.gobutton.style.top     = 0;
--- 876,902 ----
        if (buttonalign == "left")
        {
!         if (bannerwidth != -1)
!         {
!           document.deff.q.style.left         = gowidth + bannerwidth + 2;
!           document.deff.gobutton.style.left  = 0 + bannerwidth + 2;
!         }
!         else
!         {
!           document.deff.q.style.left         = gowidth;
!           document.deff.gobutton.style.left  = 0;
!         }
        }
        else
        {
!         if (bannerwidth != -1)
!         {
!           document.deff.q.style.left         = 0 + bannerwidth + 2;
!           document.deff.gobutton.style.left  = targetwidth + bannerwidth + 2;
!         }
!         else
!         {
!           document.deff.q.style.left         = 0;
!           document.deff.gobutton.style.left  = targetwidth;
!         }
        }
        document.deff.gobutton.style.top     = 0;
***************
*** 860,866 ****
      else
      {
!       document.deff.gobutton.style.display = "none";
!       document.deff.q.style.left           = 0;
!       targetwidth                          = document.body.clientWidth;
      }
    }
--- 905,920 ----
      else
      {
!       if (bannerwidth != -1)
!       {
!         document.deff.gobutton.style.display = "none";
!         document.deff.q.style.left           = 0 + bannerwidth + 2;
!         targetwidth                          = document.body.clientWidth - 
bannerwidth + 2;
!       }
!       else
!       {
!         document.deff.gobutton.style.display = "none";
!         document.deff.q.style.left           = 0;
!         targetwidth                          = document.body.clientWidth;
!       }
      }
    }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Reply via email to