Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
dvack92 #1
Making an image which rotates several images
I am relatively new to this, so this question may seem basic. Does Dreamweaver allow you to easily create an image which rotates several images in that location.
dvack92 Guest
-
Making background images fill the page
I am using Dreamweaver 8 and updating a website built in Frontpage years ago. They have a bg image (.gif) that only fills about 80 % of the width.... -
Making Button (.btn) format images
Is there a plug-in or other software that people know of that allows you to take Illustrator files and turn them into .btn format image files. I... -
Making a background with an image
I want to make a background with a repeated image - as in HTML. I can make instances of the image and put them all close to each other, nested, but... -
Making images smaller, and displaying them!
Hello, I've managed to build two web pages, one that can display images with associated text data in a table, and one that can resize and display... -
making images appear with timeline?
go back to flash and do it as a movie. embed the movie in the html document to take up most of the screen. flash is so much better for this type of... -
dvack92 #2
Re: Making an image which rotates several images
I guess what I am looking for is the Java script. I have 4 or 5 different images that I want to scroll through in one location.
dvack92 Guest
-
lihaze #3
Re: Making an image which rotates several images
Look here
[url]http://www.dyn-web.com/javascript/rotate-img/[/url]
lihaze Guest
-
dvack92 #4
Re: Making an image which rotates several images
I inserted my .GIF images, and only the first image appears. I am not sure if I
am editing the code correctly. Can you check my code & see where I screwed up?
Thanks for all your help.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ROTATE</title>
</head>
<body>
</body>
</html>
<script src="src/dw_rotator.js" type="text/javascript"></script>
<script type="text/javascript">
function initRotator(1) {
// arguments: image name, rotation speed, (optional) path to images
var rotator1 = new dw_Rotator('START', 1000, "/andrew's web
trial/HOME_PICTS/");
// add the images to rotate into that image object
rotator1.addImages("DOMINION_HILLS_A_DUSK.GIF", "FRONT_A_1_mod_good.GIF",
"interior_01.GIF", "REVISED_REAR_DUSK._LG_2JPG.GIF");
//rotator1.rotate(); // sometimes may want to call rotate here
dw_Rotator.start();
}
</script>
</head>
<body onload="initRotator(1)">
<div class="flt">
<!-- Image rotation here. First image in place -->
<img name="START" src="/andrew's web
trial/HOME_PICTS/DOMINION_HILLS_A_DUSK.JPG" width="170" height="170" alt="">
</div>
<script type="text/javascript">
function displayCodeInfo(id) {
function getPath(pn) {
return pn.slice(0, pn.lastIndexOf("/") + 1);
}
if ( !window.opener || getPath(window.opener.location.pathname) !=
getPath(window.location.pathname) ) {
var el = document.getElementById? document.getElementById(id): null;
if (el) el.style.display = "block";
}
}
// in case not opened by presenting doc
displayCodeInfo('ref');
</script>
</body>
</html>
dvack92 Guest



Reply With Quote

