小编Dav*_*vey的帖子

这些天学习LISP有用吗?

前几天我在车库出售时拿到了一本LISP书,只是想知道是否值得花一些时间.

lisp

27
推荐指数
6
解决办法
9813
查看次数

Wordpress搜索功能仅搜索帖子

我想使用wordpress搜索功能,但我希望它只搜索我的博客帖子并从查询中排除我的静态页面.这该怎么做?我并不反对使用插件.

php wordpress search

12
推荐指数
4
解决办法
4万
查看次数

背景图像没有出现在IE8中

所以我有一个小的标题图像在x轴上重复,但由于某种原因它不会出现在IE8中.有人知道一个工作吗?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content='' name='description' />
<meta content='' name='keywords' />

<link rel="stylesheet" type="text/css" href="style.css" media="screen" />



<title>Book Site</title>









</head>
<body>
<div id="wrapper">

<div id="header">

    <div id="title">
    <span class="maintitle">Site Title Goes Here</span>
    <br />
    <span class="subtitle">Transitional Justice, Post-Conflict Reconstruction & Reconciliation in Rwanda and Beyond
    Phil Clark and Zachary D. Kaufman, editors</span>
    </div>
    <img class="thebook" src="images/thebook.png" />
    <span class="bookblurb">
    <span class="bookbuy">Buy the book</span>
    get it online …
Run Code Online (Sandbox Code Playgroud)

html css internet-explorer internet-explorer-8

9
推荐指数
1
解决办法
3万
查看次数

为什么我的网站在IE中看起来像垃圾?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Davey Whitney</title>
<link rel="shortcut icon" href="http://daveywhitney.com/images/favicon.ico" />
<script src="js/jquery.js" type="text/javascript"><!--mce:0--></script>
<script src="js/jquery.lightbox-0.5.min.js" type="text/javascript"><!--mce:1--></script>
<script src="js/jquery.jparallax.js" type="text/javascript"><!--mce:2--></script>
<script src="js/jquery.easing.1.3.js" type="text/javascript"></script> 



<meta name="keywords" content="Davey Whitney,Davey,Whitney,Web Designer,Web Design,Web Development,Web" />
<meta name="description" content="Davey Whitney - Web Developer and so much more..." />
<link rel="stylesheet" href="style.css"  type="text/css" media="all" />

<script type="text/javascript">

jQuery(document).ready(function(){
    jQuery('#parallax')
    .animate(
{duration: '2000', easing: 'easeInSine'

    })
    .jparallax({yparallax:false},{xtravel: '100%'},{xtravel: '300px'});
});



</script>

</head>

<body bgcolor="#ffffff">

<div id="wrapper">

<div id="icons">
    <a href="mailto:davey@daveywhitney.com" …
Run Code Online (Sandbox Code Playgroud)

css xhtml internet-explorer

6
推荐指数
1
解决办法
885
查看次数

在没有插件的情况下使用内置在thickbox中的wordpress

我试图在我的主题中使用wordpress中的内置厚箱.我试图让它成为所有我通过管理员添加的图片自动具有thickbox功能.我尝试将它放在functions.php中,但它不起作用:

function fb_add_thickbox($content){
$content = preg_replace('/<a(.*?)href="(.*?).(jpg|jpeg|png|gif|bmp|ico)"(.*?)><img/U', '<a$1href="$2.$3" $4 class="thickbox"><img', $content);
return $content;
}
add_filter('the_content', 'fb_add_thickbox', 2);
Run Code Online (Sandbox Code Playgroud)

html css php wordpress jquery

6
推荐指数
1
解决办法
5514
查看次数

在WordPress表中查找所有图像

是否有一个mysql查询可以从表中提取所有图像?没有任何运气找到解决方案.谢谢

即 来自wordpress网站

图像都在wp_posts表中

在我的wp_posts表中,所有图像都与其他数据混合在一起.我想把这张桌子上的所有图像存储在我的硬盘上

mysql sql wordpress

4
推荐指数
1
解决办法
1万
查看次数

Css,内容不停留在边界内

我将此 div 的高度设置为 100%,但内容不断溢出。

这是页面:http : //cowgirlsbaking.com/membership

CSS:

#content {

 margin-left: auto;
 margin-right: auto;
 background-color: #FCF6E9;
 width:868px;
 height:100%;
 min-height: 650px;
 -moz-border-radius: 15px;
 -webkit-border-radius: 15px;
 border: 10px solid #EB7CDB;
Run Code Online (Sandbox Code Playgroud)

html css

3
推荐指数
1
解决办法
2379
查看次数

用css将彼此叠加的元素分层

我一直在玩这个滑动下拉jquery菜单.我将下拉区域向上移动了一点,带有负边距.我希望有一种方法可以将下拉分层放在作为操作触发器的父元素的顶部.我试过z-index但没有运气.谁知道我做错了什么?

这是现场:http://daveywhitney.com/overlay/sliding_menu.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sliding Menu Tutorial | HV-DESIGNS.CO.UK</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/slider.js"></script>

</head>

<body>
<div id="container">
<div id="header">
</div>

<div id="button">
<div id="trigger">
<img src="images/button.png" width="184" height="32" class="menu_class" />
</div>
<ul class="the_menu">
<li><a href="#">A Website #1</a></li>
<li><a href="#">A Website #2</a></li>
<li><a href="#">A Link #1</a></li>
<li><a href="#">A Link #2</a></li>
<li><a href="#">A Website #3</a></li>
<li><a href="#">A Website …
Run Code Online (Sandbox Code Playgroud)

html css jquery

3
推荐指数
2
解决办法
2万
查看次数

php联系表单干净的代码

试着用php制作我自己的联系表格.有没有更好/更清洁的方法来解决这个问题?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1 /DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Contact Form Practice</title>


</head>

<body>


<form method="POST" action="mailer.php">
Name:
<br>
<input type="text" name="name" size="19"><br>
<br>
Your Email Adress:
<br>
<input type="text" name="email" size="19"><br>
<br>
Message:
<br>
<textarea rows="9" name="message" cols="30"></textarea>
<br>
<br>
<input type="submit" value="Submit" name="submit">
</form>



</body>
</html>
Run Code Online (Sandbox Code Playgroud)

---------------- PHP ---------------

<?php
if(isset($_POST['submit'])) {

$to = "mail@cheapramen.com";
$subject = "Contact";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$message = $_POST['message'];

$body = "From: $name_field\n E-Mail: $email_field\n Message:\n …
Run Code Online (Sandbox Code Playgroud)

php forms contact

2
推荐指数
1
解决办法
3989
查看次数

Wordpress永久链接问题

我将wordpress永久链接更改为%pagname%.在此之前,我发布了两个博客条目(该网站是全新的).我的静态页面在更改后导航很好,但是当您点击我的帖子时,您会得到404.有没有其他人有这个问题?谢谢.

wordpress .htaccess permalinks

2
推荐指数
1
解决办法
6334
查看次数