Products

Solutions

Learn More

Partners

Community

Blog

About

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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Disable popups on mobile devices onlyDisable popups on mobile devices only
Previous
 
Next
New Post
9/16/2013 11:15 AM
 

Hello,

I like the normal popups on desktop computers, but don't like them on mobile devices. I'm trying to put together a responsive skin, and I'd like to make it so the popups get disabled when the user is on a mobile device.

Does anybody know if that's possible or how I might accomplish it?

Thanks,

Mike

 
New Post
9/18/2013 3:59 PM
 
theres no built in support for it as the value is stored at the modulecontrol level (http://www.dnnsoftware.com/wiki/Page/Modal-Popups) - I guess you could do some device detection and use jquery to detect any "return dnnModal.show..." via a regular expression match and remove the contents of that attribute so the original target applies.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Disable popups on mobile devices onlyDisable popups on mobile devices only


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW