KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones

Best books about Javasript

javascript, javascript detect chinese input formMake an advertisement image floating at the lower -right corner of the browser, which is clickable and closable.

javascript, javascript detect chinese input formHow to do it?

You need the following Javascript to make a floating image

<script language= javascript>
var ad_float_right_src ="";
var ad_float_right_url ="";

var ad_float_right_type = "";
var imgheight_close;
document.ns = navigator.appName == "Microsoft Internet Explorer"

window.screen.width>800 ? imgheight_close=120:imgheight_close=120;
function myload()
function mymove()

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

function close_float_right(){'hidden';

document.write("<div id=myright style='position: absolute;width:80;top:0;left:578;visibility: visible;z-index: 1'>"
+"A.closefloat:link,A.refloat:visited {text-decoration:none;color:#000000;font-size:12px}"
+"A.closefloat:active,A.refloat:hover {text-decoration:underline;color:#0000FF;font-size:12px}"
+"<table border=0 cellpadding=0 cellspacing=0><tr><td>");

document.write("<a href='" + ad_float_right_url + "' target = '_blank'><img src='" + ad_float_right_src + "' WIDTH=88 height=31 border = 0></a>");
document.write("<EMBED src='" + ad_float_right_src + "' quality=high WIDTH=88 height=31 HTYPE='application/x-shockwave-flash'></EMBED>");

document.write("</td></tr><tr><td width=80 height=20 align=right><a href='javascript:close_float_right();void(0);'><b><font color=#ff0000>Close</font></b></a></td></tr>"



Be sure change the following 2 lines code to your logo and web site:

var ad_float_right_src ="";
var ad_float_right_url ="";

OK. Done.



Best books about ASP & ASP.Net from Amazon
JavaScript Bible, Fifth Edition (Paperback) JavaScript & DHTML Cookbook (Paperback) JavaScript: The Definitive Guide (Paperback) Beginning JavaScript Second Edition (Paperback) JavaScript: The Complete Reference, Second Edition (Paperback)


Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © All rights reserved(new). Privacy|Copyright
designed by

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer