Button/menuitem targets, Events hooks, per-button spacing...

Let us know what you would like to see in the next version of Easy Button & Menu Maker
Post Reply
Dr Paul A Daniels
Posts: 11
Joined: Mon Mar 03, 2008 11:02 am
Location: Frimley Green, UK
Contact:

Button/menuitem targets, Events hooks, per-button spacing...

Post by Dr Paul A Daniels »

In EBMM Support I've posted some of my experiences in trying to use buttons and menus on a small web-site of my own and have the following suggestions:
  • The buttons and menuitems can currently only be used to load an entire page into the full browser window (but see my post in EBMM support) it would be nice if an IFRAME target could be specified on a per button/menuitem basis to give more flexibility (including avoiding full page reloads).
  • Modern web pages are much more interactive than they used to be. In particular, the increasing use of Ajax techniques means that EBMM would be much more useful if there were more hooks into events (mouse click, mouse over, etc) to give the developer something other than just the ability to load pages into the browser.
  • It shouldn't be too difficult to allow spacing between buttons to be on a per-button basis rather than having only one spacing value for all buttons.
  • It would be nice if icons on menuitems were clickable and not just the text of the menuitem.
  • In the EBMM-generated HTML code there are empty SPANs for each of the menuitems. If the code is included in a web-page and WeBuilder is used to do a code tidy then the empty SPANs are removed which removes the icons from the menus. Including an   in them would prevent this.
I hope these are useful ideas - any idea when version 1.1 will be available? :wink:
Dr Paul A Daniels
Director, Qsoft Limited
turicon
Posts: 26
Joined: Thu Aug 16, 2007 8:48 am
Location: Sinsheim/Germany and Cherkassy/Ukraine
Contact:

Post by turicon »

Hello,

perhaps can I now help? :D

I had also the problem with the target. Here my workaround:

1. open the JavaScript (cbjscbindex.js). Make a backup!!
2. search for "href"
3. only one line have this searchstring:

Code: Select all

if(s.href&&s.href.match(n)){p.rowClickLink=s.href;p.onclick=function(){window.location.href=this.rowClickLink}}}else w.innerHTML=' '
4. now delete all between {}, see here the result:

Code: Select all

if(s.href&&s.href.match(n)){}}else w.innerHTML=' '
5. Now you can give all links a target-Attribut and that works fine :wink:

Turicon
lesaigles
Posts: 1
Joined: Mon Nov 03, 2008 12:03 am

Re: Button/menuitem targets, Events hooks, per-button spacing...

Post by lesaigles »

Hi at all,

I found for this problem a much easier solution !!!

When you look your HTML-Code for your menu, you will find the following:

<td style="padding-bottom:1px" title=""><a href="xxx.html"><img id="cbi_cbinsmenu_1" src="images/ebbtcbinsmenu1_0.png" name="ebbcbinsmenu_1" width="129" height="30" border="0" alt="xxx" title="" /></a></td>
</tr>

When you put now in the <> after the href target="mainFrame", the page will be opened in the frame called mainFrame

It works perfect

Stefan
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Button/menuitem targets, Events hooks, per-button spacing...

Post by chrisjlocke »

Frames?! *shudder*
I feel like I've fallen into a time-bubble, and we're back in 1980 again...
Post Reply