[Pro] Blogger and Menu Bar Action

Hi there

I’ve updated an older site to add a blog using the Blogger actions. This site also uses the older Menu Bar action.

When I was putting the Blogger code together everything worked perfectly - you can see the template at AudioSpace | 404 Not Found

However when I copied the code into Blogger the drop down menus no longer worked - you can see the ‘finished’ blog at AudioSpace | 404 Not Found

I think the problem could be that Blogger doesn’t ‘see’ the necessary scripts to make the drop down menus work and that maybe by editing the code I can point it in the right direction. If so, what do I need to change or is it the case the menu bar action doesn’t work in this situation?

Thanks

Gordon
http://www.gordonlow.net/


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

Hi again

I’ve been looking at the code for my non-working blog at AudioSpace | 404 Not Found and have found the following references to javascript scripts:

I've added the full paths to each script but still the blog's drop-down menus don't work. Can anyone suggest any further changes to try? I'd prefer not to have to change the whole site to CSS menus due to the work involved and because I prefer the rollover graphics for the menu rather than text. Thanks Gordon _______________________________________________ freewaytalk mailing list email@hidden Update your subscriptions at: http://freewaytalk.net/person/options

It looks like those scripts are in fact in your page, but they are
linked very very late in the page head. I believe that they may be
appearing after the JavaScript code that calls them, so they aren’t
being used at all.

If you have added these links manually, through the Page / HTML Markup
dialog, then try switching them from the section where they are
(probably Before /HEAD) up to After HEAD.

Take care that your base href tag still appears above them, because
that’s criritcal to them being found. You may need to duplicate your
base href tag if it’s being added through an Action, if you added it
manually, then just be sure that these three script tags appear
directly after it.

Walter

On Jun 6, 2010, at 7:16 AM, Gordon Low wrote:

Hi again

I’ve been looking at the code for my non-working blog at AudioSpace | 404 Not Found
and have found the following references to javascript scripts:

I've added the full paths to each script but still the blog's drop- down menus don't work. Can anyone suggest any further changes to try? I'd prefer not to have to change the whole site to CSS menus due to the work involved and because I prefer the rollover graphics for the menu rather than text. Thanks Gordon _______________________________________________ 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

Hi Walter

Thanks for taking the time to look at this for me.

I haven’t added the links to the scripts manually - it’s Freeway that has added them automatically and determined their position. All I did was edit them from:

to the version I quoted above with the full address in the hope that Blogger would be able to find the scripts.

Here’s what I’ve been doing:

  • I have created the blog design in Freeway and I have used the ‘Blogger Posts’ and ‘Blogger Archives’ actions. In addition I have added the necessary markup for the Google Calendar on the page. Also used on the page is the ‘Menu Bar’ action and the ‘Rollover’ action. The only additional markup added to the page is the StatCounter code.

  • Once I have created the page I upload it to AudioSpace | 404 Not Found where it works perfectly and then copy the code to TextWrangler.

  • In TextWrangler I have to change non-breaking spaces & nbsp; in code to & #160; (extra space added after each & just to make it appear here). I also edit a couple of the styles to add a coloured background and padding.

  • I then copy this code into Blogger and save it for http://bridgefm.blogspot.com/ . This is where I found that not only does the menu bar action no longer work but neither does the basic rollover action either. Using the CSS rollover action overcomes this problem but I’ve left the first menu item called ‘Home’ with the old action to show the problem. I guessing this is caused by none of the three scripts being loaded.

Following your suggestion I moved the script code to straight under the base ref tag but that made no difference. I even checked the scripts were in the right space and changed them to chmod 777 but again this made no difference.

It seems that for some reason Blogger won’t load the three JavaScripts that Freeway needs to work properly.

I tried copying the code from FWDDMenu.js, wrapping it up with a and then pasting it directly into the code but Blogger didn’t like that at all.

I have looked seriously at using the CSS Menu action to recreate the menu with the graphics and to some extent this works okay except, once again, the Rollover action would not work and the CSS Rollover action conflicted with the CSS Menu action. So at the moment I can have rollovers with no drop-down menus or drop-down menus with no rollovers but not both at the same time.

No doubt there is a very simple solution to all of this that I am missing so hopefully this long explanation may help track it down.

Thanks again

Gordon


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

Hi Gordon,

I would say that the Menu Bar and Blogger seem to be incompatible - I’ll log a bug to get someone to look at it but seeing as though the CSS Menus work as expected - http://softpresstest.blogspot.com/ - I’m not sure how quickly it will get fixed.

Is there any reason you were using the Menu Bar action as opposed to CSS Menus?

Joe

On 7 Jun 2010, at 13:33, Gordon Low wrote:

Hi Walter

Thanks for taking the time to look at this for me.

I haven’t added the links to the scripts manually - it’s Freeway that has added them automatically and determined their position. All I did was edit them from:

to the version I quoted above with the full address in the hope that Blogger would be able to find the scripts.

Here’s what I’ve been doing:

  • I have created the blog design in Freeway and I have used the ‘Blogger Posts’ and ‘Blogger Archives’ actions. In addition I have added the necessary markup for the Google Calendar on the page. Also used on the page is the ‘Menu Bar’ action and the ‘Rollover’ action. The only additional markup added to the page is the StatCounter code.

  • Once I have created the page I upload it to AudioSpace | 404 Not Found where it works perfectly and then copy the code to TextWrangler.

  • In TextWrangler I have to change non-breaking spaces & nbsp; in code to & #160; (extra space added after each & just to make it appear here). I also edit a couple of the styles to add a coloured background and padding.

  • I then copy this code into Blogger and save it for http://bridgefm.blogspot.com/ . This is where I found that not only does the menu bar action no longer work but neither does the basic rollover action either. Using the CSS rollover action overcomes this problem but I’ve left the first menu item called ‘Home’ with the old action to show the problem. I guessing this is caused by none of the three scripts being loaded.

Following your suggestion I moved the script code to straight under the base ref tag but that made no difference. I even checked the scripts were in the right space and changed them to chmod 777 but again this made no difference.

It seems that for some reason Blogger won’t load the three JavaScripts that Freeway needs to work properly.

I tried copying the code from FWDDMenu.js, wrapping it up with a and then pasting it directly into the code but Blogger didn’t like that at all.

I have looked seriously at using the CSS Menu action to recreate the menu with the graphics and to some extent this works okay except, once again, the Rollover action would not work and the CSS Rollover action conflicted with the CSS Menu action. So at the moment I can have rollovers with no drop-down menus or drop-down menus with no rollovers but not both at the same time.

No doubt there is a very simple solution to all of this that I am missing so hopefully this long explanation may help track it down.

Thanks again

Gordon


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

Hi Joe

Thanks for logging the problem with the Menu Bar action and Blogger. My reasons for using this action were:

  • this is an old site which predates the CSS menu action and so I just stuck with the same master page.
  • I prefer to have all the links viewable all the time in a small table rather than vanishing as with the CSS menu action.
  • The size and position of text in the main menu can’t be guaranteed whereas graphic rollovers can so setting them in a table is easier.

That’s not to say I haven’t used the CSS menu action and I have found it to be really useful in certain circumstances but I like having the choice of methods.

I’ve now rebuilt the whole menu using the CSS menu action, graphics and rollovers, hence my delay in replying, and sadly it seems to make absolutely no difference. Neither the rollovers or dropdown menus work at all.

You can see the uploaded version at AudioSpace | 404 Not Found and the blogger version at AudioSpace | 404 Not Found .

I had hoped that rebuilding the menus may have been more successful but sadly it appears not. I’m guessing that the problem must be more deeply rooted than I originally thought so any more advice would be greatly appreciated.

Thanks again

Gordon


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

The main problem is that Blogger doesn’t really play well with Blogger. If you were to use HTML text in the CSS Menus then it should work just fine (it did in my sample page).

Joe

On 9 Jun 2010, at 12:05, Gordon Low wrote:

Hi Joe

Thanks for logging the problem with the Menu Bar action and Blogger. My reasons for using this action were:

  • this is an old site which predates the CSS menu action and so I just stuck with the same master page.
  • I prefer to have all the links viewable all the time in a small table rather than vanishing as with the CSS menu action.
  • The size and position of text in the main menu can’t be guaranteed whereas graphic rollovers can so setting them in a table is easier.

That’s not to say I haven’t used the CSS menu action and I have found it to be really useful in certain circumstances but I like having the choice of methods.

I’ve now rebuilt the whole menu using the CSS menu action, graphics and rollovers, hence my delay in replying, and sadly it seems to make absolutely no difference. Neither the rollovers or dropdown menus work at all.

You can see the uploaded version at AudioSpace | 404 Not Found and the blogger version at AudioSpace | 404 Not Found .

I had hoped that rebuilding the menus may have been more successful but sadly it appears not. I’m guessing that the problem must be more deeply rooted than I originally thought so any more advice would be greatly appreciated.

Thanks again

Gordon


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

Hi Joe

I’ve changed it all to HTML text and still the drop-down menus don’t appear. It all works at AudioSpace | 404 Not Found but not the final version at AudioSpace | 404 Not Found

In the hope you can track down what’s been causing this I’ve sent the Freeway file to your ‘support’ email address.

Thanks

Gordon


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

Hi again

Thanks to Keith at Softpress support the CSS Menu drop-downs are working on my blogger at AudioSpace | 404 Not Found .

The culprit was me using the HTML Language action and by removing it everything worked as expected. Needless to say I’ve now deleted the action and removed any trace of it from my other Freeway files.

All the best

Gordon

http://www.gordonlow.net/


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

Hi there.

I am having a very similar problem.

I am simply trying to add the “rollover” action to two graphic shapes created in FW.

The rollover action works fine when uploaded to my personal domain, however when using the Blogger action and pasting/uploading the script into my blogger account, the basic rollover doesn’t work at all.

I noticed you mentioned the “HTML Language action” however this has zero effect when I switch it on or off.

Has anyone else had this basic issue and resolved?

Many thanks

Mediumformat


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