Blank Buttons

Another automatic cascading menu for Actinic 5 onwards. This one allows more modern DHTML effects.
Post Reply
bwshop
Posts: 18
Joined: Tue Oct 10, 2006 12:30 pm

Blank Buttons

Post by bwshop » Fri Oct 13, 2006 10:27 am

Morning...tis Friday the 13th....hmm.

http://www.bwshop.co.uk/acatalog/catalog.html

I have two blank buttons as you can see - is there any way I can remove the border and stop the hand icon appearing on thse two blank buttons?

Hopeful reply,
Matt.

norman
Site Admin
Posts: 1235
Joined: Sat Feb 07, 2004 9:55 pm

Post by norman » Fri Oct 13, 2006 6:39 pm

You have added some custom navigation to your menus. The line that runs when these are built is (from norcascade_pop_tail.js in your Site folder). All I can suggest is the (untested).

Code: Select all

      addItem(names[I].sName, link, '', null, LineHeight, Spacing);
try changing it to

Code: Select all

      if ( names[I].sName == '' )
        {
        addItem(names[I].sName, link, '', null, LineHeight, Spacing).onclick='return false';
        }
      else
        {
        addItem(names[I].sName, link, '', null, LineHeight, Spacing);
        }
Or (again untested)

Code: Select all

      if ( names[I].sName == '' )
        {
        addItem(names[I].sName, 'return false', 'js:', 'cursor:default', LineHeight, Spacing);
        }
      else
        {
        addItem(names[I].sName, link, '', null, LineHeight, Spacing);
        }
If that doesn't help, I cant provide any more free help on such customisation issues. However you do have the source code of everything. And there's also a support forum on http://www.twinhelix.com.

For further information see pop_syntax.html and pop_help.html in the Twinhelix download. The documentation on addItem() is particularly useful.
Norman

bwshop
Posts: 18
Joined: Tue Oct 10, 2006 12:30 pm

Post by bwshop » Sat Oct 14, 2006 11:37 am

Hi Norman,

I'm away from my desk at the mo, but I'll try these modifications and let you what happens...8)

Thanks once again,
Matt.

bwshop
Posts: 18
Joined: Tue Oct 10, 2006 12:30 pm

Post by bwshop » Mon Oct 16, 2006 9:51 am

Hi Norman,

Given the two codes a try, and no luck. But then again, there's always a way round it!

Many thanks,
Matt.

Post Reply