最近在尝试使用bootstrap的模态框使用模态框主要要引入一下几个js和css:bootstrap.cssjquery.1.9.1.js(这个可以灵活选择)bootstrap.jshtml页面的写法如下: 
在写模态框的时候使用的class主要有:modal hide fade inm...
                            
                            
                                分类:
其他好文   时间:
2014-05-17 15:40:10   
                                阅读次数:
300
                             
                    
                        
                            
                            
                                要想使用Bootstrap 
Popover(弹出框)则必须引入其依赖的文件:jquery.js这个必须的(还是要写在其他js前面,bootstrap是依赖jquery的哦)bootstrap-tooltip.jsbootstrap-popover.jsbootstrap.css我试过不引入boots...
                            
                            
                                分类:
其他好文   时间:
2014-05-17 04:19:53   
                                阅读次数:
184
                             
                    
                        
                            
                            
                                Bootstrap 
ScrollSpy(滚动监听)是bootstrap插件提供的一个非常有趣的功能.当页面空间有限的时候我们可以利用它来显示我们想要显示的内容官方说的想要利用此功能需要引入以下文件:bootstrap/css/bootstrap.css 
jquery.1.9.1.js bootstr...
                            
                            
                                分类:
其他好文   时间:
2014-05-17 02:24:29   
                                阅读次数:
379
                             
                    
                        
                            
                            
                                Bootstrap是Twitter推出的一个开源的用于前端开发的工具包。它由Twitter的设计师Mark
 Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。Bootstrap提供了优雅的HTML和CSS规范,它即是由动态CSS语言Less写成。Bootstrap一经推出后颇受欢迎,一直是GitHub上的热门开源项目,包括NASA的MSNBC(微软全国广播公司)的Br...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 13:48:12   
                                阅读次数:
370
                             
                    
                        
                            
                            
                                <!doctypehtml>
<html>
<metacharset="utf-8"/>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkrel="stylesh..
                            
                            
                                分类:
其他好文   时间:
2014-05-13 11:58:21   
                                阅读次数:
335
                             
                    
                        
                            
                            
                                登录只要放在主页就可以了,这里为了美观,把用bootstrap的form-inline类修饰,如下样子:
前台代码如下:
{%extends 'main.html'%}
{%block header%}
	首页
	成员
	群聊
	{%if not cookieName%}
	
		
			用户名
			
		
		
			密码
			
		
		登录
		无帐号,请点击注册
	
	{...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 06:01:54   
                                阅读次数:
349
                             
                    
                        
                            
                            
                                <!doctypehtml>
<html>
<metacharset="utf-8"/>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkrel="stylesh..
                            
                            
                                分类:
其他好文   时间:
2014-05-13 05:03:20   
                                阅读次数:
251
                             
                    
                        
                            
                            
                                <!doctypehtml>
<html>
<metacharset="utf-8"/>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkrel="stylesh..
                            
                            
                                分类:
其他好文   时间:
2014-05-13 03:47:28   
                                阅读次数:
422
                             
                    
                        
                            
                            
                                <!doctypehtml>
<html>
<metacharset="utf-8"/>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkrel="stylesh..
                            
                            
                                分类:
其他好文   时间:
2014-05-13 03:30:05   
                                阅读次数:
250
                             
                    
                        
                            
                            
                                <!doctypehtml>
<html>
<metacharset="utf-8"/>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkrel="stylesh..
                            
                            
                                分类:
其他好文   时间:
2014-05-13 03:13:38   
                                阅读次数:
238