JQuery options

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

JQuery options was created by zebrafilm

Posted 9 years 9 months ago #21117
Hi Ced,

I was wondering if it could be an idea to integrate options for custom jQuery in the template.
Joomla needs a few 'own' calls before this starts to work and it could be a nice option to include those, like the bootstrap option.

If not a good idea, could you explain what would be the best way to include jQuery code in the template, e.g for mouseover actions etc.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic JQuery options

Posted 9 years 9 months ago #21118
Hi
have you tried to add the JHml call in the "parameters >> custom code" section in template creator ?
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Replied by zebrafilm on topic JQuery options

Posted 9 years 9 months ago #21119
Nope, wanted your expert opinion first :-)

Just starting with it and was already struggling to get it working within Joomla.
Outside has never been een issue....

I saw you used some JS with the logo so it seemed better to keep things tidy inside the template setup.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic JQuery options

Posted 9 years 9 months ago #21122

I saw you used some JS with the logo

what ? there is no JS loaded in the template made with template creator ...

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Replied by zebrafilm on topic JQuery options

Posted 9 years 9 months ago #21124
Ha you are right (of course) it was another component. Never work late.....

But you haven't answered my original request. Not a good idea?

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic JQuery options

Posted 9 years 9 months ago #21125
by default not, this is not a good idea for me because I don't want to include any script in the template
now if you want to add some script to your template that needs the jquery library, you will anyway need to do this yourself by hacking the template, then you can add the jquery call too ;)

any other extension that needs some jquery will load it itself
then I don't need in the template :)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.681 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 576 guests and no members online