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?
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.
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.
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.
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.
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
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.