小编who*_*hat的帖子

HTML到经典ASP - 页面加载为代码行(ASP)

我正在使用:http: //glustik.com/essex/index.html

并试图使ASP成为这样:http: //glustik.com/essex/index.asp

但ASP只是作为代码加载.我想使用一些TXT包含是为什么我这样做,但它似乎总是只加载代码行而不是渲染.

我在这里错过了什么?请告诉我.

html php asp-classic

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

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

如何使用jQuery选择器

我有这样的HTML结构: -

<article id="a_post" class="a_post">
<div id="thumbnail">
<img id="shine" src="wp-content/themes/dabanggknight/images/play.png"/>
</div>
<div id="instant_video" class="instant_video">
<span class="close"></span>
    // Some content here
</div>
</article>    
<article id="a_post" class="a_post">
<div id="thumbnail">
<img id="shine" src="wp-content/themes/dabanggknight/images/play.png"/>
</div>
<div id="instant_video" class="instant_video">
<span class="close"></span>
    // Some content here
</div>
</article>
Run Code Online (Sandbox Code Playgroud)

在上面的HTML中,<div id="instant_video" class="instant_video"> <span class="close"></span> // Some content here </div>有一个css display:none;.我想要做的就是当有人点击时 <img id="shine" src="wp-content/themes/dabanggknight/images/play.png"/>我想要滑动div,其id为instant_video,其显示在css中设置为none.

然后当有人点击关闭类的跨度时,它会再次淡出特定的div.

但是我遇到了jQuery选择器的一个严重问题,因为我真的很喜欢它.

我正在使用的代码在所有隐藏的div中滑动,ID为id,instant_video并且问题仍然存在.

我想要做的只是向下滑动包含我点击的图像的article标签内的div.

我目前使用的代码如下: -

jQuery(document).ready(function() {
    jQuery('img#shine').click(function() {
        jQuery('.instant_video').slideDown('fast')
    }); 
});
jQuery(document).ready(function() {
    jQuery('.close').click(function() {
        jQuery('.instant_video').fadeOut('slow') …
Run Code Online (Sandbox Code Playgroud)

jquery slidedown jquery-selectors fadein

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

Magento - 将主题转移到另一个站点

我在Magento(版本1.4)中为客户构建了一个站点,现在需要将该主题复制到同一客户的新站点.转移主题就像从"app"和"skin"复制相关文件夹一样简单(然后在新的Magento安装中激活)?

我还需要安装几个扩展 - 我应该在移动主题之前安装它们以便它们不会覆盖任何内容,或者主题是否不受扩展的影响?

themes magento

0
推荐指数
1
解决办法
5047
查看次数