SourceTec Software

It is currently Thu Apr 17, 2014 4:08 am

All times are UTC + 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Feb 13, 2013 7:24 am 
Offline
Member

Joined: Mon Feb 11, 2013 6:26 pm
Posts: 3
Can someone please give me some guidance on how I can use multiple menu's on one webpage?

Thanking you in advance.

Richard.


Top
 Profile  
 
PostPosted: Wed Feb 13, 2013 8:01 am 
Offline
Guru
User avatar

Joined: Mon May 10, 2004 3:53 am
Posts: 1752
Location: Rescue, CA, USA
Hi Richard,

When you generate your JavaScript include files give them different names (i.e., menu1.js and menu2,js). On the web page include the link to stmenu.js only once within the <head> tags. In the body of your page place the menu links where you want the menus to appear, as in the following example:
Code:
<div id="menu1">
  <script type="text/javascript" src="menu/menu1.js"></script>
</div>

Some page content.....

<div id="menu2">
  <script type="text/javascript" src="menu/menu2.js"></script>
</div>

Regards,


Bill
Unofficial DHTML Menu Resource Site


Top
 Profile  
 
PostPosted: Wed Feb 13, 2013 12:13 pm 
Offline
Member

Joined: Mon Feb 11, 2013 6:26 pm
Posts: 3
Bill,

Thank you for your reply,

The code seems to work then the whole menu collapses inward to a solid line? Can you shed some light on what I am doing wrong?

Could you also give me some guidance on why the padding is not being implemented on the site even though it has been set in the program?

Thanking you again in advance.

Richard.


Top
 Profile  
 
PostPosted: Thu Feb 14, 2013 12:25 am 
Offline
Guru
User avatar

Joined: Mon May 10, 2004 3:53 am
Posts: 1752
Location: Rescue, CA, USA
Hi Richard,

What version of DHTML Menu are you using? Please provide a link to your site and please upload the .pgt files for your menus and provide links so that I can download them.

Regards,

Bill
Unofficial DHTML Menu Resource Site


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group