Hi,

I think I've done something similar. I needed a different stylesheet for some pages that are going to be printed.

So I created a file called app/assets/stylesheets/print.scss. I based it on front.scss but I changed some of the CSS being imported.

After that, in the page I want that file to be used, I customized the CSS file I wanted:

  <stylesheets: replace>
    ... Call your CSS here ...
  </stylesheets>

I suppose the same would work for Javascript. Write if you get stuck :).

Regards,
Ignacio

El 03/01/13 23:15, tonym escribió:
Hi fellow Hobos!  Happy New Year, and thank you for all your help in the
past few months.

This might be an easy one, but I'm struggling to find an answer...
There are some pages where I don't want certain javascript libraries and
scripts to be loaded.  for example, I have forms that require certain
scripts, but they are not needed for the index and show pages. Ditto for
scss.

I also have a new project where I want to use jquery on some pages (the
forms), but avoid it completely on the index and show pages, and
actually use jquery mobile instead.
Any thoughts and ideas on how to do that?

Cheers, Anthony.

--
You received this message because you are subscribed to the Google
Groups "Hobo Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/GyAa-vnRLvsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.

--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to