• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Javascript problem.
PostPosted: Mon Oct 17, 2011 10:23 am 
Offline
Forum Members
Forum Members

Joined: Mon Jul 04, 2011 11:23 am
Posts: 10
Hi.
I have CMS Made Simple 1.6.6 "Bonde" version in use.
Now i like to have slider to the site but there is some problem whit java when i add this
Code:
<script>
      $(document).ready(function() {
       
        $('#banner').slidey({
          'animation' : 'fade',
          'width' : 990,
          'height' : 294
        });
       
      });
    </script>


safari error console say

Code:
TypeError: 'undefined' is not a function (evaluating '$('#banner').slidey({
'animation' : 'fade',
'width' : 700,
'height' : 300
})')


what is the problem?
Thanx-


Top
 Profile  
 
 Post subject: Re: Javascript problem.
PostPosted: Mon Oct 17, 2011 11:17 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3649
Location: The Netherlands
vjandrei wrote:
I have CMS Made Simple 1.6.6 "Bonde" version in use.
You should upgrade immediately!

Regarding your question:
http://wiki.cmsmadesimple.org/index.php ... your_pages

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Javascript problem.
PostPosted: Tue Oct 18, 2011 3:20 am 
Offline
Power Poster
Power Poster

Joined: Fri Jun 06, 2008 5:54 pm
Posts: 345
Also try and put your JS code between {literal} and {/literal} tags. So your code should read:
Code:
{literal}
<script>
      $(document).ready(function() {
       
        $('#banner').slidey({
          'animation' : 'fade',
          'width' : 990,
          'height' : 294
        });
       
      });
    </script>
{/literal}


Top
 Profile  
 
 Post subject: Re: Javascript problem.
PostPosted: Tue Oct 18, 2011 1:11 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3649
Location: The Netherlands
That's what the link I gave says ;)

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Javascript problem.
PostPosted: Tue Oct 18, 2011 1:49 pm 
Offline
Power Poster
Power Poster

Joined: Fri Jun 06, 2008 5:54 pm
Posts: 345
@Jos: You are right. I mistook the link and text at the bottom of your post for your sig!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner