Recent Questions Html Tree Menu With Databse ConnectivityQ:
Your service is excellent and I am making progress learning the program. I was able to resolve the transparency issue thanks to your help but, but now I have another one that is stumping me.
I can get the menu to show up in my html document and it works as I hoped it would. However, no matter where I put the line of code in my html file, the down menu in dhtml always shows up at the very top of the page. The instructions indicate the following:
Copy the following code into clipboard and paste it into the place you want to have the down menu in dhtml:
For example, into a table cell:
No matter where I put the code:
What am I missing? A: Check that you're using relative position for the down menu in dhtml:
Is there a way to specify certian font styles escpecailly a hanging indent on the text of the navigation menubar?A: You should use Individual styles, for example:
var itemStyles = [
["fontStyle=bold 12px Arial,Helvetica", "fontDecoration=none,underline"], // style 0
["fontStyle=normal 12px Arial,Helvetica", "fontDecoration=underline,underline"], // style 1
["fontStyle=normal 14px Arial,Helvetica", "fontDecoration=none,none"], // style 2
And assign styles to your items:
var menuItems = [
Is there a way to have multiple drop down menus on the same web page? What I mean by that is I have a banner with drop downs (horizontal on page) that I want to use possibly with an include statement and when you click on one of the links from the drop down it would take you to a page that is say a department for example. But on this "department page" it would have another list of drop down menues in a different location in a vertical list. This gets tricky with a second set of script running to define the banner and a second set of drop down menues running vertical in a different location. A: You can use as many different drop down menus on your site or your page as you want.
See more info about installation of several menus on the single pagehere:
I need to use an iframe within the popup window.
Is there any way I can close the dhtml window from the page loaded within the iframe?A: You can close the popup using the following function:
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot access
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situated
on the same page so you can access document.getElementById('win') element and hide it.
There is a workaround.
Use text as content type and add the following code inside popup:
Your link will work in that case.