Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Adding script to the template php.index

  • Jocool
  • Jocool's Avatar Topic Author
  • New Member
  • New Member
More
IP: 62.235.211.111 14 years 3 months ago #716 by Jocool
Hi,

I just want to add a script to my template index.php
to avoid the blank space between the Intro-text
Do I have to add the script like this:
<head>
<script src=" ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js " type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function( $){
$('#clickable').click(function(){
$('#hidden').slideDown();
});
});
</script>
</head>

I afraid that I call the script a second time once the plugin JQuery Easy has been installed.
I do not place the script yet on my site : ethongluan.org
Please advice.
More
IP: 212.198.135.11 14 years 3 months ago #717 by admin
Hello,
if you install jQuery Easy and use it, the first script call is unnecessary. jQuery Easy will take care of it. If you add it anyway, jQuery Easy will remove it and replace it with the one library selected in the plugin.

Olivier.