-
two conflicting scripts (JavaScript)
Thanks!!! I've done it. I used jQuery Lightbox, page are loaded faster and everything is simpler. Using prototype.js Lightbox with other scripts is really messy. Also, I tried noConflict but jQuery Lightbox seems to be better solution.
-
two conflicting scripts (JavaScript)
I'm using two scripts on single page and I'm not having experience in that. First is slideshow and second is lightbox. When I insert lightbox code (paths to lightbox files) slideshow stops working. Without lightbox everything works fine. Can anyone help me? <link href="design.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="jquery-1.2.6.min.js"></script> <!-- InstanceBeginEditable name="head" --> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script> <script type="text/javascript"> function slideSwitch() { var $active = $('#slideshow IMG.active'); if ( $active.length == 0 ) $active = $('#slideshow IMG:last'); // use this to pull the images in the order they appear in the markup var $next = $active.next().length ? $active.next() : $('#slideshow IMG:first'); $active.addClass('last-active'); $next.css({opacity: 0.0}) .addClass('active') .animate({opacity: 1.0}, 1000, function() { $active.removeClass('active last-active'); }); } $(function() { setInterval( "slideSwitch()", 3500 ); }); </script> <style type="text/css"> /*** set the width and height to match your images **/ #slideshow { position:relative; height:613px; } #slideshow IMG { position:absolute; top:0; left:0; z-index:8; opacity:0.0; } #slideshow IMG.active { z-index:10; opacity:1.0; } #slideshow IMG.last-active { z-index:9; } </style> <!-- InstanceEndEditable -->
-
Design elements falling apart
I have half-finished web and I need some help. It's about http://www.kastell-apartmani.com/1/en/orabu_en.html I have unwanted borders around flash, and when I put more content into middle editable region the design falls apart. How to solve it?
-
Problem with table
I have a problem with table, whatever I have space between rows. this is link so you can see the problem: http://www.opcina-lopar.hr/mapa_mjesta.html I tried everything, putting pictures into cells, putting in one large table, adjusting widths heights... but I have horizontal space all the time. It works ok in IE, but not in firefox 3.08 The same table works fine when I put it in a blank webpage, this is the code of the table - code do you have any solution?
-
hi 2 everyone
hi, i'm web/designer from croatia, done some websites using x/html, css, flash, js... done some graphic designs... but there is always sth new to learn...