Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Adding script to the template php.index

More
12 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 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.

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

More
12 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.

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