NetTalk Central

Author Topic: Buttons in menu  (Read 2147 times)

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Buttons in menu
« on: October 14, 2008, 10:57:53 AM »
Hello,

I wanted to modify the menu using graphical buttons (so without the text buttons). Is there any way to do this without customizing a lot?
It can be done, but then I have to either omit things, then copy embed point and do a lot of customizing, or change some things in the template.

Is there something else I can use that I'm overlooking or is this something for a newer version?

Thanks

Sjoerd
Greetz,
Sjoerd

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Buttons in menu
« Reply #1 on: October 14, 2008, 09:29:54 PM »
Not sure what you want to accomplish, but a couple things you can do: 1) you can add icons to a menu item. Those could be just graphical buttons, and you could leave off the text, and 2) You could modify the Chrome*.gif images to look like buttons.
Mike Grigsby
Credify Systems
Central Oregon, USA

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Re: Buttons in menu
« Reply #2 on: October 15, 2008, 10:20:52 AM »
Mike,

Thanks for you reply. I see that when I want to add a menu item I can use the 'image' tab to select a picture. But I want to have a main navigation in pictures. When you add menu items on the main navigation bar you cannot use this functionality. The only option that I have used so far is to skip the entire menu generation and change it like this for example:

packet = clip(packet) & '<li><a href="'&p_web._MakeUrl(clip('browseInvoices')& '?SessionID='&p_Web.sessionid)&'" onmouseover="image3.src=''images/HeaderInvoicesHover.png'';" onmouseout="image3.src=''images/HeaderInvoices.png'';"><img src="images/HeaderInvoices.png" title="Go to your invoices" name="image3" style="border:0;" onload=""/></a></li>'

Is there any way I can to this without having to skip generated code?

What also would be something to work with is to have the template let me add other event. Within the URL options you can specify the onClick event. I would like to have other events there. Such as onmouseover and onmouseout.

Thanks
Sjoerd
Greetz,
Sjoerd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11181
    • View Profile
Re: Buttons in menu
« Reply #3 on: October 16, 2008, 10:33:00 PM »
Hi Sjoerd,

I'm thinking that there are so many JavaScript menus out on the web, that your best option - rather than trying to squeeze the chrome menu into doing what you want - is to rather browse around a bit for a menu that you like, then implement that menu in the page. (It's usually very easy to add them.)

Cheers
Bruce