imagematernal
Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18643 Posts in 5527 Topics- by 9327 Members - Latest Member: Yannis

May 20, 2013, 04:24:51 PM
JOOM::GALLERY::FORUMJoomGallery 1.5 MVC - ExtensionsModulespagination.js debuging help.
Pages: [1]
Print
Author Topic: pagination.js debuging help.  (Read 777 times)
0 Members and 1 Guest are viewing this topic.
DSarmis
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: October 19, 2011, 11:21:31 AM »

Hellow to everyone,
I am useing joomgallery and joomimg module.
Everything is fine (as far as i have gone till now) but there are no events at the pagination numbers.
I know a little of js so i tryed to find out what is wrong.
This is what i did:
    I added the next simple *alert("test1"); , alert("test2"); , alert("test3");* code at pagination.js
    Only alert("test1"); is trigered.
    The other two alerts do not triger either on mouseover or click.
    Can anyone find out why? or suggest anything?
    Here is the part of the code i added the alerts;

    // *** Events ***
    // Active pagination link(s)
    this.paglinks= $$('span.'+this.options.csstag+'paglink','span.'+this.options.csstag+'paglinkactive');
    this.paglinks.each(function(link)
    {
alert("test1");
      // Mouse hover, not for active link
      link.addEvent('mouseover',function(event){
alert("test2");
        if (link.className.indexOf('paglinkactive')==-1)
        {
          this.setStyle('cursor','pointer');
        }
      });
      // Click
      link.addEvent('click',function(event){
alert("test3");
        if (link.className.indexOf('paglinkactive')==-1)
        {
............
« Last Edit: October 19, 2011, 07:07:55 PM by DSarmis » Logged
Mobilepro
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #1 on: October 19, 2011, 06:09:21 PM »

I had the same problem with pagination links not working and now the pagination.js script doesn't load at all. Let me know if you have any luck finding a resolution. It's been very quiet here in the 'Modules' section.
Logged
DSarmis
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #2 on: October 19, 2011, 07:07:40 PM »

I did solve the problem. some modules are not able to work together. i was using the loginRegister module. or something like this. when i disabled it everything worked fine.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 842 access attempts in the last 7 days.