Four prompt box codes_PHP tutorial
Jul 13, 2016 pm 04:54 PM
<head>
<title>Image effect demonstration</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
/*
Shunzi Production
Made by PuterJam
*/
//--Initialize variables--
var rT=true;//Allow image transition
var bT=true;//Allow images to fade in and out
var tw=150;//Prompt box width
var endaction=false;//End animation
var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;
offsetX = 0;
offsetY = 20;
var toolTip;
function initToolTips()
{
if(ns4||ns6||ie4)
{
if(ns4) toolTipSTYLE = document.toolTipLayer;
else if(ns6) toolTipSTYLE = document. getElementById("toolTipLayer").style;
else if(ie4) toolTipSTYLE = document.all.toolTipLayer.style;
if(ns4) document.captureEvents(Event.MOUSEMOVE);
else
{
toolTipSTYLE.visibility = "visible";
toolTipSTYLE.display = "none";
}
document.onmousemove = moveToMouseLoc;
}
}
function toolTip( msg, fg, bg)
{
if(toolTip.arguments.length < 1) // hide
{
if(ns4)
{
toolTipSTYLE.visibility = " hidden";
}
else
{
//--Image transition, fade-out processing--
if (!endaction) {toolTipSTYLE.display = "none";}
if (rT) document.all("msg1").filters[1].Apply();
if (bT) document.all("msg1").filters[2].Apply();

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

What should I do if Google Chrome prompts that the content of this tab is being shared?

Users encounter rare glitches: Samsung Watch smartwatches suddenly experience white screen issues

Kyushu Fengshen Assassin 4S Radiator Review Air-cooled 'Assassin Master' Style

New affordable Meta Quest 3S VR headset appears on FCC, suggesting imminent launch

Exquisite light and shadow art in spring, Haqu H2 is the cost-effective choice

The first open source model to surpass GPT4o level! Llama 3.1 leaked: 405 billion parameters, download links and model cards are available

Huntkey MX750P full module power supply review: 750W of concentrated platinum strength

Easily understand 4K HD images! This large multi-modal model automatically analyzes the content of web posters, making it very convenient for workers.
