[C++ Toolkit ANNOUNCE] CHTMLPopupMenu:: class to define popup menu (JavaScript based)

Denis Vakatov vakatov at ncbi.nlm.nih.gov
Mon Jul 23 18:02:16 EDT 2001


Hi,

Vladimir Ivanov has implemented class CHTMLPopupMenu to define
JavaScript-based popup menus in our C++ HTML framework
(the "xhtml" C++ library).

class CHTMLPopupMenu::
		  http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/include/html/jsmenu.hpp#L83


ONLINE MANUAL:  http://intranet.ncbi/ieb/WWW/JScripts/menu.html
		  

CODE EXAMPLE:
		  http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/ident?i=s_TEST_JSMenu
		  (it's now moved to "src/html/test/test_jsmenu.cpp")

NOTE:  In order to use the menus, you must(!) explicitly bind
       <head>(class CHTML_head::) and <body>(class CHTML_body::) to
       your HTML page (class CHTML_html::) using CHTML_html::InitPopupMenus().

BUILD:
		  cd ~/tmp
		  $NCBI/c++/scripts/import_project.sh html/test
		  cd ~/tmp/internal/c++/src/html/test
		  make -f Makefile.test_jsmenu_app

RUN and LOOK:
		  test_jsmenu > test_jsmenu.html
		  netscape test_jsmenu.html


Regards,
Denis






More information about the cpp-announce mailing list