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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Operation Aborted nightmareOperation Aborted nightmare
Previous
 
Next
New Post
5/12/2009 8:57 PM
 

I wanted to add Shadowbox.js to my skin file so that I could call it from any module on the page. So I added the following to the <head> section of my skin:

<link rel="stylesheet" type="text/css" href="/Portals/0/Shadowbox/shadowbox.css">
<script type="text/javascript" src="/Portals/0/Shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
    players:    ["iframe"],
overlayOpacity:  0.3
});
</script>
 

This works great in Firefox but IE7 throws an "operation aborted" error.  Any Clues?

Thanks for your help!

Greg

 
New Post
5/12/2009 9:40 PM
 

I tried adding the above script to the header section in page settings.  This actually got the script into the head tag when I view page source so it should work better than adding the script to the head tag in my skin html.  Works in Firefox - "operation aborted" in IE7.

Tried adding the script to the header section of a module - works in Firefox - "operation aborted in IE7.

Next going to try the window.onload route.

Any clues greatly appreciated.

Greg

 
New Post
5/13/2009 10:26 AM
 

Well, I found the problem - in general terms anyway.  I found that it works in IE when using the default DNN skin - MiminamExtropy.  But wouldn't work with any other skin I tried. I think it has something to do with the DTD (Document Type Definition) tag (generally the first first thing in a skin file). I tried copying the DTD tag to my skin but that didn't work either so I am modifying the default DNN skin to fit my needs.

Greg

 
New Post
5/14/2009 6:51 PM
 

Well, after many hours I've found the solution. Just thought I would share it.

Solution - while shadowbox is nice and a stand alone solution (no jquery or other js framework needed) Lytebox.js is also a stand alone solution and is much easier to work with and doesn't throw the "operation aborted"  error in IE when using DNN.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Operation Aborted nightmareOperation Aborted nightmare


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