Isn't an easier way just to put any style requirements in <style> </style>? I just did that and it seems to work well...
Isn't an easier way just to put any style requirements in <style> </style>? I just did that and it seems to work well...
Easy, but invalid HTML. the CSS style tag should only be in the <head> element. Otherwise you need to use inline style rules.Isn't an easier way just to put any style requirements in <style> </style>? I just did that and it seems to work well...
If I need some jscript in one product page only, I put the jscript in the product description.
If I need some css in one product page, you can use the ZC inbuilt solution of creating a p_1234.css file where 1234 is the product id.
If I need css/jscript in a group of similar products, and I don't want to create a load of .css files for every pid, I use boilerplate text
http://www.thatsoftwareguy.com/blog/...-descriptions/
so it is easy to put a jscript in the description that gets the css and/or jscript external files and dynamically inserts it in the head element as per this solution:
http://www.javascriptkit.com/javatut...criptcss.shtml
Steve
github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...
Bookmarks