Is it possible to swap images into an AP div from a list of images, not only one?
I've figured out how to change images in an AP div on a Mouseover using Set Text of Container, but it would be great if the swapped in file would change over time, or was randomized. Is there a way to do this?
Or, is there a way to have images load in the AP div every few seconds? Thanks.
Not possible with DW behaviors alone. What you want is a slideshow.
http://alt-web.com/sandbox/Spry-test.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
Similar Messages
-
Two Swap Image Behaviors - Only One Swap Image Restore Works
How come?
I have a button image with a two swap image behaviors applied to it - a rollover for the OVER state and one behavior for a disjointed or "remote" rollover effect.
Both rollover effects work fine, but the disjointed or remote rollover effect does not return the button to it's original state. (I've determined this by removing the second or remote swap image behavior and testing it.)
Why doesn't this work?
All scripts are contained within the HTML page itself; no linked scripts are used.
Thanks!Page code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
//-->
</script>
<style type="text/css">
<!--
body {
background-image: url(images/screens_back.gif);
-->
</style></head>
<body bgcolor="#FFFFFF" onLoad="MM_preloadImages('images/navigation_2_over-05.gif','images/navigation_2_over-06.g if','images/navigation_2_over-07.gif','images/navigation_over-08.gif','images/navigation_o ver-09.gif','images/navigation_over-10.gif','images/team.gif','images/forms.gif','images/e xport.gif','images/consulting.gif','images/programming.gif','images/contact.gif')">
<table width="792" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td width="792" height="126" colspan="2">
<img id="index" src="images/index.gif" width="792" height="126" alt="" /></td>
</tr>
<tr>
<td width="792" height="34" colspan="2">
<table id="Table_01" width="792" height="34" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34" height="34">
<img src="images\navigation_2.gif" width="34" height="34" alt="" /></td>
<td width="426" height="34">
<img src="images\navigation_2-02.gif" width="426" height="34" alt="" /></td>
<td width="105" height="34" id="title">
<img src="images\blank.gif" alt="" name="blank" width="105" height="34" id="blank" /></td>
<td width="5" height="34">
<img src="images\navigation_2-04.gif" width="5" height="34" alt="" /></td>
<td width="36" height="34">
<img src="images\navigation_2-05.gif" alt="" width="36" height="34" id="Image1" onMouseOver="MM_swapImage('Image1','','images/navigation_2_over-05.gif',1);MM_swapImage(' blank','','images/team.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
<td width="32" height="34">
<img src="images\navigation_2-06.gif" alt="" width="32" height="34" id="Image2" onMouseOver="MM_swapImage('Image2','','images/navigation_2_over-06.gif',1);MM_swapImage(' blank','','images/forms.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
<td width="31" height="34">
<img src="images\navigation_2-07.gif" alt="" width="31" height="34" id="Image3" onMouseOver="MM_swapImage('Image3','','images/navigation_2_over-07.gif',1);MM_swapImage(' blank','','images/export.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
<td width="33" height="34">
<img src="images\navigation_2-08.gif" alt="" width="33" height="34" id="Image4" onMouseOver="MM_swapImage('Image4','','images/navigation_over-08.gif',1);MM_swapImage('bl ank','','images/consulting.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
<td width="31" height="34">
<img src="images\navigation_2-09.gif" alt="" width="31" height="34" id="Image5" onMouseOver="MM_swapImage('Image5','','images/navigation_over-09.gif',1);MM_swapImage('bl ank','','images/programming.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
<td width="42" height="34">
<img src="images\navigation_2-10.gif" alt="" width="42" height="34" id="Image6" onMouseOver="MM_swapImage('Image6','','images/navigation_over-10.gif',1);MM_swapImage('bl ank','','images/contact.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
<td width="17" height="34">
<img src="images\navigation_2-11.gif" width="17" height="34" alt="" /></td>
</tr>
</table>
td>
</tr>
<tr>
<td width="410" height="352">
<img id="index003" src="images/index-03.gif" width="410" height="352" alt="" /></td>
<td width="382" height="352">
<img id="index004" src="images/index-04.gif" width="382" height="352" alt="" /></td>
</tr>
<tr>
<td width="792" height="29" colspan="2">
<img id="index005" src="images/index-05.gif" width="792" height="29" alt="" /></td>
</tr>
</table>
</body>
</html>
I can't publish the page and images until later tonight.
Thanks, as always. -
Is it possible to input itunes into DVI/HDCP input from imac with Apple mini display port? Or is there another way?
The problem with itunes is needing a computer running it. or continuous internet connection.
A Time Capsule is AC mains powered.. no battery. Although you can certainly buy an older Gen4 TC and modify it ...
https://sites.google.com/site/lapastenague/time-capsule-power-supply-repair-kits
I have run my TC on a 12V SLA battery.. which would neatly meet that part of the functionality you want. But it is heavy and not really the rugged sort of device I think you want.
But I would look at other media players and other ways of storing movies than iTunes.. if you want to carry the whole lot around with you .. A bunch of SD cards even you could plug into the ipad??
External storage for iPad?
A small cheap PC/Mac laptop with a 1TB hard disk in it.. and 11" or 13" screen.. can often be a much better solution than lugging around multiple items so you can fit Apple devices into your life. -
Is it possible to copy photos into iPod-Touch(4Gen) from PC(Win7) ?
Is it possible to copy photos into iPod-Touch(4Gen) from PC(Win7) ?
Thks.No, you use iTunes on either a PC or a Mac as the Apple article says in the link I supplied in my previous post.
rava99 wrote:
Thk you for the reply.
I assume that the "syncing" you're talking about is an iPhoto/Mac feature.
Unfortunately, I'm working on a PC(Windows7), and I can't find any of this in my PC iTunes.
Could you confirm ?
Thks in advance -
Swap Image not working Except in IE
I am working on a class project, and we've just learned how
to do "swap image" on rollover. It's working beautifully when in
IE, but in Firefox it's not working at all and in Opera it's
working strangely (only when on the "edges" of the flash text not
when rolling over the flash text) Any ideas as to the problem? The
flash text rollover works (changes colors), but the "bubbles" are
supposed to swap images. BTW, I thought it might be a setting in my
browser disabling something, but the swap image on classmates'
sites show up fine.
http://198.86.244.3/drsimpson/WEB140/drsimpsongallery/
ThanksI can't see what is the problem. :-(
Try replacing your flash buttons with plain gif images, it
works the same way and you will have much less code on your page. I
don't think the problem is there but you can always try. -
I am trying to swap images in Dreamweaver so when a user goes
to my website, the images swap automatically. I have 4 images that
I want to swap and I want them to change every 7 seconds. I don't
want the user to have to mouseover or click anything, i want the
images to change automatically. I can't get this to work right in
Dreamweaver. It always only swap to 1 image and it never goes back
to the original image.
Also, the images are different sizes and I want them to stay
different sizes. I have 4 images, I want the images to swap every 7
seconds and then restore back to the original image. I want them to
keep swapping every 7 seconds, or I might just want them to swap
through the 4 images once and then restore to the original image
and not swap anymore after that. Can you help me with both of these
scenarios please?1. Make the images to all be the same size by adding canvas
to the shorter
dimensions in your graphics editor.
2. Once you have done this, use an image rotator script to
make the images
rotate. You can find such things in many places on the web -
from free to
commercial. I have used SlideShowMagic from PVII,
http://www.projectseven.com/,
and the image rotation script from KaosWeaver,
http://www.kaosweaver.com,
before and found them both to be excellent for
this purpose....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"originalit" <[email protected]> wrote in
message
news:f859tu$5v9$[email protected]..
>I am trying to swap images in Dreamweaver so when a user
goes to my
>website,
> the images swap automatically. I have 4 images that I
want to swap and I
> want
> them to change every 7 seconds. I don't want the user to
have to mouseover
> or
> click anything, i want the images to change
automatically. I can't get
> this to
> work right in Dreamweaver. It always only swap to 1
image and it never
> goes
> back to the original image.
>
> Also, the images are different sizes and I want them to
stay different
> sizes.
> I have 4 images, I want the images to swap every 7
seconds and then
> restore
> back to the original image. I want them to keep swapping
every 7 seconds,
> or I
> might just want them to swap through the 4 images once
and then restore to
> the
> original image and not swap anymore after that. Can you
help me with both
> of
> these scenarios please?
> -
When you have several topics assigned to a see also button,
the see also button displays several topics within the pop-up
window in the compiled help. However, if you have only one see also
topic assigned to the button, the button automatically displays the
topic window for that topic. The first time I saw this, I thought
it was a bug. When I've asked other people to test my help
projects, they also think this is a bug.
Is it possible to "make" the see also function display the
pop-up window, regardless of how many topics are assigned to the
button?
thanks in advance,
ChristyGAre you sure that you can change the permissions of symlinks themselves? I think I've tried to make files read-only via symlinks on a local server but ended up using bindfs because it wasn't possible. Even if you can, symlinking everything that might be necessary for a given environment would not be ideal, plus I don't think symlinks can be used across different filesystems.
If a real-life human can figure out if it's he/she is in a chroot and break out of it, then he/she can write a script to do the same. I want a sandbox that could run malicious code with no effect on the system (if that's possible). Also, I think if the chroot idea were truly feasible, makepkg would have been using it for years already to simply install packages in the chroot as you normally would and then package them. There would also be several sandbox applications that could run applications safely. So far I have yet to find any.
I admit that I haven't looked into using a chroot in detail though and of course I may have missed some application which creates such a setup. Right now I think using per-application namespaces with fuse seems the most promising but I won't know until I've finished implementing a test application. If it turns out that it's a dead end I'll take harder look at chroot but it really doesn't seem to be able to do what I want. -
Flickering Image update (only one Image drawn on Component), 10+ Duke Dolla
I've made an RBGFilter for Images and Combined it with a Thread
to make an Image fade from Color to Grayscale.
I use it together with an home made JComponent. It works, but the Image flickers.
I've tried longer sleep periods (I thougt that maybe the filter was to slow) but it still flickered when changing the Image. I tried dubbel buffering, but couldn't get it to change the Image. Anyway, I suppose double buffering wouldn't help much, while it's only one Image to be drawn and it covers the entire Component.
Does anyone have a clue about how to do?? You'll get plenty of Duke Dollars!
(in the fade class)
public void run()
try{
while( !Thread.interrupted() ){
Thread.sleep( 70 );
//Change colors:
Image tmpImage = Toolkit.getDefaultToolkit().createImage(
new FilteredImageSource( colorImage.getSource(), fadeFilter ) );
ImageComponent.setImage( tmpImage ); //Home made component
//test if fading is finished...
catch( InterruptedException ie ){}
(in the home made component)
public void setImage( Image theImage )
this.theImage = theImage;
repaint();
public void paintComponent( Graphics g )
g.drawImage( theImage, 0, 0, this );
}I dont know much about java but i do know a bit about MFC and this reminds me of a similiar issue in mfc. So heres my bet:
Calls to repaint do call directly to paintComponent they first execute some code that paints the background of the component then calls the paintComponent routine. Typically the background is white and this results in flickering.
Thats just a hunch. Because its similiar to an issue that you get in MFC around animation with framework paint calls.
You can play the hunch by calling paintComponent directly and see if your flickering goes away. If it does find a way to use repaint without it repainting the background before it calls paintComponent (im sure theres a way or a similiar framework routine)
One last thing? is the custom componet that your working with swing based? Cause swing based components are supposed to double buffer by default. -
i have several books - of which 4 have been ordered and delivered - but without any action all of a sudden the name of places disappeared from the map i have in these books
any idea why ?
in addition, is there a possibility to save the book - with the layout etc - on a cd. dvd or usb. i tried on a cd and got only the pictures not with the layout per page. Suggestions ?
thks.To archive a book:
Duplicate the Library that contains the book
Remove pics from the duplicate that are not in the book
Burn the duplicate Library to CD
Regards
TD -
Is it possible to swap images in Indesign CS6?
If I had a page with several photos in different frames. Is it possible to select two different frames and swap the images around?
Also, does anyone know how to make sure all the frames in the page are identical in height and width and stroke?
Thanks in advance,That is very useful for when I initially layout out a page with a layout in mind. Most of the time though, I drag all the photos onto a spread and then start aligning them, the gaps are rough but then I adjust them all manually until each gap horizontally or vertically are the same. It'd be nice if there was a script so that all the images on the page were a certain gap horizontally and vertically to each other whilst maintaining their alignment. Does that make sense?
An alternative would be if I could set up a Grid of image frames and merge some of them, preserving the gap measurements.
Thanks Peter, -
Swap image not working in IE on server
Hi
suddenly having problems with this - whether it's Win SP2 or
what I'm not sure. swamp image works fine locally (off a network
LAN drive) but not on the live server. I have preload images set,
not restore on mouseout. The setup is an imap with a hotspot but I
had the same thing happen on a plain image - no errors come up,
just a blank spot where the image is not swapping.
Any help appreciated
RGVery difficult to troubleshoot without seeing the code.
Regards
John Waller -
I have used the >insert>rollover image in CS3 to create
rollovers for the website below. I can't get any rollovers to work
in preview or live on the server. Any ideas?
http://www.gardenclubofwindham.org/test.html
- it should have a little trowel show up next to the menu items
like the link below...
http://www.gardenclubofwindham.org/index.html
- I did these rollovers using phototshop cs/ image ready.
Thank you!LOL. Glad I could help.
The problem is this -
Much 'wizard' based javascript is written into the page like
this -
<script type="text/javascript">
<!-- //
blah blah blah
//-->
The javascript code is put inside double comments (the outer
ones are for
HTML, and the inner ones for javascript). In fact, neither
are appropriate
when working with an XHTML doctype, and I'm pretty sure the
others are not
really needed ever, but it's tradition....
Your error was caused when the trailing comments are
incompletely removed
leaving that "/" in place....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"rcronin2006" <[email protected]> wrote in
message
news:g5feqf$g9u$[email protected]..
> Well, I wonder if I am having some javascript problems
with DW, I just
> posted
> another mystery in this same forum. I can't understand
how my copy of DW
> could
> have a glitch. That seems so unlikely. I haven't used IR
for a site
> build in
> many months, but I could see how that code could get
wacky - the sites
> I've
> done with it are very "sensitive", lol. If I touch
anything, the whole
> page
> goes haywire. Anyways thanks again, you made me look
"wicked-smat" to my
> client. :)
>
>
> -
Rollovers and swap images not working
since i've upgraded to Dreamweaver CS3 i've not been able to create rollovers.. i need to now
is there a bug? a patch that i need? what is going on? I need help please - been able to make do with flash buttons & text until this job.
Running Mac OS10 - if it helps.. these pages were originally designed in go-live and redesigned since - / i wonder if i'm holding my tongue in the correct position. be gentle with your answers - i'm a graphic designer not a web guruhere is the code to three of the rollovers.. it's tabs
i even thought that if i went ahead and uploaded it might work online.. no such luck
<td height="38" colspan="2" align="center" valign="middle"><spacer type="block" width="1" height="379">
<spacer type="block" width="1" height="1">
<a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/tabs/rimtymehomeover.jpg',1)"><img src="images/tabs/rimtymehome.jpg" alt="Home Page" name="home" width="154" height="38" border="0"></a></td>
</tr>
<tr height="38">
<td height="38" colspan="2" align="center" valign="middle"><a href="malone.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('aboutus','','images/tabs/rimtyme_about_over.jpg',1)"><img src="images/tabs/rimtyme_about.jpg" alt="About us page" name="aboutus" width="154" height="38" border="0"></a></td>
</tr>
<tr height="38">
<td height="38" colspan="2" align="center" valign="middle"><a href="storephotos.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('storegallery','','images/tabs/rimtyme_storephotos.jpg',1)"><im g src="images/tabs/rimtyme_storephotos_over.jpg" alt="Click here for images of each of our locations!" name="storegallery" width="154" height="38" border="0"></a></td>
</tr>
<tr height="38">
<td height="38" colspan="2" align="center" valign="middle"><a href="credit.html"><img src="images/tabs/rimtyme_getstarted.jpg" alt="GETTING STARTED" width="154" height="38" border="0"></a></td>
</tr>
<tr height="38"> -
Podcasts w/ 400x300 images, not square ones
Wouldn't it be nice to use all the real estate of an iPod screen and have chapter marker images the dimensions of a Keynote slide: 400x300? One is currently stuck having a blank band at the bottom and top of such a slide. True, you can double click on your picture within Garage band to crop it, but it gets cropped as a aquare, not 4:3. I can't find how Garageband allows that currently, yet video podcasts have that 4:3 aspect ratio. If you know how to do it, please post here. If not, please let Apple know we would like this as a feature. To submit such a request, launch Garageband and then under the Garageband menu at the top pull down and select "Garageband feedback". That's how you let them know to add this aspect ratio feature. Thanks!
Missing icons are usually supplied by a font that is downloaded from the server (@font-face) as you might see by little boxes that show the hex code of the characters instead.
Make sure that you allow pages to choose their own fonts.
*Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
You can check the <b>gfx.downloadable_fonts.enabled</b> pref on the <b>about:config</b> page and make sure that it is set to true (if necessary double-click the line to toggle its value).
*http://kb.mozillazine.org/about:config -
Is it possible to lock images and only allow the user to edit the text boxes?
Users can't typically "edit" images... Definitely not with Reader.
To apply even more protection you can use a Security Policy (File -
Properties - Security) and forbid any editing of the file, except
filling-in form fields.
Maybe you are looking for
-
Wireless mouse does not work after installing new batteries
I have a PowerBook G4 and have been using a wireless mouse and keyboard. The batteries needed to be replaced in my mouse. I successfully installed new batteries. The mouse will turn on. The LED blinks. But the mouse is not functioning. I must use the
-
We have just upgraded our CSS(s) to 7.2 bld 106 and are seeing some odd behaivor. Is anyone else seeing any issues with this version of code? Our first issue is with our HSE, after upgrading our HSE only sees about 23 out of the 70 services configure
-
How can the 8.5 Crystal (upgraded version) be installed on a Win7 64-bit PC
My client has bought a laptop with Windows 7 64-bit. They are trying to install CR 6.0 so they can install CR8.5 witch is an upgrade, but they seem to be running into a problem. Is this a possible and how do you do it?
-
How to save a layout for colums and fields in FB60. There is a configuration icon on the FB60 screen, but it tells you which fields to hide. What if certain columns and fields need to be arranged in a different layout , how to do that.
-
Assigning sequential numbers to multiple rows with a common attribute
Oracle 10i, looking to modify a query to only select a total of 96 unique compoundnames and number each group of batchids 1-96. Input Table EX Unique_ID, CompoundName, BatchID, Quantity 1, EX 1000, EX 1000 100, 100 2, EX 1000, EX 1000 101, 100 3, EX