Thursday, 18 December 2014
HTML TUTORIALS


-----------------------------------------------------------------------------------------------
COPY AND SAVE IN MY.html IN NOTE PAD
http://www.java2s.com/Code/JavaScript/HTML/Replaceimage.htm
http://www.java2s.com/
------------------------------------------------------------------------------------------------
<html>
<head>
<title>Image Array Demo</title>
<script>
var description = new Array("blank", "triangle", "circle", "square");
var pictures = new Array(3);
var counter = 0;
function initialize(){
// sets up the array with some startin values
// Andy Harris
pictures[0] = new Image(50, 50);
pictures[0].src = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAHUAdQMBIgACEQEDEQH/xAAcAAEAAgMBAQEAAAAAAAAAAAAABgcBBQgEAwL/xABNEAABAwIDAgUNDAcJAQAAAAABAAIDBAUGBxEhMRJBUWHjExcyRWZxg5GhpbLBwxQVJDZScnSBgpOx0SIjM0JUYnMlQ5Kks8LS4fAW/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AIFmPjC83jFVxa+uqIqWnqXwwU8chaxjWuIB0HGdNSedRX3zr/46q++d+a9OKfjPd/p03plSbLfLi4YzmNQ95pLVG7gyVJbqXnjawcZ59w59yCK09XdqqZsNNU10srtjWRyPc494BTmy5aY/uoa95moYjoQ6sqi06fNGp8YV/wCGMKWXC9KILPQxwnTR8xGsknznbz+C3aCmLbkncNhumLarnZTB3pOd6lJKHKGxU4+EXK9VR13yVpb6ICsNEEPjyzwuw6mmrHn+a4T/APNfuTLfCzxp7iqW/Nr5x/vUtRBCZsrcMyN0Y24xHlZcJvW4rQXLJallDz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rZDcbVUNnpZRq1zd4PGCOIjkQbBERAREQEREBEUDzPzEpMHUJp6YsnvM7D1CHXURD5b+Qcg4/GUGmztx42y2x9htsv8AaVWzSZzD+wiO/wC07cObU8i5y1X3r62puFXNWVsz5qmZ5fJI86lxK86Cz8le3PgPaLCzkr258B7RYQQXFPxnu/06b0ytWtrisEYovAOwiun1H2ytUgKUYExtc8G3Hq1E4y0khHuikc79CQcvM7kKi6IOwMH41suLqQS2upAnDdZaWQgSx98cY5xsUjXEVHVVFDUx1NHPLBURnVksTy1zTyghW9hDPKtpGsp8UUvuyMbPdUADZPtN3H6tEF/oo7h7HGG8RNb713WB8rv7iR3AkH2Tt8S3tRUQ00RlqZY4o27S+RwaB9ZQfVYcQ1pc4gADUkqu8T5xYYszXx0MzrrUgbG0p/V68793i1VLY0zMxBivh088wpLe7Z7kpjo13znb3fhzILTzCzkorWJLfhd0dbXbWuqt8MXe+WfJ39y5/r62puNZLWV0z56mZxdJLIdS4rzogIiILPyV7c+A9osL95JRvf788BjnadQ10H9REFg45ydtmIbnPdqKvkt1ROeFO0QiRj3cbtNRoTx7VF+sL3Teb+kREDrCd03m/pE6wndN5v6REQOsJ3Teb+kTrC903+Q6REQBkMWkOGJyCNoIoOkXoqsla2sayOrxjUTsZ2DZaRzg3vay7ERB5+sL3Teb+kTrC903m/pERA6wndN5v6ROsJ3Teb+kREDrCd03m/pFlmQgL2g4m2E7fgHSIiC08C4MtuC7bJSW9z5ZZnB09RJpwpCN27cBqdBzoiIP/9k=";
pictures[1] = new Image(50, 50);
pictures[1].src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAB4CAMAAAAAP3rKAAABoVBMVEX//////wDMAAD/mQD/nACgpamzagBOWgD4kwCysgCpqbHRAADVAAD/ngDJAAC4AACFAACvAAC0ugBOLwC/AACUAADe3uKqAACcAAD19QChAAD//xj19ffk6OiPAACgpaX/nyWutrZmZgDP0dSSlpZyAAC8vMN4eABsRkaQVzB8LS3t8Df+/jCD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mFK6Ssnh9LVSFZl7E7+f0aHD5xVQqFifjPNCVlVf4kJ4vJrAwBxlc5VZjkET47elazfZxFMe7iGjy9N2+MEp41opcnE8kpy9I6bC9Ijhw4YdK4VbVETGnkk2YsDqW0dsMsXPEiJj/h8sgV9pJ1PqGx2lQ/t13k5GS/yUfH+DIFfaSdT6g7Sof267ychf5KPj/BkCvtJOp9QdpUP7dd5OQv8AJR8f4MgV9pJ1PqDtKh/brvJyF/ko+P8ABkCvtJOp9QdpUP7dd5OQv8lHx/gyBX2knU+oO0qH9uu8nIX+Sj4/wZAr7STqfUHaVD+3XeTkL/JR8f4MgV9pJ1PqDtKh/brvJyF/ko+P8GQK+0k6n1B2lQ/t13k5C/yUfH+DIFfaSdT6g7Sof267ychf5KPj/DtXNXPqgi3hSnkm3HEkvYi9kkl+J9IqtlFlDuW3bthh2rNqqr9VnxkdHx6RaM//ADNNP5loh84qoYrE/GeaErIZ/iQni8mseGAIJuSzMzvy9p9ApLyxZ822rd0T6rmU2UfoiTTDAV002D4wTfUibFF3TMMBXTTYGCb6kTYou6ZhgK6abAwTfUibFF3TMMBXTTYGCb6kTYou6ZhgK6abAwTfUibFF3TMMBXTTYGCb6kTYou6ZhgK6abAwTfUibFF3TMMBXTTYGCb6kTYou6ZhgK6abAwTfUibFF3TMMBXTTYGCb6kTYou6ZhgK6abAwTfUibFF3TMMBXTTYGCb6kTYou6Zj6uzupitRmojlITEjyO8k940000izoY3jxG0JQsJiAAAAAAAAAAAAAAAAAAAAAAAAAAA//2Q==";
} // end initialize
function upDate(){
//increments the counter and shows the next description
counter++;
if (counter > 3){
counter = 0;
} // end if
document.imgDisplay.src = pictures[counter].src;
document.myForm.txtDescription.value = description[counter];
} // end upDate
</script>
</head>
<body onLoad="initialize()">
<center>
<h1>Image Array Demo<hr></h1>
<form name="myForm">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0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rv7iR3AkH2Tt8S3tRUQ00RlqZY4o27S+RwaB9ZQfVYcQ1pc4gADUkqu8T5xYYszXx0MzrrUgbG0p/V68793i1VLY0zMxBivh088wpLe7Z7kpjo13znb3fhzILTzCzkorWJLfhd0dbXbWuqt8MXe+WfJ39y5/r62puNZLWV0z56mZxdJLIdS4rzogIiILPyV7c+A9osL95JRvf788BjnadQ10H9REFg45ydtmIbnPdqKvkt1ROeFO0QiRj3cbtNRoTx7VF+sL3Teb+kREDrCd03m/pE6wndN5v6REQOsJ3Teb+kTrC903+Q6REQBkMWkOGJyCNoIoOkXoqsla2sayOrxjUTsZ2DZaRzg3vay7ERB5+sL3Teb+kTrC903m/pERA6wndN5v6ROsJ3Teb+kREDrCd03m/pFlmQgL2g4m2E7fgHSIiC08C4MtuC7bJSW9z5ZZnB09RJpwpCN27cBqdBzoiIP/9k=" name="imgDisplay" height=100 width=100>
<br>
<input type="text" name="txtDescription" value="blank">
<br>
<input type="button" value="next" onClick="upDate()">
</form>
</center>
<hr>
</body>
</html>
-----------------------------------------------------------------------------------------------
2- COPY AND SAVE IN MY.html IN NOTE PAD
------------------------------------------------------------------------------------------------
<html>
<body bgcolor="White">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcCuR6q9-11iuF0bnE-bfiy-V3V0FpS6Z2wMf4Z8p_Hmv1AT83TJz8YY-TcFpyi2camx3QHoMa5-bzIF6Og_WtE6o_F8_gj6Dq90H9LSQYRk0dn3KJ4iWtG5UPJhn8mCJDwB_NaPeCgpll/s1600/FBGadgets.jpg" alt="Europe">
<hr noshade>
<form>
<input type="button" value="See UK" onClick="document.images[0].src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUElc-hHGuyjvVKJ05QCryhRqGdeB4-UDtaPogKszI3NrE43o0-X5Y4V39Na95_33E4nCUVE0slxcAmi_8GrNfbJkkpRIHGAv_TflzbFDLTspcIBz50JhxGcisVu4w7pKipb_V4QaMKmJH/s60-c/Gorilla-Glass.jpg'">
</form>
</body>
</html>
-----------------------------------------------------------------------------------------------
3- COPY AND SAVE IN MY.html IN NOTE PAD
Change image src
------------------------------------------------------------------------------------------------
<html>
<head>
<title></title>
<script type="text/javascript">
function procImage() {
var img = document.images[0];
var imgAttr = img.align + " " + img.alt + " " + img.src + " " + img.width + " " + img.height;
alert(imgAttr);
img.src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcCuR6q9-11iuF0bnE-bfiy-V3V0FpS6Z2wMf4Z8p_Hmv1AT83TJz8YY-TcFpyi2camx3QHoMa5-bzIF6Og_WtE6o_F8_gj6Dq90H9LSQYRk0dn3KJ4iWtG5UPJhn8mCJDwB_NaPeCgpll/s1600/FBGadgets.jpg";
img.width="100";
img.height="100";
img.alt="Alternative";
img.align="left";
img.title="Upright";
imgAttr = img.align + " " + img.alt + " " + img.src + " " + img.width + " " + img.height;
alert(imgAttr);
document.close();
}
</script>
<body onload="procImage();">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUElc-hHGuyjvVKJ05QCryhRqGdeB4-UDtaPogKszI3NrE43o0-X5Y4V39Na95_33E4nCUVE0slxcAmi_8GrNfbJkkpRIHGAv_TflzbFDLTspcIBz50JhxGcisVu4w7pKipb_V4QaMKmJH/s60-c/Gorilla-Glass.jpg" alt="asdf" />
</body>
</html>
-----------------------------------------------------------------------------------------------
4- COPY AND SAVE IN MY.html IN NOTE PAD
Simple Image Replacement
------------------------------------------------------------------------------------------------
<html>
<head>
<title>Replacing Images</title>
<script language="JavaScript">
var ix = 0
function changeImages(milliseconds) {
window.setInterval("changeImage()", milliseconds)
}
function changeImage() {
++ix;
ix %= 6;
var imageRef = document.images[0];
imageRef.src = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUElc-hHGuyjvVKJ05QCryhRqGdeB4-UDtaPogKszI3NrE43o0-X5Y4V39Na95_33E4nCUVE0slxcAmi_8GrNfbJkkpRIHGAv_TflzbFDLTspcIBz50JhxGcisVu4w7pKipb_V4QaMKmJH/s60-c/Gorilla-Glass.jpg"+ix+".gif";
}
</script>
</head>
<body onload="changeImages(500)">
<p align="center"><img id="changeme" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUElc-hHGuyjvVKJ05QCryhRqGdeB4-UDtaPogKszI3NrE43o0-X5Y4V39Na95_33E4nCUVE0slxcAmi_8GrNfbJkkpRIHGAv_TflzbFDLTspcIBz50JhxGcisVu4w7pKipb_V4QaMKmJH/s60-c/Gorilla-Glass.jpg""></p>
</body>
</html>
Related movie you might like to see :
?
+
X
Recommended for you
Loading..
Related Post for HTML TUTORIALS
AUTO CSS JS SLIDER WITH ARROW BULLET ------------------------------------------------------------------------------------------------------- BX SLIDER CODE: READ MORE: BX SLIDER IN BLOGGER TEMPALTE - Youā¦
JAVA SCRIPT LOOP --------------------------------------------------------------------------------------------------------------- JAVA SCRIPT LOOP 1)CODE HAS SOME DIFFERENCE BUT SAME RESULT httā¦
MOUSE OVER MOUSE OUT IN JAVA SCRIPT -------------------------------------------------------------------------------------------------------------- MOUSE OVER MOUSE OUT IN JAVA SCRIPT WITH BUTTON AND DIV IDSRā¦
HTML CODE EDITOR <form name="K"> <p style="margin-top: 0px; margin-bottom: 0px;"> <textarea name="ta1" rows="15" cols="50"> //PASTE CODE BETWEEN TEXT AREA HERE </textarea&ā¦
BUTTON PADDING CHANGE HEIGHT WIDTH ------------------------------------------------------------------------------------------------------------ PADDING BUTTON CHANGE INTO WIDTH AND HEIGHTEMOJI SITEShttps://yayteā¦
GET BUTTON ID AFTER CLICK IN JAVA SCRIPT ------------------------------------------------------------------------------------------------------------- GET BUTTON ID AFTER CLICK IN JAVA SCRIPT ------------------------ā¦
Labels:
HTML TUTORIALS
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.