Bloodeye
Apr 2nd, 2001, 03:41 PM
One day while surfing I found this web-page:
http://www.dhtmlshock.com/site-navigation/SlidingMenuWithGen/default.asp
Like everyone else who has seen a "sliding" or "pull-out" menu before I wasn't too impressed. Then I thought to myself: I wonder if I could incorporate this menu into an Active Desktop....maybe put some links to favorite web-sites, and some links to programs or documents.
BTW: The above site has an on-line menu generator...
So I started tinkering around, and to make a long story shorter....I got it to work somewhat. I can get it to launch IE and navigate to the URL of the link, but I'm not sure what the format is to start a program. Here's the code:
startMenu("Links", "MYSTUFF")
addItem("VBForums", "http://www.vbforums.com", "about:blank");
addItem("PlanetSourceCode", "http://www.planetsourcecode.com", "about:blank");
addItem("VBInternetProg", "http://www.vbip.com/forum/", "about:blank");
addHdr("Programs");
addItem("FlashFXP", "file://C:\Program Files\FlashFXP\flashfxp.exe", "");
addItem("WinRAR", "file:///C:/Program Files/WinRAR/WinRAR.exe", "");
endMenu()
addItem format is:
addItem("Name of link in menu", "link or URL", "Target Frame")
Is there a way of having it start a program, my two attempts above didn't work? Maybe I need some more code to get it to work....I have no idea. Second question is the web-page links work...I even added about:blank to have it start a new instance, but is there a way to have it start a new instance and have that instance maximized?
http://www.dhtmlshock.com/site-navigation/SlidingMenuWithGen/default.asp
Like everyone else who has seen a "sliding" or "pull-out" menu before I wasn't too impressed. Then I thought to myself: I wonder if I could incorporate this menu into an Active Desktop....maybe put some links to favorite web-sites, and some links to programs or documents.
BTW: The above site has an on-line menu generator...
So I started tinkering around, and to make a long story shorter....I got it to work somewhat. I can get it to launch IE and navigate to the URL of the link, but I'm not sure what the format is to start a program. Here's the code:
startMenu("Links", "MYSTUFF")
addItem("VBForums", "http://www.vbforums.com", "about:blank");
addItem("PlanetSourceCode", "http://www.planetsourcecode.com", "about:blank");
addItem("VBInternetProg", "http://www.vbip.com/forum/", "about:blank");
addHdr("Programs");
addItem("FlashFXP", "file://C:\Program Files\FlashFXP\flashfxp.exe", "");
addItem("WinRAR", "file:///C:/Program Files/WinRAR/WinRAR.exe", "");
endMenu()
addItem format is:
addItem("Name of link in menu", "link or URL", "Target Frame")
Is there a way of having it start a program, my two attempts above didn't work? Maybe I need some more code to get it to work....I have no idea. Second question is the web-page links work...I even added about:blank to have it start a new instance, but is there a way to have it start a new instance and have that instance maximized?