Rev 15 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15 | Rev 16 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $(document).ready(function() { |
1 | $(document).ready(function() { |
2 | $("a.group").each(function(){ |
- | |
3 | var $link = $(this); |
- | |
4 | $link.click(function(){ |
- | |
5 | $.fancybox({ |
- | |
6 | 'speedIn': 300, |
- | |
7 | 'speedOut': 300, |
- | |
8 | 'overlayColor': '#000', |
- | |
9 | 'overlayOpacity': 0.7,'centerOnScroll': true, |
- | |
10 | 'padding': 0, |
- | |
11 | 'title': $(this).find('div.link_title:first').html(), |
- | |
12 | 'href': $(this).attr('href'), |
- | |
13 | 'titlePosition': 'over', |
- | |
14 | 'transitionIn': 'elastic', |
- | |
15 | 'transitionOut': 'elastic' |
- | |
16 | }); |
- | |
17 | return false; |
- | |
18 | }); |
- | |
- | 2 | $("a.group").fancybox({ |
|
- | 3 | 'speedIn': 300, |
|
- | 4 | 'speedOut': 300, |
|
- | 5 | 'overlayColor': '#000', |
|
- | 6 | 'overlayOpacity': 0.7,'centerOnScroll': true, |
|
- | 7 | 'padding': 0, |
|
- | 8 | 'href': $(this).attr('href'), |
|
- | 9 | 'titlePosition': 'over', |
|
- | 10 | 'transitionIn': 'elastic', |
|
- | 11 | 'transitionOut': 'elastic', |
|
- | 12 | 'titleShow': false |
|
19 | }); |
13 | }); |
20 | $("a.pages").each(function(){ |
- | |
21 | var $link = $(this); |
- | |
22 | $link.click(function(){ |
- | |
23 | $.fancybox({ |
- | |
24 | 'width' : '75%', |
- | |
25 | 'height' : '75%', |
- | |
26 | 'autoScale' : false, |
- | |
27 | 'padding': 0, |
- | |
28 | 'overlayOpacity': 0.7,'centerOnScroll': true, |
- | |
29 | 'transitionIn' : 'elastic', |
- | |
30 | 'transitionOut' : 'elastic', |
- | |
31 | 'type' : 'iframe', |
- | |
32 | 'href': $(this).attr('href'), |
- | |
33 | 'titleShow': false |
- | |
34 | }); |
- | |
35 | return false; |
- | |
36 | }); |
- | |
- | 14 | $("a.pages").fancybox({ |
|
- | 15 | 'width' : '75%', |
|
- | 16 | 'height' : '75%', |
|
- | 17 | 'autoScale' : false, |
|
- | 18 | 'padding': 0, |
|
- | 19 | 'overlayOpacity': 0.7,'centerOnScroll': true, |
|
- | 20 | 'transitionIn' : 'elastic', |
|
- | 21 | 'transitionOut' : 'elastic', |
|
- | 22 | 'type' : 'iframe', |
|
- | 23 | 'href': $(this).attr('href'), |
|
- | 24 | 'titleShow': false |
|
37 | }); |
25 | }); |
- | 26 | ||
- | 27 | $("a.specification").fancybox({ |
|
- | 28 | 'scrolling' : 'no', |
|
- | 29 | 'titleShow' : false, |
|
- | 30 | 'overlayOpacity': 0.7,'centerOnScroll': true, |
|
- | 31 | 'padding' : 0, |
|
- | 32 | 'transitionIn' : 'elastic', |
|
- | 33 | 'transitionOut' : 'elastic' |
|
- | 34 | }).tooltip({ |
|
- | 35 | effect: 'slide', |
|
- | 36 | tipClass : 'imgtooltip', |
|
- | 37 | opacity : 0.7 |
|
- | 38 | }).dynamic({ bottom: { direction: 'down', bounce: true } }); |
|
38 | }); |
39 | }); |