External JS

That makes sense Tim, I made the change but still no joy - I know I
have either done something wrong or the way I was doing things is
incorrect… this is what I did.

I created my page and designed it how I wanted…

I then created 3 layered rollovers and published the page.

I opened the html file and copied the block of javascript that was
generated for the rollovers and created a .js file using just that
copied code.

I then added the page action ‘External Javascript’, referenced the .js
file I had created and asked for it to be before the /head

I then deleted the 3 original rollovers I had created and republished/
uploaded

When viewed in a browser there are not rollovers shown, probably
because the browser doesn’t know where to position them, so I tried
not deleting them and then freeway generated the javascript so this
wasn’t correct either.

Is there a step-by-step guide to show how to do it this way?

Nathan Garner
Creative Director

Austin Wells Design Limited
1 Elmgate Drive, Littledown, Bournemouth BH7 7EF
+44 (0)1202 301271
email@hidden
http://www.awdc-creative.com

Member of NAPP


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

deleted the 3 original rollovers I had created and republished

If so then FW wont upload the image files.

You would have to upload the image files by FTP or an action such as Upload Stuff to the right place so that the external JS has the correct path to them.

David


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

Hi Nathan
I have created a action set that does some of the donkey work for this sort of thing…
http://www.actionsforge.com/projects/view/98-script-maker-linker

the idea is that you could have copied the javascript as you have done, pasted it to an external js file (though within the freeway application) within its own folder structure if you wanted it to and linked to it. The two actions let you do this. They also sort out the links to these scripts plus you can also adjust the javascript within freeway. Anyway thought you may be interested.

max


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

Hi David, I have uploaded them separately so that the path points
straight to them, but no joy… I have done something wrong somewhere
otherwise it would work I suspect.

I am very interested Max, and appreciate your help, I will take a look
today. Thank you.

Nathan Garner
Creative Director

Austin Wells Design Limited
1 Elmgate Drive, Littledown, Bournemouth BH7 7EF
+44 (0)1202 301271
email@hidden
http://www.awdc-creative.com

Member of NAPP

On 13 Aug 2009, at 00:30, DeltaDave wrote:

deleted the 3 original rollovers I had created and republished

If so then FW wont upload the image files.

You would have to upload the image files by FTP or an action such as
Upload Stuff to the right place so that the external JS has the
correct path to them.

David


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

I haven’t been able to get this working unfortunately. Not sure why,
tried it a few times, but I’m obviously not getting it… would be so
much easier it there was a ‘External Javascript’ and External CSS’
option, so fingers crossed for the next version of FW

Nathan Garner
email@hidden

FW5 Pro | MacBook Pro | Leopard

On 13 Aug 2009, at 06:45, max wrote:

Hi Nathan
I have created a action set that does some of the donkey work for
this sort of thing…
ActionsForge - The Complete Repository of Freeway Actions

the idea is that you could have copied the javascript as you have
done, pasted it to an external js file (though within the freeway
application) within its own folder structure if you wanted it to and
linked to it. The two actions let you do this. They also sort out
the links to these scripts plus you can also adjust the javascript
within freeway. Anyway thought you may be interested.

max


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