Team:IIT Madras/testpage
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<html> | <html> | ||
<head> | <head> | ||
- | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"/></script> | |
<script type="text/javascript"> | <script type="text/javascript"> | ||
$.noConflict(); | $.noConflict(); | ||
- | function test( $ ) { | + | ( function test( $ ) { |
alert(); | alert(); | ||
$("#block1").fadeIn(); | $("#block1").fadeIn(); | ||
// Simple scope wrap, where $ is available as alias for jQuery. | // Simple scope wrap, where $ is available as alias for jQuery. | ||
// Code here will be executed immediately | // Code here will be executed immediately | ||
- | } | + | } )( jQuery ); |
</script> | </script> | ||
<style> | <style> |
Revision as of 21:57, 2 September 2011