Recent Questions Zoom Treeview Items In Wpf
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.
Q: The contact page drop down menu examples would not work with the Firefox browser. And the submenu would show a white bg in the Internet Explorer browser.
A: Your color parameters are incorrect:
var itemBackColor=["91C24D","8B3A96"];
var itemBorderColor=["ffffff","ffffff"];
You should write them in the following way:
var itemBackColor=["#91C24D","#8B3A96"];
var itemBorderColor=["#ffffff","#ffffff"];
Q: I need to execute some javascript first when someone clicks on the tab in the floating tabs.
A: You should paste "javascript:some_function()" into item's link field, for example:
["tab text","javascript: window.open('test.html', 'frameName')", ...],
or
["tab text","javascript: getURLForFrame()", ...],
Q: 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:
<script type="text/javascript" src="newmenu2.js"></script>
For example, into a table cell:
<table>
<td><script type="text/javascript" src="newmenu2.js"></script></td>
</table>
No matter where I put the code:
<script type="text/javascript" src="newmenu2.js"></script>, the menu shows up at the top of the page.
What am I missing?
A: Check that you're using relative position for the down menu in dhtml:
var absolutePos=0;
var posX="0px";
var posY="0px";