[Solved ] Help With JScript Pop-up Menu - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: [Solved ] Help With JScript Pop-up Menu (/showthread.php?tid=83174) [Solved ] Help With JScript Pop-up Menu by Aardvark on 04-15-2008 at 05:27 AM
I'm currently trying to make a website (http://stuffhelp.xlvo.info, which is down atm due to server issues) and I'm having a bit of trouble with adding in some pop-up menus I got from a template. code:to code:in the transmenu.js file mentioned above. What I want to do is make it so that the location of the initial parent pop-up menu (e.g. in the Windows Family tree with the words Windows Vista; Windows XP etc) at the location it is set to in the second screenshot. All subsequent child menus should be at the same distance shown in the first screenshot (as apposed to 94 pixels away from the parent menu as shown in the second screenshot). To do this I've tried defining some new variables, "u" and "w" (trying to mimic what I've shown in the code above) and trying to define their locations (while at the same time trying to specify they are the child menus properties while x and y are the parent menus properties) however this hasn't had much success, so I'm guessing some smarter more complex coding will need to be done to achieve what I'm trying to do. The files used in the first screenshot have been included in the stuffhelp folder, with the files I modified to achieve the second screenshot in the copy of stuffhelp folder (both of which being inside the Stufhelp.zip file attached). I'm hoping someone with a bit of JScript expertise will be able to help me out on this, as I'm currently at a standstill with development until I get the initial template for the website complete - that of course including these pop-up menus. EDIT: By some miracle I got an idea which might just work...and it worked! Just had to change a variable in the html code. |