Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedLoose javascript on Partial renderingLoose javascript on Partial rendering
Previous
 
Next
New Post
3/15/2010 3:27 PM
 

I am trying to use mootools slide out side panel.  It works after the page is loaded the first time but after a post back through the module's partial rendering I loose the javascript on a link.  The link has an id of h_toggle and this java is ran at the top of my module.  After a post back the link does nothing.  I have tried 10 different ways to get the java to reinitialize the code but I can't figure out how to get it to work.  Any help would be very appreciated!

 

window.addEvent(

'domready', function() {var status = {'true': 'open','false': 'close'

};

 

 

 

//--horizontal

 

 

$(

e.stop();

myHorizontalSlide.toggle();

});

 

 

var myHorizontalSlide = new Fx.Slide('horizontal_slide', {mode: 'horizontal'});'h_toggle').addEvent('click', function(e){// When Horizontal Slide ends its transition, we check for its status

 

// note that complete will not affect 'hide' and 'show' methods

myHorizontalSlide.addEvent(

$(

});

});

'complete', function() {'horizontal_status').set('html', status[myHorizontalSlide.open]);

Thanks!

 

 

 

 
New Post
4/2/2010 3:14 AM
 

 

Can you move the Javascript event binding portion out of the Ajaxified (partial rendered) block?

Or simply turn off partial rendering...

 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedLoose javascript on Partial renderingLoose javascript on Partial rendering


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out