Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-29-2004, 11:23 AM Jave Menu Problems
David43's Avatar
Online Anarchist

Posts: 360
Trades: 0
Hi guys, I've been having problems setting up my java menu, which I hope you can help me with.

I have been using a menu called jsDomenu which I found over at Dynamic Drive.

I have had a few little problems setting things up which I can't seem to figure out. I've looked through the documentation, readme and installation but I've not found any clear solutions.

I have coded my links into jsdomenu.inc.js (attached) although I'm not sure where to go from here. I've read over the documentation on the site which says to insert certain things before and after the head tag, although the example seems to be for an xml page so wasn't too helpful in helping me solve the problem. Could somebody take a look at my index.php (attached) and let me know where to insert the code if they can figure it out.

Another thing that has been confusing me is how to position your menu on your page, this is probably explained somewhere although I can't seem to get some clear instructions on how to do this. I would like to add my menu to the top of the left column on index.php, is there certain code you have to insert for this to work or is it done via CSS?

Attachment - Click here to download
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
David43 is offline
Reply With Quote
View Public Profile Visit David43's homepage!
 
 
Register now for full access!
Old 07-30-2004, 01:58 AM
steveharro's Avatar
Extreme Talker

Posts: 172
Trades: 0
Copy and paste this from the <head down to and including the top <body upload all the files into the same directory and if you need to change the position go to demo3.js line16 and change the numbers to suit they are both from the top left corner in pixals.Hope this helps. If you still have trouble let me know and I will post an example.
Code:
<head>
<title>Bo Avid</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="jsdomenu.css" />
<link rel="stylesheet" type="text/css" href="demo3.css" />
<link rel="stylesheet" href="altjsdomenu.css" type="text/css">
<script type="text/javascript" src="demo3.js"></script>
<script type="text/javascript" src="jsdomenu.js">

/***********************************************
* JSDOMenu v1.1.3- By Toh Zhiqiang (webmaster@REMOVETHIStohzhiqiang.per.sg)
* Script featured on Dynamic Drive DHTML code library
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>
<STYLE TYPE="text/css">


</STYLE>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body background="images/bluetile.jpg" onload="initjsDOMenu()">
Regards Steveharro Best Download Sites
steveharro is offline
Reply With Quote
View Public Profile
 
Old 07-30-2004, 12:12 PM
David43's Avatar
Online Anarchist

Posts: 360
Trades: 0
Thank you very much for the help Steve, I apreciate it greatly and the link to Best Downloads is guaranteed on my site

There seems to be some problem, the menu isn't showing up. I added the code you gave and uploaded them other CSS files although I've not modded them and I've not modded demo3 for the position, I wanted to see if its working first.

Could you post an example please if possible, so I can have a look at what you've done and see if I can spot my error.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
David43 is offline
Reply With Quote
View Public Profile Visit David43's homepage!
 
Old 07-31-2004, 06:16 AM
steveharro's Avatar
Extreme Talker

Posts: 172
Trades: 0
Here is a demo but it's not positioned you do that in demo3.js. I'll leave it there for 1 week. That should give you time to work it out.This is just the menu with the flyouts.The left and right click stuff is not enabled. EnjoyYOUR DEMO

Regards Steveharro Best Download Sites
steveharro is offline
Reply With Quote
View Public Profile
 
Old 07-31-2004, 01:31 PM
David43's Avatar
Online Anarchist

Posts: 360
Trades: 0
Hey again, I've sort of got things working, I have the menu showing up on the page although I can't do much with the positioning.

I can't find the way to position the menu accordingly in a set place. I want to place it inside the left navigation bar. I have altered the files I'm using a little, I'll send them over to your email for you to have a look at, so we're both on the same level.

Thanks again
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
David43 is offline
Reply With Quote
View Public Profile Visit David43's homepage!
 
Old 07-31-2004, 10:16 PM
steveharro's Avatar
Extreme Talker

Posts: 172
Trades: 0
Hi dave

I just had a look did you get it right or do you want it to the center more if thats the case DEMO3.JS to position it at the top of your left nav if that's what you want open it in a text editor and go to line 16 change it to look like this moveTo(95, 145);

Regards Steveharro Best Download Sites
steveharro is offline
Reply With Quote
View Public Profile
 
Old 08-04-2004, 12:30 PM
David43's Avatar
Online Anarchist

Posts: 360
Trades: 0
I decided to try a DHTML menu instead of the java, they are more compatable and easier to manage.

I'm having (another) problem with this menu, this time its over the width settings.

I've created a DHTML menu using the programme Sothink DHTMLMenu. Everything has gone fine in terms of making the menu and I have successfully inserted the menu into my website template.

However, I'm having a problem with setting the width. I would like to set a fixed width for the menu and set it up so they cover 95% of the navigation. At present if you look at my page, they don't and I have no control over the width.

Could somebody have a look at the code and see if they can figure out how to set it to a fixed value, like I want.

Files used here - Download
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by David43; 08-04-2004 at 12:32 PM..
David43 is offline
Reply With Quote
View Public Profile Visit David43's homepage!
 
Old 08-05-2004, 09:28 AM
steveharro's Avatar
Extreme Talker

Posts: 172
Trades: 0
Hi Dave

Did you buy it or just a trial version. As to your question they have a FORUM post any problems there. Let me know how you get on.

Regards Steveharro
Best Download Sites
steveharro is offline
Reply With Quote
View Public Profile
 
Old 08-05-2004, 03:58 PM
David43's Avatar
Online Anarchist

Posts: 360
Trades: 0
Hey steve

Thanks again. I am using the full version of the software, its is available as freeware on some sites, I think the pro version you have to pay for though.

Will post my message on their board, they'll hopefully be able to help me out
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
David43 is offline
Reply With Quote
View Public Profile Visit David43's homepage!
 
Reply     « Reply to Jave Menu Problems
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.86978 seconds with 12 queries