jquery

If you need more help on the topic feel free to add a comment or create a new post on the Forum

Open jQuery Colorbox onLoad

I've been searching a bit on how to use Jquery Colorbox onLoad when I finally found out the solution thanks to Biostall.

It seems there's an optional parameter called open that you need to use.

  1. <script type="text/javascript">
  2.         $(document).ready(function() {
  3.                 $.fn.colorbox({href:"thankyou.html", open:true});
  4.         });
  5. </script>

Technology: 

How to fix IE7 Z-Index Issues using Jquery

I was searching around for an easy solution regarding the stupid IE7 z-index problems and i stumbled upon this article.

Tweaked the jQuery script a bit by adding the browser check.
Here's the end result for the IE7 z-index problem, it seems to work pretty well for me.

  1. $(document).ready(function() {
  2.     if ($.browser.msie && $.browser.msie < 8) {
  3.         var zIndexNumber = 1000;
  4.        
  5.         $('div').each(function() {
  6.             $(this).css('zIndex', zIndexNumber);

Technology: 

Subscribe to jquery