开发者

Modal popup with a difference

I would like to use this example of a sort of modal window as seen here: http://www.insight51.com/surf/ (just click in any image to see it in action), I checked the source of the page and I can see I will need a lot of css and scripts... this is not a normal popup...:

<meta name="location" content="HemiEU" /> 
    <link rel="stylesheet" type="text/css" media="screen" href="themes/insight/css/framework.css" /> 
    <link rel="stylesheet" type="text/css" media="screen" href="themes/insight/css/stylesheet.css" /> 
    <link rel="stylesheet" type="text/css" media="screen" href="themes/insight/css/jquery.modal.css" /> 
    <!--[if lt IE 9]><link href="themes/insight/css/ie8.css" rel="stylesheet" type="text/css" media="screen" /><![endif]-->     
    <!--[if IE 6]><link href="t开发者_StackOverflowhemes/insight/css/ie6.css" rel="stylesheet" type="text/css" media="screen" /><![endif]-->        
    <script type="text/javascript" src="themes/insight/js/jquery.min.js"></script>      
    <script type="text/javascript" src="themes/insight/js/combined.js"></script>    
    <script type="text/javascript" src="themes/insight/js/common.js"></script>  
    <!--[if lt IE 9]>
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
    <![endif]-->

can you help me out?

the website I am working on is www.thedayistoday.co.uk.


The site is using jQuery for general JavaScript sexiness, and the jqModal plugin for the modal dialog boxes. I did also notice some other jQuery plugins on the page (such as jQuery Masonry) but those don't really have anything to do with the modal dialogs.

Here's a very minimal demo to get you started: http://jsbin.com/aqase5

Just an FYI, there are a ton of other jQuery modal window/lightbox plugins if you want something different. A small sampling:

  • https://stackoverflow.com/questions/756342/whats-your-favorite-jquery-modal-plugin
  • Fancybox
  • jQueryUI Dialog
  • DOM Window
  • Shadowbox.js
  • Colorbox
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜