導航:首頁 > 源碼編譯 > 好看的引導頁源碼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相關的資料

熱點內容
匯編編譯後 瀏覽:472
php和java整合 瀏覽:827
js中執行php代碼 瀏覽:439
國產單片機廠商 瀏覽:56
蘋果手機怎麼設置不更新app軟體 瀏覽:283
轉行當程序員如何 瀏覽:491
蘋果id怎麼驗證app 瀏覽:863
查看手機命令 瀏覽:952
抖音反編譯地址 瀏覽:224
如何加密軟體oppoa5 瀏覽:232
java從入門到精通明日科技 瀏覽:93
拆解汽車解壓視頻 瀏覽:596
新版百度雲解壓縮 瀏覽:591
android上下拉刷新 瀏覽:879
centos可執行文件反編譯 瀏覽:836
林清玄pdf 瀏覽:270
黑馬程序員java基礎 瀏覽:283
awss3命令 瀏覽:358
百度店鋪客戶訂單手機加密 瀏覽:501
釘釘班群文件夾怎麼上傳文件 瀏覽:749