Shape 5

Joomla Templates => Aluma Photography - October - Club => : techgump August 13, 2009, 02:15:53 PM



: IE operation aborted.
: techgump August 13, 2009, 02:15:53 PM
I am using CC_Nwsletter and Simple Image Gallery Plugin on this site:
http://www.sandprintsphotos.com

I have disable cc_newsletter in right position as I get the same error with it as I do with the Simple Image Gallery Plugin. You can see the gallery plugin in use here:

http://www.sandprintsphotos.com/index.php?option=com_content&view=article&id=52&Itemid=66

I do not get an operation aborted issue on my screen, but I do get an error.
Webpage error details

Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.sandprintsphotos.com/index.php?option=com_content&view=article&id=52&Itemid=66


My client (probably on ei7) does not get this but gets an operation aborted.

Again,  I get this error with either the cc_newsletter mod enable, or the page where the gallery is loaded. I have used these two components in coutless builds and have not run into this issue, and am coming to realize that IE has a serious bug, of which they provide suggestions to work around., but I couldn't figure out with this template.

It looks like becuase the s5 scripts (towards bottom of index.php template doc) are modifying the document beofre the elements are closing that this seems to cause issues with IE... but only when certain mods/functions are imposed. I have to use these two particular mods... please advise!!!!!!! HELP! It is a matter of urgency, thanks guys.

I can see the background doesnt want to load (modify doc before load finish) when I refresh the gallery page.


: Re: IE operation aborted.
: techgump August 13, 2009, 02:43:59 PM
Problem solved.

The issue is being caused by the document loading the background image at the end of the template, while still loading and not clsoing yet the document element. The method which s5 calls for the backgound image (which is not incorrect, but IE 7 has major bugs with) it will cuase some issuse and conflicts.

To negate this, manually set the background image in your css styling in header of index.php, and disable the call to it from the script.

CSS:
#s5_body {
background:#<?php echo $s5_bg_color ?> url(<?php echo $this->baseurl ?>/templates/aluma_photography/images/s5_default_bg.jpg);
background-repeat: repeat;
background-position:top center;
}


I am not using the call to background now becuaes of css, nor am I using the tooltip so I commented out:

<!--   <?php if ($s5_tooltips  == "yes") { ?>
   <script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/aluma_photography/js/tooltips.js"></script>
   <?php } ?>
   
   <script type="text/javascript">

   var s5_bg = "url(<?php echo $this->baseurl ?>/templates/aluma_photography/images/s5_default_bg.jpg)";
   s5_load_bg();

   </script>
-->



NOW NEWSLETTER IS WORKING AND SIMPLE IMAGE GALLERY AND YOO EFFECTS! Wheeph!