Recent Questions
Q: I need a navigation bar dhtml where on the click of certain items, server side code on the page can be called and executed.
I need to create a multiple item select menu. Sothe menu would need to remain open and allow a user to selectmultiple items and would either submit onmouseout or maybe a “submitthese selections” menu item.
A: You can try to use Deluxe Tree in that case:
http://deluxe-tree.com
You can paste any html code inside item text, see example here:
http://deluxe-tree.com/data-samples/tree-menu1.js
["+Support", "", "icon5_t.gif", "icon5_to.gif", "", "Support Tip"],
["|Index <select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'><option>Section 1<option>Section 2<option>Section 3</select>", "", "", "", "", "","", "0"],
["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'> <input type=button value='Go'style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
["|Write Us", "mailto:[email protected]", ""],
["|<INPUT TYPE=checkbox CHECKED ID=chk1 onclick='choosebox1()'>Uncheck this check box for some free advice","","","",],
["<img src='img/sep.gif' width=113 height=1>"],
You should also add your own code, so your checkbox will workcorrectly.Q: I have used one of your products in the past, but bare with me as I am not a programmer. It was a Basic Horizontal Menu that I used mostly the defaults with.
I have a New website that needs to have more than one MENU....
1 - Header = (Horizontal) Drop down Menu
2 - Right Side Bar = (Vertical) MAIN Menu with sub-menus
3 - Lower Side Bar = (Vertical) Menu #2 with sub-menu
4 - Footer Menu = (Horizontal) Pop-up Menu?
I am not sure how this all would be accomplished on one page.
I have tried reading the INFO on the site but I get lost in all the data.
Could you explain a little better please?
A: You can add as many menus as you want on the one page.
You should call
<SCRIPT type=text/javascript> var dmWorkPath = "data.files/";</SCRIPT>
<SCRIPT src="data.files/dmenu.js" type=text/javascript></SCRIPT>
and then call your data files:
<SCRIPT src="data.files/data1.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data2.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data3.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data4.js" type=text/javascript></SCRIPT>
Q: How to work with menus and submenus in JSP?
This e-mail message is only to be used by intended recipients and all others may kindly delete it and notify the sender. Unless expressly authorized by HPCL, the views expressed and the message itself is that of the individual sender and recipients are cautioned to check messages/ attachments for any viruses before use. Users acknowledge that messages may contain confidential, proprietary or privileged information and that HPCL neither assures nor guarantees integrity or content of messages.
A: Deluxe Menu is the Javascript product. It means that it works on aclient side only and it doesn't depend on the server which you'reusing and it doesn't work on a server side as JSP script.
So, you can create the menu using standard html page and them movemenu code within .jsp page.
Q: I've tried to add the pathPrefix_img as suggested and I'm still having trouble with images.
Can you provide anymore feedback on what I'm doing wrong?
A: Now you have such paths:
var pathPrefix_img="http://www.domain-name.com/images/";
and
var arrowImageMain=["CFTopMenu.files/arrv_white_1.gif",""];
So, the full path we'll be:
http://www.domain-name.com/images/CFTopMenu.files/arrv_white_1.gif
Is it right?
I've tried to download your image from this link. There is no such image.
If you want to put all your images into the "images" folder you should write so:
var pathPrefix_img="http://www.domain-name.com/images/";
and
var arrowImageMain=["arrv_white_1.gif",""];
Please, check that you upload all your images on the server in the right places.