Jump to content

how can i run <script type="text/javascript">


Recommended Posts

:cry: How can i run this script? in my non smarty site works perfect...

 

Scripts

http://localhost/templates/portal/js/jquery-1.4.2.min.js 70 KB

http://localhost/includes/jscript/jquery.js 56 KB

http://localhost/templates/portal/js/jquery.validate.js 36 KB

http://localhost/templates/portal/js/jquery.cycle.all.min.js 23 KB

http://localhost/templates/portal/js/s3Slider.js 4 KB

http://localhost/templates/portal/js/jqueryslidemenu.js 2 KB

http://localhost/templates/portal/js/general.js 497 bytes

--------------------------------------------------

<script type="text/javascript">
$(document).ready(function() {
  		$('#s3slider').s3Slider({
		timeout: 6000 
	});
});
</script>
<script type="text/javascript">
//Cycle plugin setting, Used in "news" div.
$(document).ready(function() {
  		$('#news').cycle({
		fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next: '#next', 
   		prev: '#prev' 
	});
});
</script>

 

white page comes but I try also this:

 

{literal}
<script type="text/javascript">
$(document).ready(function() {
  		$('#s3slider').s3Slider({
		timeout: 6000 
	});
});
</script>
<script type="text/javascript">
//Cycle plugin setting, Used in "news" div.
$(document).ready(function() {
  		$('#news').cycle({
		fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next: '#next', 
   		prev: '#prev' 
	});
});
</script>

{/literal}

 

the template works but the script is not running.... also i try this but still not running....

 

{literal}
<script type="text/javascript">
jQuery(document).ready(function() {
  		$('#s3slider').s3Slider({
		timeout: 6000 
	});
});
</script>
<script type="text/javascript">
//Cycle plugin setting, Used in "news" div.
jQuery(document).ready(function() {
  		$('#news').cycle({
		fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next: '#next', 
   		prev: '#prev' 
	});
});
</script>

 

anyone please?

 

Thank you in advance!

Link to comment
Share on other sites

  • 3 weeks later...

Try this

{literal}
<script type="text/javascript">
jQuery(document).ready(function() {
  		$('#s3slider').s3Slider({
		timeout: 6000 
	});
});
</script>
{/literal}
{literal}
<script type="text/javascript">
//Cycle plugin setting, Used in "news" div.
jQuery(document).ready(function() {
  		$('#news').cycle({
		fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next: '#next', 
   		prev: '#prev' 
	});
});
</script>
{/literal}

 

it will work...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated