Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unnecessary coding - how to get rid of this?
#1
I have installed 2 plugins - Dominion jCart and Simple Image Gallery. Now I have unnecessary coding in the rest of all pages. Please tell me how to get rid of them?:

Quote:<style type="text/css">

#cartbox { margin-left:auto; margin-right:auto; width:200px; }

#shopbag { width:100%; }

.clear { clear:both; }

.jcart { color:#000066; margin:0 8px 8px 0; borderConfusedolid 2px #FF0000; float:left; text-align:center; width:200px; height:150px;}

.jcart ul { margin:0; list-style:none; padding:0 2px; text-align:left; }

.jcart fieldset { border:0; }

.jcart strong { color:#000066; }

.jcart .button { margin:5px; padding:2px; }



fieldset { border:0; }

#paypal-button { display:block; padding:10px; margin:20px auto; }

* { margin:0; padding:0;}



</style>



<link rel="stylesheet" type="text/css" media="screen, projection" href="http://domain.com/getsimple/plugins/dominion-jcart/js/jcart.css" />

<script type='text/javascript' src='http://domain.com/getsimple/plugins/dominion-jcart/js/jquery-1.4.3.min.js'></script>

<script type="text/javascript" src="http://domain.com/getsimple/plugins/dominion-jcart/js/jcart-javascript.php?base=http://domain.com/getsimple/"></script>

<script type="text/javascript" src="http://domain.com/getsimple/plugins/dominion-jcart/js/jquery.evtpaginate.js"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<link rel="stylesheet" type="text/css" href="http://domain.com/getsimple/plugins/squareit-gallery/css/sqr_imgal.css" media="all">
<script>
//define no conflict jquery variable
var $jSqr = jQuery.noConflict();

//Vertical Align
$jSqr(window).load(function() {
$jSqr('.sqr_img').vAlign();
});

(function ($) {
// VERTICALLY ALIGN FUNCTION
$.fn.vAlign = function() {
return this.each(function(i){
var ah = $(this).height();
var ph = $(this).parent().parent().height();
var mh = (ph - ah) / 2;
$(this).css('padding-top', mh);
$(this).css('padding-bottom', mh);
});
};
})(jQuery);
</script>

<script type="text/javascript" src="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
<script type="text/javascript" src="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.easing-1.3.pack.js"></script>
<script type="text/javascript" src="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.mousewheel-3.0.2.pack.js"></script>

<link rel="stylesheet" href="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
Reply


Messages In This Thread
Unnecessary coding - how to get rid of this? - by arthur_a_keen - 2010-11-15, 23:03:52



Users browsing this thread: 1 Guest(s)