导航:首页 > 源码编译 > 好看的引导页源码html

好看的引导页源码html

发布时间:2022-10-31 03:22:19

㈠ HTML浏览器兼容问题

360浏览器也是使用的ie内核,看来是几个ie和ff之间都不兼容。可以发页面文件到[email protected]或者自己改改,一般成功一次,以后就比较顺手了,下面是几个css hack,参考一下吧 IE都能识别*,标准浏览器(如FF)不能识别*;
IE6能识别*,但不能识别 !important;
IE7能识别*,也能识别 !important;
IE8能识别\0,不能识别*,+,_,*加!important;
FF不能识别*,但能识别 !important;
例如style="*width:10px!important; width:20px;"
这样在IE6下宽度为10px,在IE7下宽度时20px ie8下的问题可以忽略,在head区域加上如下代码就可以<META http-equiv=X-UA-Compatible content=IE=EmulateIE7>

㈡ 想知道视频引导页具体怎么实现

方法可以用模块去实现, 也可以用api自身的openFrameGroup来实现,

api.openFrameGroup ({
name: 'group1',
background: '#fff',
scrollEnabled: true,//设置滚动
rect: {
x: 0,
y: 0,
w: 'auto',
h: 'auto'
},
index: 0,
frames: [{
name: 'guide1',
url: './html/guide1.html',
bgColor: './image/guide.png'//图片直接作为背景即可
},{
name: 'guide2',
url: './html/guide2.html',
bgColor: './image/guide.png'
}]
}, function(ret, err){

});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
打开的guide1和guide2样式需要调一下:

html,
body {
height: 100%;
background: rgba(0, 0, 0, 0);
}
1
2
3
4
5
可以在最后一页的body里添加一个按钮去开启应用。

㈢ 正在做网站,asp网站想添加一个html引导页,要怎么弄,请详细解说!

<%
dimydy:ydy=Request.Cookies("YinDaoYe")
ifydy<>"GO"then'检查cookie值,'
Response.Cookies("YinDaoYe")="GO"'cookies赋值'
Response.Cookies("YinDaoYe").Expires=DateAdd("m",6,now())'过期时间6个月'
Response.write"http://A.com"'跳转html引导页'
endif
%>

放在asp首页 前部,上面html地址指向引导页地址。

是这个意思么

㈣ html5 做app引导页怎么做

H5e教育Html5开发为您解答:
1、制作html5引导页面。
2、把做好的页面放入Android工程中assets文件夹下。
3、利用WebView加载asset文件夹下的html文件。
4、在引导页最后一页的按钮上捕捉点击事件,结束引导页,进入程序。

㈤ 谁能提供一些网站引导页的源代码

这位朋友你好:

就目前实现技术和手法来说,除了FLASH制作引导页之外,其它的我想说只能是叫页面过渡效果的实现,基本上现在除了不使用FLASH,使用最多的就是JS了,不知道你有没有相关的网站实例也好让咱们开开眼界。

㈥ 电脑页面的什么特效

这个是html5的效果,以下是源代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>html5跟随鼠标炫酷网站引导页动画 - 何问起</title>
<link href="http://hovertree.com/texiao/html5/index/hovertreewelcome.css" type="text/css" rel="stylesheet" />
</head>
<body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false">
<div id="hovertreecontainer">
<div>
<h1 id="h1">何问起 </h1>
<h2 id="h2"> 想问候,不知从何问起,就直接说喜欢你!</h2>
<h3 id="h2">hovertree.com为您提供前端特效,ASP.NET等设计开发资料。<a href="http://hovertree.com/hvtart/bjae/onxw4ahp.htm">原文</a> <a href="http://hovertree.com/texiao/">特效</a></h3>
<p> </p>
<p><strong><a href="http://hovertree.com/">进入主站</a></strong></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div>
</div>
<canvas id="canvas"></canvas>
<audio autoplay="autoplay">
<source src="http://hovertree.com" type="audio/ogg">
<source src="http://cms.hovertree.com/hovertreesound/hovertreexihuanni.mp3" type="audio/mpeg">
您的浏览器不支持播放音乐。请用支持html5的浏览器打开,例如chrome或火狐或者新版IE等。
<br />何问起 hovertree.com
</audio><script type="text/javascript" src="http://hovertree.com/texiao/html5/index/hovertreewelcome.js">
</script>
<script type="text/javascript">
; (function (window) {
var ctx,
hue,
logo,
form,
buffer,
target = {},
tendrils = [],
settings = {};
settings.debug = true;
settings.friction = 0.5;
settings.trails = 20;
settings.size = 50;
settings.dampening = 0.25;
settings.tension = 0.98;
Math.TWO_PI = Math.PI * 2;
// ========================================================================================
// Oscillator 何问起
// ----------------------------------------------------------------------------------------
function Oscillator(options) {
this.init(options || {});
}
Oscillator.prototype = (function () {
var value = 0;
return {
init: function (options) {
this.phase = options.phase || 0;
this.offset = options.offset || 0;
this.frequency = options.frequency || 0.001;
this.amplitude = options.amplitude || 1;
},
update: function () {
this.phase += this.frequency;
value = this.offset + Math.sin(this.phase) * this.amplitude;
return value;
},
value: function () {
return value;
}
};
})();
// ========================================================================================
// Tendril hovertree.com
// ----------------------------------------------------------------------------------------
function Tendril(options) {
this.init(options || {});
}
Tendril.prototype = (function () {
function Node() {
this.x = 0;
this.y = 0;
this.vy = 0;
this.vx = 0;
}
return {
init: function (options) {
this.spring = options.spring + (Math.random() * 0.1) - 0.05;
this.friction = settings.friction + (Math.random() * 0.01) - 0.005;
this.nodes = [];
for (var i = 0, node; i < settings.size; i++) {
node = new Node();
node.x = target.x;
node.y = target.y;
this.nodes.push(node);
}
},
update: function () {
var spring = this.spring,
node = this.nodes[0];
node.vx += (target.x - node.x) * spring;
node.vy += (target.y - node.y) * spring;
for (var prev, i = 0, n = this.nodes.length; i < n; i++) {
node = this.nodes[i];
if (i > 0) {
prev = this.nodes[i - 1];
node.vx += (prev.x - node.x) * spring;
node.vy += (prev.y - node.y) * spring;
node.vx += prev.vx * settings.dampening;
node.vy += prev.vy * settings.dampening;
}
node.vx *= this.friction;
node.vy *= this.friction;
node.x += node.vx;
node.y += node.vy;
spring *= settings.tension;
}
},
draw: function () {
var x = this.nodes[0].x,
y = this.nodes[0].y,
a, b;
ctx.beginPath();
ctx.moveTo(x, y);
for (var i = 1, n = this.nodes.length - 2; i < n; i++) {
a = this.nodes[i];
b = this.nodes[i + 1];
x = (a.x + b.x) * 0.5;
y = (a.y + b.y) * 0.5;
ctx.quadraticCurveTo(a.x, a.y, x, y);
}
a = this.nodes[i];
b = this.nodes[i + 1];
ctx.quadraticCurveTo(a.x, a.y, b.x, b.y);
ctx.stroke();
ctx.closePath();
}
};
})();
// ----------------------------------------------------------------------------------------
function init(event) {
document.removeEventListener('mousemove', init);
document.removeEventListener('touchstart', init);
document.addEventListener('mousemove', mousemove);
document.addEventListener('touchmove', mousemove);
document.addEventListener('touchstart', touchstart);
mousemove(event);
reset();
loop();
}
function reset() {
tendrils = [];
for (var i = 0; i < settings.trails; i++) {
tendrils.push(new Tendril({
spring: 0.45 + 0.025 * (i / settings.trails)
}));
}
}
function loop() {
if (!ctx.running) return;
ctx.globalCompositeOperation = 'source-over';
ctx.fillStyle = 'rgba(8,5,16,0.4)';
ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height);
ctx.globalCompositeOperation = 'lighter';
ctx.strokeStyle = 'hsla(' + Math.round(hue.update()) + ',90%,50%,0.25)';
ctx.lineWidth = 1;
if (ctx.frame % 60 == 0) {
console.log(hue.update(), Math.round(hue.update()), hue.phase, hue.offset, hue.frequency, hue.amplitude);
}
for (var i = 0, tendril; i < settings.trails; i++) {
tendril = tendrils[i];
tendril.update();
tendril.draw();
}
ctx.frame++;
ctx.stats.update();
requestAnimFrame(loop);
}
function resize() {
ctx.canvas.width = window.innerWidth;
ctx.canvas.height = window.innerHeight;
}
function start() {
if (!ctx.running) {
ctx.running = true;
loop();
}
}
function stop() {
ctx.running = false;
}
function mousemove(event) {
if (event.touches) {
target.x = event.touches[0].pageX;
target.y = event.touches[0].pageY;
} else {
target.x = event.clientX
target.y = event.clientY;
}
event.preventDefault();
}
function touchstart(event) {
if (event.touches.length == 1) {
target.x = event.touches[0].pageX;
target.y = event.touches[0].pageY;
}
}
function keyup(event) {
switch (event.keyCode) {
case 32:
save();
break;
default:
// console.log(event.keyCode); hovertree.com
}
}
function letters(id) {
var el = document.getElementById(id),
letters = el.innerHTML.replace('&', '&').split(''),
heading = '';
for (var i = 0, n = letters.length, letter; i < n; i++) {
letter = letters[i].replace('&', '&');
heading += letter.trim() ? '<span class="letter-' + i + '">' + letter + '</span>' : ' ';
}
el.innerHTML = heading;
setTimeout(function () {
el.className = 'transition-in';
}, (Math.random() * 500) + 500);
}
function save() {
if (!buffer) {
buffer = document.createElement('canvas');
buffer.width = screen.availWidth;
buffer.height = screen.availHeight;
buffer.ctx = buffer.getContext('2d');
form = document.createElement('form');
form.method = 'post';
form.input = document.createElement('input');
form.input.type = 'hidden';
form.input.name = 'data';
form.appendChild(form.input);
document.body.appendChild(form);
}
buffer.ctx.fillStyle = 'rgba(8,5,16)';
buffer.ctx.fillRect(0, 0, buffer.width, buffer.height);
buffer.ctx.drawImage(canvas,
Math.round(buffer.width / 2 - canvas.width / 2),
Math.round(buffer.height / 2 - canvas.height / 2)
);
buffer.ctx.drawImage(logo,
Math.round(buffer.width / 2 - logo.width / 4),
Math.round(buffer.height / 2 - logo.height / 4),
logo.width / 2,
logo.height / 2
);
window.open(buffer.toDataURL(), 'wallpaper', 'top=0,left=0,width=' + buffer.width + ',height=' + buffer.height);
// form.input.value = buffer.toDataURL().substr(22);
// form.submit(); hovertree.com
}
window.requestAnimFrame = (function () {
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (fn) { window.setTimeout(fn, 1000 / 60) };
})();
window.onload = function () {
ctx = document.getElementById('canvas').getContext('2d');
ctx.stats = new Stats();
ctx.running = true;
ctx.frame = 1;
logo = new Image();
logo.src = 'ht' + 'tp://ho' + 'vertree.c' + 'om/themes/hvtimages/hvtlogo.p' + 'ng';
hue = new Oscillator({
phase: Math.random() * Math.TWO_PI,
amplitude: 85,
frequency: 0.0015,
offset: 285
});
letters('h1');
letters('h2');
document.addEventListener('mousemove', init);
document.addEventListener('touchstart', init);
document.body.addEventListener('orientationchange', resize);
window.addEventListener('resize', resize);
window.addEventListener('keyup', keyup);
window.addEventListener('focus', start);
window.addEventListener('blur', stop);
resize();
if (window.DEBUG) {
var gui = new dat.GUI();
// gui.add(settings, 'debug');
settings.gui.add(settings, 'trails', 1, 30).onChange(reset);
settings.gui.add(settings, 'size', 25, 75).onFinishChange(reset);
settings.gui.add(settings, 'friction', 0.45, 0.55).onFinishChange(reset);
settings.gui.add(settings, 'dampening', 0.01, 0.4).onFinishChange(reset);
settings.gui.add(settings, 'tension', 0.95, 0.999).onFinishChange(reset);
document.body.appendChild(ctx.stats.domElement);
}
};
})(window);
</script>
</body>
</html>

㈦ 如何给WordPress网站添加欢迎引导页

方法1:利用WordPress的静态页面功能

在WordPress后台,通过【页面】->【新建页面】,添加两个新页面,分别命名为‘首页’和‘博客’。


2. WordPress会自动在程序根目录下生成 .htaccess文件。如果你用的服务器不会自动生成 .htaccess 文件,你可以手动建立一个空白文本文件,命名为 .htaccess 。如果用的主机空间根本不支持,那建议更换一个更专业的WordPress主机。

需要注意的是,以上和以下的代码中,

# BEGIN WordPress

<IfMole mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfMole>

# END WordPress

请务必都使用小写字母,因为这些代码都是大小写敏感的,如果不一致会无法生效。在以上代码后面,手动添加以下三行代码,保证 index.html 文件的优先级高于 index.php 文件:

<IfMole dir_mole>

DirectoryIndex index.html index.php

</IfMole>


3. 在 WordPress 目录下,找到 wp-incudes/rewrite.php 文件,找到下面这一行:

var$index='index.php';

将其修改为:

var$index='home.php';


这一步,是将WordPress系统的首页改名为 home.php 。


4. 最后,将 WordPress 目录下首页的 index.php 文件复制一份,将名字修改为 home.php 。注意,这里是复制一份,不要直接修改文件名。

这样,问题就解决了。可以创建自己的引导页,将其命名为 index.html ,然后引导页中指向网站的链接,指向 home.php 文件。引导页和WordPress都可以正常工作。WordPress内部链接不变,只是首页变成了 home.php 文件。


方法3:使用WordPress引导插件

第2种方法虽好,但无法在新版本中继续使用,非常遗憾。继续使用旧版本的WordPress,可能会给你的网站带来安全威胁,这是我们我们无法接受的。

最后,我们求助于WordPress社区,这是WordPress之所以强大的力量源泉。许多狂热WordPress爱好者开发出了很多插件,来扩展WordPress的功能。在这里,我们找到了一个合适WordPress欢迎引导页面插件,WP Splash Page插件。此外还有一个界面类似,名字不同的插件叫做Preloading,可作为备用。

在WordPress的管理后台,下载WP Splash Page插件,安装并激活该插件后,我们可以在【设置】->【WP Splash Page】中设置一些相关选项:


这个插件中可以设置引导页的页面标题、标题、内容、继续访问按钮上的文字,以及使用的颜色,背景图片和北京色彩等。你还可以使用视频作为引导页内容,在这里可以设置视频的宽度和高度,以及是否自动播放等。

此外,这个插件还包括一些额外的选项,比如验证访问者的年龄(按照相关法律规定,某些内容需要18岁以上方可访问),比如需要访问者同意网站使用协议等。这些都可以进行设置。


WP Splash Page插件使用简单,方便,不需要任何编程基础,也不需要修改文字。稍微有点遗憾的是,默认模板和配色方案过于简陋。不过只要你花点心思,改变一下默认的配色方案,或者修改一下模板的CSS代码,就可以用他来作出一个更加漂亮的引导页面。

引导页面仅适用于某些特殊的场合,如果使用不当会给用户带来不太友好的访问体验,建议用户在使用的时候慎重对待。

㈧ 引导页index.html上传之后未显示

这种情况就要考虑,是不是你的路径问题,明显你的css没导入进来,所以就看看路径对不对,看是不是你用的绝对路径

㈨ 求网页中引导页一flash动画播放完自动进入网站首页的代码

请根据需要自己修改下面的代码
<SCRIPT language="JavaScript">
<!--如下代码加入index.asp<head>区域中
function GetCookie(Name) {
var search = Name + "="
var Cookie =document.cookie;
if (Cookie.length <= 0 )return "";// cookie 不存在,返回空值
if (Cookie.indexOf(search)==-1)return "";// 'visited' 不存在,返回空值
start = Cookie.indexOf(search)+ search.length//"visited=yes"起始位置索引值
end = Cookie.indexOf(";", start);//"visited=yes"终止位置索引值
if (end == -1);//";"不存在
end = Cookie.length;
return unescape(Cookie.substring(start, end))
}
function SetCookie(){
if (GetCookie('visited')==''){
document.cookie="visited=yes"
document.location.href="http://bbs.blueidea.com/thread-2899096-1-1.html";//修改为:yin.html
}
}
SetCookie()
//-->
</SCRIPT>

㈩ 求一个2011年兔年春节的网站引导页

建议到 中国站长网的素材类找下,也可以去admin5,不然要自己设计的。

阅读全文

与好看的引导页源码html相关的资料

热点内容
一个女程序员的声音 浏览:491
魔术app怎么用 浏览:338
单片机有4个8位的io口 浏览:895
win10rar解压缩软件 浏览:164
plc教程pdf 浏览:668
pythonshell清屏命令 浏览:279
检测到加密狗注册服务器失败 浏览:204
解压后手机如何安装 浏览:518
极客学院app为什么下架 浏览:13
图片批量压缩绿色版 浏览:651
东北程序员帅哥 浏览:707
加密封条风噪小 浏览:974
安阳少儿编程市场 浏览:499
云服务器建设原理 浏览:259
javajunit4for 浏览:847
华为服务器如何进阵列卡配置 浏览:435
apache服务器ip地址访问 浏览:720
如何买到安卓手机预装软件 浏览:537
冤罪百度云不要压缩 浏览:89
苏州云存储服务器 浏览:179