CSS MENUS & BAM ACTION!!!

Hi all

Following on from my thread:

http://freewaytalk.net/thread/view/102318

I have tried to incorporate both (CSS MENUS & BAM ACTION):

http://www.edwardlawlor.co.uk/2012/fw/tests/bam.html

I have had a certain degree of success, however my link above shows 2 workings… 1 CSS menu & 3 individual CSS menus respectively!

I have 3 main tabs as shown with sub nav drop downs containing max 5 links each. The dimensions of the main tabs are as shown, however I wish for the sub nav to be 20px in height. Im struggling to style this as the CSS menu takes the main menu styling!??

Also I want my 3 main tabs to all be different colors!!

http://freewaytalk.net/thread/view/95832#m_95838

I did have a look at this thread but when I add the html markup it clashes with the BAM action markup that already exists on the page. Is there a way around this?

In short - My X3 individual CSS menu is very close to what I’m looking for, only the sub nav needs to be smaller in height (20px high) to be exact!!

But my 2nd CSS menu is much neater if I could apply the multi colored css menu action to this way of working whilst also making the sub nav 20px high I’m onto a winner!!!

Sorry if my expaination is misleading or hard to understand… but I’m too getting a little confused!! lol

Can anyone please help!!

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Has anyone had experience of combining these 2 actions?!!

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The biggest issue I’ve faced with The BAM system is one of style inheritance where styles from the main menu cascade down into the child ones. because of the way that the Action pulls the normal freeway page apart and combined the menus as a nested object the styles will often clash like this.
Can you post a simple Freeway file of your page so far online please? If I get a chance later I’ll take a look and see what can be done to limit these effects.
Regards,
Tim.

On 16 Jan 2012, at 13:09, Mr worm wrote:

I have 3 main tabs as shown with sub nav drop downs containing max 5 links each. The dimensions of the main tabs are as shown, however I wish for the sub nav to be 20px in height. Im struggling to style this as the CSS menu takes the main menu styling!??


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim,

I have tried to incorporate both (CSS MENUS & BAM ACTION):

http://www.edwardlawlor.co.uk/2012/fw/tests/bam.html

I have yet to impliment on my site as I’m still playing about to get the desired effect and look.

Many thanks

worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Can you post a simple Freeway file of your page so far online please? If I get a chance later I’ll take a look and see what can be done to limit these effects.
Regards,
Tim.

On 16 Jan 2012, at 13:09, Mr worm wrote:

Did you get a chance to look at this Tim?

Many thanks

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I didn’t as I was ideally hoping to look at the original Freeway file rather than just the html output. If you can upload the file for me to download or send it over then I’ll try and take a look later today.
Regards,
Tim.

On 19 Jan 2012, at 10:58, Mr worm wrote:

Did you get a chance to look at this Tim?


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim,

I’ve sent you over the file today to take a look please

Many thanks

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for sending the Freeway file over. It really helps to see how the page was constructed.

The issue you are facing is that, by the very nature of CSS, the styles defined in the CSS Menu are cascading and influencing the BAM items. Unfortunately Freeway isn’t aware of the messing around that the BAM Action is doing under the hood so can’t rectify the situation. Having said that we can add a style to the page that should reset the padding on the child menu items (and in turn the BAM items that they contain).

Open up Page > HTML Markup and in the Before End Head section insert the following code (ignore the tilders if you see them - they are there to style the code on FreewayTalk);

.sub div a { padding:0 !important; }

or if you want 20 pixel padding on the sub menus;

.sub div a { padding:20px !important; }

Ultimately the BAM Action will have to extract these values from the BAM items and add the correct styles to stop this cascading effect but until that happens the style above should get you back on track. If not get back in touch.
Regards,
Tim.

On 31 Jan 2012, at 16:07, Mr worm wrote:

I’ve sent you over the file today to take a look please


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Not forgetting to wrap some style tags round it first

<style type="text/css">
<!--
.sub div a { padding:0 !important; }
-->
</style>

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Absolutely. Thanks for that Dave.

On 31 Jan 2012, at 23:33, DeltaDave wrote:

Not forgetting to wrap some style tags round it first


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Great, thanks guys. With a little tweaking works

Is their any chance you can have even greater control of the padding rather than whole values? For instance

14.1px

Just annoying as the CSS/BAM menu now works perfect with some styling however the subnav once placed on the pasteboard is 0.1 px too thin!

I can change the BG image being tiled, but easier if I can simply change the HTML Markup?

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

A pixel (px) is the tiniest thing available on any screen. Even if you use a percentage-based value (which could mathematically describe a sub-pixel dimension), you can only get what the graphics system can give you, which will be to snap to the nearest pixel.

Walter

On Feb 1, 2012, at 7:57 AM, Mr worm wrote:

Great, thanks guys. With a little tweaking works

Is their any chance you can have even greater control of the padding rather than whole values? For instance

14.1px

Just annoying as the CSS/BAM menu now works perfect with some styling however the subnav once placed on the pasteboard is 0.1 px too thin!

I can change the BG image being tiled, but easier if I can simply change the HTML Markup?

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello group:

New Freeway Express user here, so far so good. Definitely a learning curve, but I’m getting it. :slight_smile:

Okay so a few small things I haven’t figured out yet.

  1. Is it possible to draw an HTML text box, put some type in it, then make the box transparent so it can be placed on top of a photo (so the photo shows through)? If I make it a graphic box and make the text a graphic rather than HTML text, it is possible to make the box transparent, but can’t seem to make the HTML box transparent.

  2. I’m building a “contact us” form. Is it possible to change the font of the text created when doing check boxes? It defaults as times new roman.

Thanks

Chris


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Le 2 févr. 2012 à 05:19, EZ Rhino a écrit :

  1. Is it possible to draw an HTML text box, put some type in it, then make the box transparent so it can be placed on top of a photo (so the photo shows through)? If I make it a graphic box and make the text a graphic rather than HTML text, it is possible to make the box transparent, but can’t seem to make the HTML box transparent.

If you create a HTML box and add an image as background, you can then afterward move another HTML box containing text over it (move it on foreground of course)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hey it works! Thanks Andre!

Chris

On Feb 2, 2012, at 1:16 , Andre Rombauts wrote:

Le 2 févr. 2012 à 05:19, EZ Rhino a écrit :

  1. Is it possible to draw an HTML text box, put some type in it, then make the box transparent so it can be placed on top of a photo (so the photo shows through)? If I make it a graphic box and make the text a graphic rather than HTML text, it is possible to make the box transparent, but can’t seem to make the HTML box transparent.

If you create a HTML box and add an image as background, you can then afterward move another HTML box containing text over it (move it on foreground of course)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Tim,

I’m getting a “targetDIVstyle has no properties” error message when publishing the “BAM test” file in FW 6.0.3. I didn’t see this action on the softpress knowledge base as one needing an update. Is it compatible with FW 6?

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Anthony,
There are a lot of Actions you won’t find on that list. Freeway 6 introduced a new way of working with styles (generally a better way but a way that breaks pretty much every Action that needs to extract style data from an item) and the current version of BAM is looking in the wrong place for this information.

Walter has done a terrific job in putting together a library of code that helps in the migration but I still need to prise the Action open apply the code and test it.

It’s on my list.
Regards,
Tim.

On 27 Feb 2013, at 20:44, anthony wrote:

I’m getting a “targetDIVstyle has no properties” error message when publishing the “BAM test” file in FW 6.0.3. I didn’t see this action on the softpress knowledge base as one needing an update. Is it compatible with FW 6?


Experienced Freeway designer for hire - http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have an existing site constructed in 5.5, using the BAM action on a CSS menu and it goes to pot when opened in 6. I was going to start a thread to see if I could discover an alternative way to build a similar looking menu without using the BAM action, since it’s still in beta and I need to rely on a solid, working action.

Neil.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the update. I’ll re-do the comp in FW 5.5.

Is there another way to trigger the BAM, besides using CSS menus per the sample FW document?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options