View difference between Paste ID: N8FqQ77U and cdJX5W0V
SHOW: | | - or go back to the newest paste.
1
<div style="display:none">
2
			<div id="signup_screen">
3
			
4
            <h1 class="sign"><span class="signupicon"></span>Signup and Creat New account</h1>
5
            
6
         
7
         
8
         
9
         
10
       <div class="formbox">
11
     
12
       <ul class="tabs_form"> 
13
        <li class="active" rel="tab1"><span class="complet_icon"></span>Relevant News</li>
14
        <li rel="tab2">Qmunity News</li>
15
        <li rel="tab3">City News</li>
16
       
17
    </ul>
18
19
<div class="tab_container_form"> 
20
21
     <div id="tab1" class="tab_content_form"> 
22
    
23
      
24
      This is tab1 here
25
      
26
      
27
    
28
    
29
              
30
31
     </div><!-- #tab1 -->
32
     <div id="tab2" class="tab_content_form"> 
33
34
    First form will go here
35
     
36
     </div><!-- #tab2 -->
37
     
38
     
39
     <div id="tab3" class="tab_content_form"> 
40
41
      
42
    tab3 form will go here
43
      
44
45
     </div><!-- #tab3 -->
46
    
47
     
48
    
49
     
50
 </div> <!-- .tab_container --> 
51
 
52
 
53
 </div> <!--news container ends here-->
54
         
55
                    
56
		</div>  <!--signup_screen ends here-->
57-
		</div>  <!--end of hidden signup_div-->
57+
		</div>  <!--end of hidden signup_div-->
58
<script>
59
$(document).ready(function() {
60
61
	$(".tab_content_form").hide();
62
	$(".tab_content_form:first").show(); 
63
64
	$("ul.tabs_form li").click(function() {
65
		console.log('clicked !');
66
		$("ul.tabs_form li").removeClass("active");
67
		$(this).addClass("active");
68
		$(".tab_content_form").hide();
69
		var activeTab = $(this).attr("rel"); 
70
		$("#"+activeTab).fadeIn(); 
71
	});
72
});
73
</script>
74
75
<script type="text/javascript">
76
$(document).ready(function(){
77
var j = jQuery.noConflict();
78
79
j(".inline1").colorbox({inline:true, width:"786px" ,height:"409px"});
80
81
});
82
83
84
</script>