Submit your widget

POP dropdown menus with jQuery

Created 13 years ago   Views 10072   downloads 2343    Author seaofclouds
POP dropdown menus with jQuery
View DemoDownload
87
Share |

Include the stylesheet, with any of your mods.

<link href="/pop/stylesheets/pop.css" media="all" rel="stylesheet" type="text/css"/> 

Include jQuery and jquery.pop.js

<script language="javascript" src="/pop/javascripts/jquery.js" type="text/javascript"></script>
<script language="javascript" src="/pop/javascripts/jquery.pop.js" type="text/javascript"></script>

Initialize pop!

<script type='text/javascript'>
   $(document).ready(function(){
     $.pop();
   });
</script>

Wrap your popped element with your desired pop class.

<div class='pop'>
   <p>you can put anything you want in here!</p>
   <p>images, links, movies of your cats. you name it!</p>
</div>

The article source:http://pop.seaofclouds.com/