ActionsDev
14 replies to this thread. Most Recent
Mark
16 Aug 2010, 5:21 pm
[Pro] CSS menus and ESS
Can anyone tell me if it’s possible to use the External Style sheets Action with pages incorporating the CSS Menu actions?
I get Errors and cant seem to work it out.
Thanks
Based in Birmingham, UK
Using iMac Intel Core 2Duo | Freeway Pro 5.6
waltd
16 Aug 2010, 6:40 pmWhat sorts of errors? Do you get an error while publishing, or when you view the finished site?
Walter
On Aug 16, 2010, at 1:21 PM, Mark Townsend wrote:
Can anyone tell me if it’s possible to use the External Style sheets Action with pages incorporating the CSS Menu actions?
I get Errors and cant seem to work it out.
Freeway user since 1997
Mark
16 Aug 2010, 6:47 pmBoth. JavaScript errors on publishing and I can’t get ESS to work, therefore the CSS is within the source. I have to ‘clear errors’ to get the menus to show after errors.
I tested the file by removing the CSS menus and the document publishes fine with ESS working correctly.
Based in Birmingham, UK
Using iMac Intel Core 2Duo | Freeway Pro 5.6
chuckamuck
16 Aug 2010, 9:13 pmOn 16 Aug 2010, 6:47 pm, Mark Townsend wrote:
I tested the file by removing the CSS menus and the document publishes fine with ESS working correctly.
How did you construct your menus? Is it a single indented list with the CSS Menu action applied; or is it made up of multiple html boxes with one html box for each menu?
Freeway Pro 5.5, i7 Macbook Pro 2.2 ghz 8gb ram, 2.3 ghz Dual Core MacPro 10gb ram
Mark
17 Aug 2010, 8:32 amHow did you construct your menus? Is it a single indented list with the CSS Menu action applied; or is it made up of multiple html boxes with one html box for each menu?
It’s a single indented list, with sub levels. I’m only testing the whole function out, so if you tell me that the CSS menu code should move to the External Style Sheet, then I’ll delve into it more. It just seems to be the ESS action and CSS menus action dont work together, causing a conflict so that it it doesnt move to the ESS. I may be wrong, but would appreciate feedback if you think i’ve got this all wrong.
Cheers
Based in Birmingham, UK
Using iMac Intel Core 2Duo | Freeway Pro 5.6
waltd
17 Aug 2010, 3:03 pmI would imagine that ESS and CSS are firing at the same time, or maybe ESS is firing before CSS does. In either case, it would be easy to imagine that the styles aren’t all written to the head before ESS scoops them up and deletes the entire style tag. ESS was written years before CSS Menus burst onto the scene, and I haven’t ever looked back at it to see about these sorts of interactions.
Walter
On Aug 17, 2010, at 4:32 AM, Mark Townsend wrote:
It just seems to be the ESS action and CSS menus action dont work together, causing a conflict so that it it doesnt move to the ESS.
Freeway user since 1997
Luis Moro
25 Jun 2011, 10:24 pmCSS menus does not work with ESS-Convert to style sheet, I need some help, I have proven by code with Dreamweaver and it works but I want to work online in real time.
waltd
26 Jun 2011, 3:59 amI don’t think these two are going to play nicely with one another. But here’s something you could try, though. Use a plain text editor, like TextWrangler from http://barebones.com and open the Action file. (It will be in your Library folder, at this path: [your home folder]/ Library/Application Support/Freeway 5/Actions/General/)
On line 61, change the word
fwBeforeEndHTML
to read
fwAfterEndHTML
and do the same on line 178. Save the file, and switch back to Freeway (no need to restart it or anything) and try your page again. If it works, then please let me know, and I’ll update the official version.
Walter
On Jun 25, 2011, at 6:23 PM, Luis Moro wrote:
CSS menus does not work with ESS-Convert to style sheet, I need some help, I have proven by code with Dreamweaver and it works but I want to work online in real time.
Freeway user since 1997
Luis Moro
26 Jun 2011, 1:33 pmExcellent work, just hope you can update the action, so that all users can use this valuable tool. Are you very friendly and helpful Thank you a thousand thanks for your help. Details like this make me use every day more 5Pro Freeway, just hope the version for iPad to update my site so mobile.
Luis Moro
26 Jun 2011, 1:37 pmI optimisé additional information on CSS code from this link and earn bits:
http://www.cssdrive.com/index.php/main/csscompressor
Thanks
Gracias Amigo!
waltd
26 Jun 2011, 4:49 pmDid these changes fix the problem for you? Have you tried the modified Action on your problem document?
Walter
On Jun 26, 2011, at 9:33 AM, Luis Moro wrote:
Excellent work, just hope you can update the action, so that all users can use this valuable tool. Are you very friendly and helpful Thank you a thousand thanks for your help. Details like this make me use every day more 5Pro Freeway, just hope the version for iPad to update my site so mobile.
Freeway user since 1997
Luis Moro
26 Jun 2011, 5:57 pmYou can see here on the website of my client, is under construction. I would like to know your opinion.
http://www.pixelsartsgroup.com/Portfolio2011/Faragom/index.html
Thanks
waltd
27 Jun 2011, 3:30 pmThe Action has been updated at ActionsForge, so anyone else who hits this problem, download the latest version!
Walter
On Jun 26, 2011, at 1:37 PM, Luis Moro wrote:
Yes, Perfect Thanks
Gracias Amigo!
Freeway user since 1997
Luis Moro
27 Jun 2011, 4:03 pmI don’t think these two are going to play nicely with one another. But here’s something you could try, though. Use a plain text editor, like TextWrangler from http://barebones.com and open the Action file. (It will be in your Library folder, at this path: [your home folder]/ Library/Application Support/Freeway 5/Actions/General/)
On line 61, change the word
fwBeforeEndHTML
to read
fwAfterEndHTML
and do the same on line 178. Save the file, and switch back to Freeway (no need to restart it or anything) and try your page again. If it works, then please let me know, and I’ll update the official version.
Walter
On Jun 25, 2011, at 6:23 PM, Luis Moro wrote:
CSS menus does not work with ESS-Convert to style sheet, I need some help, I have proven by code with Dreamweaver and it works but I want to work online in real time.
