Image Swap + Click Image Swap & Restore Help

Hi everyone,
I'm having trouble figuring this out and was hoping someone could help me with the code. What I currently have is a world map for my books. What I want is to have several hotspots that change the image (the world map) in five ways.
1. When the mouse goes over a continent it swaps the image of the continent with a rollover, letting you know that continent is clickable.
2. When the mouse goes out of the continent it restores back to the original image of the world map.
3. When you click the continent it swaps to a "zoomed in" image of the continent.
4. The image in #3 (zoomed-in) stays on screen until clicked. Once clicked it then returns to the original image (the world map).
5. When the continent is double-clicked it sends you to a separate browser with that continent.
I've got all of them figure out except for #4. As soon as the mouse moves out of the hotspot, the "zoomed-in" image returns to the original image.
Here is the link to what I have so far: http://christopherdeldridge.com/Photo%20World%20Map.html
Here is the code I have for one of the hostpots for one of the continets:
<area shape="poly" coords="335,145,310,134,280,137,255,141,231,144,196,147,170,143,132,146,127,174,144,188,1 64,211,188,211,208,213,231,216,265,217,272,234,295,240,316,227,343,225,357,241,368,226,364 ,203,347,195,315,196,288,198,264,202,246,200,241,171,288,163,315,156" alt="" style="cursor: pointer;" onclick="MM_swapImage('ZenitaSatellite','','Pics/Satellite Map 2/WestVadra 2.gif',1)" ondblclick="MM_openBrWindow('Vadra Photo.html','','')"  onmouseover="MM_swapImage('ZenitaSatellite','','Pics/Satellite Map/WVadra.gif',1)" onmouseout="MM_swapImgRestore()"  />
Thanks for the help...

While looking through your code I see several things you should change:
1.  Your CSS is flawed -
<style type="text/css" media="all">
<!--
.hiddenlink {
color: #000; /* same color as the surrounding text */
text-decoration: none; /* to remove the underline */
cursor: auto; /* to make the cursor stay as the auto cursor, not the hand */
-->
<style type="text/css">td img {display: block;}
.auto-style1 {
Note that the .hiddenlink rule does not have a closing "}", and that there is an improper opening <style> tag embedded there immediately before the 'td img' rule.
2.  I also note your liberal use of file/pathnames containing spaces - this is a bad practice as some browsers will assume that a space is the end of the file/pathname.
Anyhow, I have not tested this but it should work.  You need to set up a toggle on the onclick event call so that you can know which image to load, like this -
<area shape="poly" coords="622,367,592,366,566,373,542,381,527,391,531,407,556,421,592,424,622,411" alt="" style="cursor: pointer;" onclick="if(alekandria==1){MM_swapImage('ZenitaSatellite','','http://christopherdeldridge.com/Pics/Satellite Map 2/Alakandria 2.gif',1);alekandria=0;} else { MM_swapImage('ZenitaSatellite','','http://christopherdeldridge.com/Pics/Satellite Map 2/Alakandria.gif',1);alekandria=1;" ondblclick="MM_openBrWindow('Alakandria Photo.html','','')"  onmouseover="MM_swapImage('ZenitaSatellite','','http://christopherdeldridge.com/Pics/Satellite Map/Alakandria.gif',1)" onmouseout="MM_swapImgRestore()"  />
So - when you click on the image, the value of the toggle (a variable specific to that particular image) is tested.  If its value is 1, the image has already been expanded, and you need to swap in the unexpanded image.  You also set the value of the toggle to 0.  If its value is 0, the image is unexpanded, and you need to swap in the expanded image.  You also set the value of the toggle to 1.
Get it?

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.

  • Help! All referenced Aperture images offline after Time Machine restore!

    Okay, I finally decided to upgrade the internal drive of my 15" MBP from the 250 stocker to a 640 WD drive. I did a Time Machine backup right before swapping the drives, then restored from backup. Everything seems to have transferred fine, except for Aperture. All the photo's metadata is still there, all my various projects and everything are fine, but the actual photos are nowhere to be found. They were all referenced from my iPhoto library. When I go File>locate referenced files, Macintosh HD is offline (which i'm guessing is my old HD). Thing is, under the Not Found column, it says 0..... Can someone please help me with this??

    So I just had the same problem. I had restored my whole disk drive from a backup after Apple replaced the hard drive.
    All images that were referenced on the internal drive were listed as offline even after a Aperture DB rebuild and a disk drive identically named to the original.
    Procedure: first test this on a few files, then you can do the whole library.
    Select any project with multiple pictures that are referenced and have a red tag indicating offline. Do a select all on the images in that project, even if some do not have offline indicated. After the selection use File -> Locate Referenced Files.
    Uncheck the box that says "Show Only Referenced Files" Select one of the files that you know has a status of offline. Next, in the bottom window, navigate to that exact file and select it. Click the Reconnect All button, it may take a few minutes, but when it is done the number of offline files will have decreased and the new number of online files will be reflected.
    The Reconnect All feature is smart enough to figure out the folder hierarchy for your whole library. I subsequently used the HUD to select all 14,300 "offline" images in the library, I then selected one and told it to Reconnect All as above. Took about 15 minutes but at least there was a progress bar.
    Good Luck

  • Making a swapped in image then swap an image

    Ok,
    I've got my website all put together but I cannot for the life of me figure out how to do this next thing. I'm an illustrator so I have a website where the right hand side has thumbnails - those thumbnails swap an image to the main 'stage'. They also swap in a row of detail thumbnails on the bottom. In an ideal world, the viewer would click a thumnail on the right hand side - an image would appear on the 'stage' and a little row of smaller thumbnails will appear below the image (I got this part fine). Then they could click the thumbnails at the bottom and detailed images of the original illustration would swap onto the 'stage. Then the could click another image on the right hand side and the same thing would happen but with a new image, and new details. This is all fine and well, but I cannot figure out how to get those swapped in thumbnails (at the bottom) to then swap detail images to the 'stage'. I can't select them to assign the behavior because they don't exist until they are swapped in. I can't name them or find them when I click the 'swap image' behavior. If I assign a behavior to the placeholder I can't figure out how to change it for each image.
    Please help!

    This is a pretty complex situation, and is the ideal application for use of the SetText of Element behavior.
    The idea is that you can paste HTML into the behavior to accomplish these rollover rollovers.  Here is a link to an old demonstration of how to use its predecessor (SetTextofLayer) - http://www.dreamweaverresources.com/tutorials/settextoflayer.htm
    To really understand what is happening, you'll need to look at the code, too....

  • Can't Swap out image in PDF

    I have Acrobat CS3 on Mac, and I know nothing about using the app. I am trying to swap out an image in a PDF. I have poked around the interface quite  bit, but nothing works. I seem to be able to select the image, but the only options are to copy or save the image. I can't delete it or insert another image. I have an image prepared, same size as the one in the PDF, and I just want to swap them out. Any help much appreciated!

    Acrobat isn't a design tool. Its editing tools are limited, klunky and a desperate last resort.
    Perhaps the best bet is to select the image when in editing mode and chose right click - Edit. This will open in Photoshop. Then edit (perhaps paste in the replacements) and save and it will go back into Acrobat.

  • How do you swap an image in the timeline but keep the in/out points and opacity settings?

    Hi There,
    We have a file which consists of a bunch of still images that get updated each year - the edits never change.
    Is there an edit type that will allow us to swap the images our for new ones but keep the in/lout points and opacity changes? We've looked at all the edit types (overwrite, insert etc) but they don't seem to swap stuff out.
    We had also been naming the new files the same as the old ones and reconnecting the media but this is now causing issues.
    Any help or pointers in the right direction would be much appreciated.
    Cheers
    Ben

    Click on the new image in the browser, so that it is selected, and the type Command + C to copy it.
    Next, click on the clip in the timeline that you want to replace with the image you just copied (preserving your in and out points and opacity settings) and type Option + V to bring up the Paste Attributes Dialog Box.
    In the Paste Attributes Dialog box, check the box for Contents and leave the remainder of options unchecked.
    Uncheck the Scale Attribute Times option as well.
    Click OK, and the image should now be replaced on the timeline with the in/out and opacity changes preserved.
    MtD

  • Swap Background image using ActionScript

    I need to know how to change (swap) background images.
    Explanation:
    The main file (level 0) is named "Master".
    In the Master timeline, the lowest layer is named "bg" (for
    backgrround).
    On the bg layer is an image the size of the stage, and this
    image forms the background against which other movie clips (.swf)
    are shown.
    Purpose:
    In response to a user (ie: the user clicks a button), I want
    to change the background image.
    Problem:
    I have searched through Flash 8 Help system, and cannot find
    how to delete the 1st image from the "bg" layer, and add a
    different image.
    Hoping someone knows the answer,
    Thanks,
    John

    convert your image to a movieclip. you can then use
    movieclipInstanceName.removeMovieClip() to remove it. or, if you
    might want to use it latter in your swf, change its _visible
    property.

  • Swap two Images at the same time

    I have a roll over button that works fine. I'd like to create
    a "disjointed rollover" and have another image on the page swap out
    at the same time. When I add the second swap image behavior it does
    change but the newly swaped image stays visable onMouseOut. I did
    check the "restore image onMouseOut" box but It seems as if the
    first swap Image restore is canceling out the second? Help,
    thanks.

    Here's one of your images that is triggering the swap -
    <td width="77" height="45"><a href="#"
    onMouseOut="MM_swapImgRestore()"
    onMouseOver="MM_swapImage('jeremy_wariner','','images/recent/24_jeremy_wariner_2.jpg',1)" ><img
    src="
    http://www.danielericwilson.com/drea/images/recent/24_jeremy_wariner.jpg"
    alt="jeremy wariner" name="jeremy_wariner" width="77"
    height="45" border="0"
    onMouseOver="MM_swapImage('textarea','','images/24_jeremy_wariner_text.jpg',1)"
    onMouseOut="MM_swapImgRestore()"></a></td>
    Note that you have applied the swap image behavior BOTH to
    the image AND to
    the anchor wrapping the image. That's not the right thing to
    do. Change
    this code to the following -
    <td width="77" height="45"><a href="#"
    onMouseOut="MM_swapImgRestore()"
    onMouseOver="MM_swapImage('jeremy_wariner','','images/recent/24_jeremy_wariner_2.jpg','te xtarea','','images/24_jeremy_wariner_text.jpg',1)"><img
    src="
    http://www.danielericwilson.com/drea/images/recent/24_jeremy_wariner.jpg"
    alt="jeremy wariner" name="jeremy_wariner" width="77"
    height="45"
    border="0"></a></td>
    Note that I have moved the onmouseover event and its
    associated javascript
    call from the image into the anchor tag. Now, the swapimage
    restore will
    restore both images onmouseout.
    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
    ==================
    "Cakes808" <[email protected]> wrote in
    message
    news:gph7hm$631$[email protected]..
    > The site still very rough but heres the link. Thank you
    for your time in
    > checking this out.
    >
    >
    http://www.danielericwilson.com/drea/
    >

  • Swapping multiple images with 1 rollover

    Hi everybody!
    I am just wondering if the Dreamweaver swapImage() function can be used for swapping several id's images when one does a single rollover/click/mouseOver/mouseOut/whatEver.......?
    In general how would one do something like that?
    For example , if I have have several items on a page and you want to have a dedicated button for swapping them all, how would you do that?
    I am forever greatful for general feedback :-)

    Hey, and thank you for you for fast reply :-)
    Here is the code for the homepage:
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Generative Design Tooling</title>
    <link href="oneColLiqCtr.css" rel="stylesheet" type="text/css" />
    <Script type="text/javascript" src="Javascript Cookie Script.js"></Script>
    <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_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];}
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    function MM_setTextOfLayer(objId,x,newText) { //v9.0
      with (document) if (getElementById && ((obj=getElementById(objId))!=null))
        with (obj) innerHTML = unescape(newText);
    </script>
    <style type="text/css">
    a:link {
        text-decoration: none;
    a:visited {
        text-decoration: none;
    a:hover {
        text-decoration: none;
    a:active {
        text-decoration: none;
    </style>
    </head>
    <body onload="MM_preloadImages('images/HomeButton_03.png','images/HomeMainBlank2_03.png','images/LitteratureBlank2_75.png','images/FlashMenuButton_21.png','images/BlogBlankM_07.png','images/HomeButton_03.png','images/bloggingButtonN_07_07.png','images/homeFill_06.png','images/homeFill_06.png','images/toolingFill_08.png','images/homeFilled_06.png','images/toolingFilled_08.png','images/flashFilled_12.png','images/blogFilled_10.png','images/introFilled_20.png','images/vectorsFilled_21.png','images/lsystemsFilled_23.png','images/recursivityFilled_28.png','images/animgrowthFilled_30.png','images/linksFilled_51.png','images/algFilled_41.png','images/artificialFilled_43.png','images/mayaFilled_48.png','images/fractalsFilled_46.png','images/turtleFilled_53.png','images/alifeFilled_55.png','images/pluginsFilled_81.png','images/extraFilled_81.png','images/designpFilled_71.png','images/disclaimerFilled_73.png','images/projectsFilled_83.png','images/litteratureFilled_85.png','images/emergentFilled_64.png','images/footerFilled_87.png','images/headerFilled_06.png','images/vectorFilled2_21.png','images/genr8Filled_32.png','images/ToolingButtonBlank2_08.png','images/ToolingButtonMainN_05.png','images/DisclaimerBlank2_60.png','images/ProjectsBlank2_73.png','images/bloggingButtonN_07_07.png','images/flashBack.png','images/LitteratureN_99.png','images/PluginsBlank2_71.png','images/PluginsN_95.png','images/aboutSmallBlack_87.png','images/aboutSmall_87.png','images/ProjectsN_97.png','images/IntroMainN_15.png','images/IntroMainBlank2_12.png','images/LinksBlank2_42.png','images/Links_61.png','images/DesignPBlank2_58.png','images/DesignPN_85.png','images/RecursivityBlank2_23.png','images/RecursivityN_30.png','images/Genr8Blank2_27.png','images/Genr8N_34.png','images/fractalBlack_20.png','images/fractalMain_20.png','images/LSystemsBlank2_03.png','images/LSystems_03.png','images/GVectorsBlank2_12.png','images/GVectorsN_21.png','images/Disclaimer_46.png','images/SkyscrapersBlank2_50.png','images/Buildings_73.png','images/MayaApiBlank2_39.png','images/MayaApiN_54.png','images/MapGrammarsBlank2_34.png','images/MapGrammarsBlank_21_20.png','images/sharewareBlack_62.png','images/SharewareN_75.png','images/fractalBlack_46.png','images/AnimGrowthN_32.png','images/SiteCreditsBlank2_62.png','images/SiteCredits_48.png','images/googleBlack_43.png','images/googleSearch_43.png','images/ArtificialBlank_46.png','images/Artificial_32.png','images/EmergentBlank2_64.png','images/EmergentN_77.png','images/Generative7_41.png','images/AlgsN_43.png','images/turtleBlack_53.png','images/TurtleGN_63.png','images/RolloutAllBlack_72.png')">
    <div id="wrapper">
    <div id="homebutton"><a href="index.html" onclick="Set_Cookie('homebutton','TRUE','','','','')" onmouseover="MM_swapImage('homebutton','','images/HomeButton_03.png',1)"><img src="images/HomeMainBlank2_03.png" alt="HomeMain" name="homebutton" width="138" height="55" border="0" id="homebutton2" /></a></div>
    <div id="toolingMain"><a href="Tooling.html" onclick="Set_Cookie('tooling','TRUE','','','','')" onmouseover="MM_swapImage('toolingMain','','images/ToolingButtonMainN_05.png',1)"><img src="images/ToolingButtonBlank2_08.png" alt="ToolingButtonMain" name="toolingMain" width="140" height="55" border="0" id="toolingMain2" /></a></div>
    <div id="blogMain"><a href="Blogging.html" onclick="Set_Cookie('blog','TRUE','','','','')" onmouseover="MM_swapImage('blogMain','','images/bloggingButtonN_10.png',1)"><img src="images/BlogBlankM_07.png" name="blogMain" width="138" height="55" border="0" id="blogMain2" /></a></div>
    <div id="flashButtonTWO"><a href="FillingIn4.html" target="_self" onclick="Set_Cookie('flashButton','TRUE','','','','')" onmouseover="MM_swapImage('flashButtonTWO','','images/AnimasjonFlashBLiten.gif',1)"><img src="images/flashBack.png" name="flashButtonTWO" width="125" height="55" border="0" id="flashButtonTWO2" /></a></div>
    <div id="Litterature"><a href="Litterature.html" onclick="Set_Cookie('litter','TRUE','','','','')" onmouseover="MM_swapImage('Litterature','','images/LitteratureN_99.png',1)"><img src="images/LitteratureBlank2_75.png" alt="Litterature" name="Litterature" width="156" height="55" border="0"  id="Litterature2" /></a></div>
    <div id="Plugins"><a href="Plugins.html" onclick="Set_Cookie('plug','TRUE','','','','')" onmouseover="MM_swapImage('Image41','','images/PluginsN_95.png',1)"><img src="images/PluginsBlank2_71.png" name="Image41" width="113" height="55" border="0" id="Image41" /></a></div>
    <div id="About"><a href="About.html" onclick="Set_Cookie('About','TRUE','','','','')" onmouseover="MM_swapImage('About','','images/aboutSmall_87.png',1)"><img src="images/aboutSmallBlack_87.png" alt="AboutInfo" name="About" width="100" height="55" border="0" id="About2" /></a></div>
    <div id="Projects"><a href="#" onclick="Set_Cookie('Project','TRUE','','','','')" onmouseover="MM_swapImage('Projects','','images/ProjectsN_97.png',1)"><img src="images/ProjectsBlank2_73.png" alt="Projects" name="Projects" width="124" height="55" border="0" id="Projects2" /></a></div>
    <div id="IntroButton"><a href="IntroPage.html" target="_self" onclick="Set_Cookie('intro','TRUE','','','','')" onmouseover="MM_swapImage('IntroButton','','images/IntroMainNGrey_22.png',1)"><img src="images/IntroMainBlank2_12.png" alt="IntroButton" name="IntroButton" width="138" height="55" border="0"  id="IntroButton2" /></a></div>
    <div id="Links"><a href="Links.html" target="_self" onclick="Set_Cookie('link','TRUE','','','','')" onmouseover="MM_swapImage('Links','','images/LinksGrey_63.png',1)"><img src="images/LinksBlank2_42.png" alt="Links" name="Links" width="119" height="55" border="0" id="Links2"/></a></div>
    <div id="DesignP"><a href="DesignParadigm.html" onclick="Set_Cookie('designpa','TRUE','','','','')" onmouseover="MM_swapImage('DesignP','','images/DesignPN_85.png',1)"><img src="images/DesignPBlank2_58.png" alt="DesignParadigm" name="DesignP" width="208" height="55" border="0" id="DesignP2" /></a></div>
    <div id="Recursivity"><a href="#" onclick="Set_Cookie('recurse','TRUE','','','','')" onmouseover="MM_swapImage('Recursivity','','images/RecursivityN_36.png',1)"><img src="images/RecursivityBlank2_23.png" alt="Recursivity" name="Recursivity" width="208" height="55" border="0" id="Recursivity2" /></a></div>
    <div id="Genr8"><a href="Genr8Page.html" onclick="Set_Cookie('generate','TRUE','','','','')" onmouseover="MM_swapImage('Genr8','','images/Genr8N_40.png',1)"><img src="images/Genr8Blank2_27.png" alt="Genr8" name="Genr8" width="93" height="55" border="0" id="Genr" /></a></div>
    <div id="Fractals"><a href="http://classes.yale.edu/fractals/" onclick="Set_Cookie('frac','TRUE','','','','')" onmouseover="MM_swapImage('Fractals','','images/fractalMain_20.png',1)"><img src="images/fractalBlack_20.png" alt="Fractals" name="Fractals" width="138" height="55" border="0" id="Fractals2" /></a></div>
    <div id="LSystems"><a href="LSystems.html" onclick="Set_Cookie('lsys','TRUE','','','','')" onmouseover="MM_swapImage('LSystems','','images/LSystems_03.png',1)"><img src="images/LSystemsBlank2_03.png" alt="LindenmayerSystems" name="LSystems" width="158" height="55" border="0" id="LSystems2" /></a></div>
    <div id="GVectors"><a href="http://chortle.ccsu.edu/VectorLessons/vectorIndex.html" target="_new" onclick="Set_Cookie('vector','TRUE','','','','')" onmouseover="MM_swapImage('GVectors','','images/GVectorsN_21.png',1)"><img src="images/GVectorsBlank2_12.png" alt="GeometricVectors" name="GVectors" width="241" height="55" border="0" id="GVectors2" /></a></div>
    <div id="SiteCred"><a href="siteCredits.html" onclick="Set_Cookie('credits','TRUE','','','','')" onmouseover="MM_swapImage('SiteCred','','images/SiteCreditsGrey_94.png',1)"><img src="images/SiteCreditsBlank2_62.png" alt="SiteCredits" name="SiteCred" width="168" height="55" border="0"  id="SiteCred2" /></a></div>
    <div id="Skyscrapers"><a href="Buildings.html" onclick="Set_Cookie('sky','TRUE','','','','')" onmouseover="MM_swapImage('Skyscrapers','','images/Buildings_73.png',1)"><img src="images/SkyscrapersBlank2_50.png" alt="Highrises" name="Skyscrapers" width="160" height="55" border="0"id="Skyscrapers2" /></a></div>
    <div id="MayaApi"><a href="MAYA C++ API.html" onclick="Set_Cookie('maya','TRUE','','','','')" onmouseover="MM_swapImage('MayaApi','','images/MayaApiN_54.png',1)"><img src="images/MayaApiBlank2_39.png" alt="AutodeskMayaC++Api" name="MayaApi" width="223" height="55" border="0" id="MayaApi2" /></a></div>
    <div id="MappingGrammars"><a href="#" onclick="Set_Cookie('map','TRUE','','','','')" onmouseover="MM_swapImage('MappingGrammars','','images/MapGrammars_21_20.png',1)"><img src="images/MapGrammarsBlank2_34.png" alt="MapGrammars" name="MappingGrammars" width="279" height="55" border="0" id="MappingGrammars2" /></a></div>
    <div id="ShareWare"><a href="#" onclick="Set_Cookie('openSource','TRUE','','','','')" onmouseover="MM_swapImage('shareWare','','images/SharewareNGrey_63.png',1)"><img src="images/sharewareBlack_62.png" alt="openSource" name="shareWare" width="162" height="55" border="0" id="shareWare2" /></a></div>
    <div id="Algorithms"><a href="#" onclick="Set_Cookie('algo','TRUE','','','','')" onmouseover="MM_swapImage('Algorithms','','images/AlgsN_43.png',1)"><img src="images/Generative7_41.png" alt="Algorithms" name="Algorithms" width="181" height="55" border="0" id="Algorithms2" /></a></div>
    <div id="artificialFill"><a href="GoogleCustomSearch.html" onclick="Set_Cookie('artiFill','TRUE','','','','')" onmouseover="MM_swapImage('filledArtificial','','images/googleSearch_43.png',1)"><img src="images/googleBlack_43.png" name="filledArtificial" width="287" height="55" border="0" id="filledArtificial" /></a></div>
    <div id="Artificial"><a href="#" onclick="Set_Cookie('arti','TRUE','','','','')" onmouseover="MM_swapImage('Artificial','','images/Artificial_32.png',1)"><img src="images/ArtificialBlank_46.png" alt="ArtificialLife" name="Artificial" width="183" height="55" border="0" id="Artificial2" /></a></div>
    <div id="EmergentD"><a href="#" onclick="Set_Cookie('EmergentDes','TRUE','','','','')" onmouseover="MM_swapImage('EmergentDes','','images/EmergentN_77.png',1)"><img src="images/EmergentBlank2_64.png" alt="EmergentDesign" name="EmergentDes" width="227" height="55" border="0" id="EmergentD2" /></a></div>
    <div id="AnimGrowth"><a href="#" onclick="Set_Cookie('anim','TRUE','','','','')" onmouseover="MM_swapImage('AnimGrowth','','images/AnimGrowthN_32.png',1)"><img src="images/fractalBlack_46.png" alt="AnimatingGrowth" name="AnimGrowth" width="245" height="55" border="0" id="AnimGrowth2" /></a></div>
    <div id="TurtleG"><a href="TurtleGraphics.html" onclick="Set_Cookie('turtle','TRUE','','','','')" onmouseover="MM_swapImage('TurtleG','','images/TurtleGN_63.png',1)"><img src="images/turtleBlack_53.png" alt="TurtleGraphics" name="TurtleG" width="240" height="55" border="0" id="TurtleG2" /></a></div>
    <div id="Disclaimer"><a href="Disclaimer.html" onclick="Set_Cookie('Disclaimed','TRUE','','','','')" onmouseover="MM_swapImage('Disclaimed','','images/DisclaimerGrey_92.png',1)"><img src="images/DisclaimerBlank2_60.png" alt="Disclaimer" name="Disclaimed" width="154" height="55" border="0" id="Disclaimer2" /></a></div>
    <div id="vectorsFill"><a href="#" onclick="Set_Cookie('vectorFill','TRUE','','','','')" onmouseover="MM_swapImage('filledVectors','','images/vectorsFilledParametric_21.png',1)"><img src="images/vectorsFill_21.png" name="filledVectors" width="248" height="55" border="0" id="filledVectors" /></a></div>
    <div id="introFill"><a href="#" onclick="Set_Cookie('introFilled','TRUE','','','','')" onmouseover="MM_swapImage('filledIntro','','images/introFilled_20.png',1)"><img src="images/introFill2_20.png" name="filledIntro" width="138" height="55" border="0" id="filledIntro" /></a></div>
    <div id="lsystemFill"><a href="#" onclick="Set_Cookie('lsysFill','TRUE','','','','')" onmouseover="MM_swapImage('filledLsystems','','images/lsystemsFilled_23.png',1)"><img src="images/lsystemsFill_23.png" name="filledLsystems" width="160" height="55" border="0" id="filledLsystems" /></a></div>
    <div id="emergentFill"><a href="#" onclick="Set_Cookie('emergentFill','TRUE','','','','')" onmouseover="MM_swapImage('filledEmergent','','images/emergentFilled_79.png',1)"><img src="images/emergentFill_64.png" name="filledEmergent" width="227" height="55" border="0" id="filledEmergent" /></a></div>
    <div id="blogFill"><a href="#" onclick="Set_Cookie('blogFill','TRUE','','','','')" onmouseover="MM_swapImage('filledBlog','','images/blogFilled_10.png',1)"><img src="images/blogFill_10.png" name="filledBlog" width="138" height="55" border="0" id="filledBlog" /></a></div>
    <div id="extraFill"><a href="#" onclick="Set_Cookie('extraFill','TRUE','','','','')" onmouseover="MM_swapImage('filledExtra','','images/extraFilled_81.png',1)"><img src="images/extraFill_81.png" name="filledExtra" width="100" height="55" border="0" id="filledExtra" /></a></div>
    <div id="homeF"><a href="#" onclick="Set_Cookie('homeFill','TRUE','','','','')" onmouseover="MM_swapImage('filled','','images/homeFilled_06.png',1)"><img src="images/homeFill_06.png" name="filled" width="138" height="55" border="0" id="filled" /></a></div>
    <div id="VectorFillExtra"><a href="#" onclick="Set_Cookie('VectorFillExtra','TRUE','','','','')" onmouseover="MM_swapImage('filledVectorT','','images/vectorFilled2_21.png',1)"><img src="images/vectorFill2_21.png" name="filledVectorT" width="248" height="55" border="0" id="filledVectorT" /></a></div>
    <div id="fractalFill"><a href="#" onclick="Set_Cookie('fractalFill','TRUE','','','','')" onmouseover="MM_swapImage('filledFractals','','images/fractalsFilled_46.png',1)"><img src="images/fractalsFill_46.png" name="filledFractals" width="208" height="55" border="0" id="filledFractals" /></a></div>
    <div id="headerFill"><a href="#" onclick="Set_Cookie('headerFill','TRUE','','','','')" onmouseover="MM_swapImage('filledHeader','','images/headerFilled_06.png',1)"><img src="images/headerFill_06.png" name="filledHeader" width="138" height="55" border="0" id="filledHeader" /></a></div>
    <div id="alifeFill"><a href="#" onclick="Set_Cookie('alifeFill','TRUE','','','','')" onmouseover="MM_swapImage('filledAlife','','images/alifeFilled_55.png',1)"><img src="images/alifeFill_55.png" name="filledAlife" width="185" height="55" border="0" id="filledAlife" /></a></div>
    <div id="toolingF"><a href="#" onclick="Set_Cookie('toolingfilled','TRUE','','','','')" onmouseover="MM_swapImage('toolingfill','','images/toolingFilled_08.png',1)"><img src="images/toolingFill_08.png" name="toolingfill" width="126" height="55" border="0" id="toolingfill" /></a></div>
    <div id="pluginsFill"><a href="#" onclick="Set_Cookie('pluginsFill','TRUE','','','','')" onmouseover="MM_swapImage('filledPlugins','','images/pluginsFilled_81.png',1)"><img src="images/pluginsFill_81.png" name="filledPlugins" width="121" height="55" border="0" id="filledPlugins" /></a></div>
    <div id="recurFill"><a href="#" onclick="Set_Cookie('recurFill','TRUE','','','','')" onmouseover="MM_swapImage('filledRecur','','images/recursivityFilled_28.png',1)"><img src="images/recursivityFill_28.png" name="filledRecur" width="208" height="55" border="0" id="filledRecur" /></a></div>
    <div id="animFill"><a href="#" onclick="Set_Cookie('animFill','TRUE','','','','')" onmouseover="MM_swapImage('filledAnim','','images/animgrowthFilled_30.png',1)"><img src="images/animgrowthFill_30.png" name="filledAnim" width="245" height="55" border="0" id="filledAnim" /></a></div>
    <div id="algoFill"><a href="#" onclick="Set_Cookie('algoFill','TRUE','','','','')" onmouseover="MM_swapImage('filledAlgo','','images/algFilled_41.png',1)"><img src="images/algFill_41.png" name="filledAlgo" width="183" height="55" border="0" id="filledAlgo" /></a></div>
    <div id="flashFill"><a href="#" onclick="Set_Cookie('flashFilled','TRUE','','','','')" onmouseover="MM_swapImage('filledFlash','','images/flashFilled_12.png',1)"><img src="images/flashFill_12.png" name="filledFlash" width="125" height="55" border="0" id="filledFlash" /></a></div>
    <div id="linksFill"><a href="#" onclick="Set_Cookie('linksFill','TRUE','','','','')"  onmouseover="MM_swapImage('filledLinks','','images/linksFilled_51.png',1)"><img src="images/linksFill_51.png" name="filledLinks" width="119" height="55" border="0" id="filledLinks" /></a></div>
    <div id="litteratureFill"><a href="#" onclick="Set_Cookie('litteratureFill','TRUE','','','','')" onmouseover="MM_swapImage('filledLitterature','','images/litteratureFilled_85.png',1)"><img src="images/litteratureFill_85.png" name="filledLitterature" width="156" height="55" border="0" id="filledLitterature" /></a></div>
    <div id="projectsFill"><a href="#" onclick="Set_Cookie('projectsFill','TRUE','','','','')" onmouseover="MM_swapImage('filledProjects','','images/projectsFilled_83.png',1)"><img src="images/projectsFill_83.png" name="filledProjects" width="126" height="55" border="0" id="filledProjects" /></a></div>
    <div id="turtleFill"><a href="#" onclick="Set_Cookie('turtleFill','TRUE','','','','')" onmouseover="MM_swapImage('filledTurtle','','images/turtleFilled_53.png',1)"><img src="images/turtleFill_53.png" name="filledTurtle" width="238" height="55" border="0" id="filledTurtle" /></a></div>
    <div id="mayaFill"><a href="#" onclick="Set_Cookie('mayaFill','TRUE','','','','')" onmouseover="MM_swapImage('filledMaya','','images/Refresh_49.png',1)"><img src="images/mayaFill_48.png" name="filledMaya" width="375" height="55" border="0" id="filledMaya" /></a></div>
    <div id="disclaimerFill"><a href="#" onclick="Set_Cookie('disclaimerFill','TRUE','','','','')" onmouseover="MM_swapImage('filledDisclaimer','','images/disclaimerFilled_73.png',1)"><img src="images/disclaimerFill_73.png" name="filledDisclaimer" width="167" height="55" border="0" id="filledDisclaimer" /></a></div>
    <div id="footerFill"><a href="#" onclick="Set_Cookie('footerFill','TRUE','','','','')" onmouseover="MM_swapImage('filledFooter','','images/footerFilled_87.png',1)"><img src="images/footerFill_87.png" name="filledFooter" width="127" height="55" border="0" id="filledFooter" /></a></div>
    <div id="designpFill"><a href="#" onclick="Set_Cookie('designpFill','TRUE','','','','')" onmouseover="MM_swapImage('filledDesignp','','images/designpFilled_71.png',1)"><img src="images/designpFill_71.png" name="filledDesignp" width="268" height="55" border="0" id="filledDesignp" /></a></div>
    </div>
    <div id="viewAll"><a href="#" onclick="MM_swapImage('Image54','','images/RolloutAllBlack_72.png',1)"><img src="images/RolloutAll_72.png" name="Image54" width="208" height="55" border="0" id="Image54" /></a></div>
    <script type="text/javascript">
    if (Get_Cookie('plug')) { document.getElementById('Image41').src="images/PluginsN_95.png" ; }
    if (Get_Cookie('homebutton')) { document.getElementById('homebutton2').src="images/HomeButton_03.png" ; }
    if (Get_Cookie('search')) { document.getElementById('searchBox2').src="images/searchbox2_18.png" ; }
    if (Get_Cookie('tooling')) { document.getElementById('toolingMain2').src="images/ToolingButtonMainN_05.png" ; }
    if (Get_Cookie('homeF')) { document.getElementById('homeF2').src="images/homeFilled_06.png" ; }
    if (Get_Cookie('flashButton')) { document.getElementById('flashButtonTWO2').src="images/AnimasjonFlashBLiten.gif" ; }
    if (Get_Cookie('Disclaimer')) { document.getElementById('Disclaimer2').src="images/Disclaimer_46.png" ; }
    if (Get_Cookie('About')) { document.getElementById('About2').src="images/aboutSmall_87.png" ; }
    if (Get_Cookie('litter')) { document.getElementById('Litterature2').src="images/LitteratureN_99.png" ; }
    if (Get_Cookie('sky')) { document.getElementById('Skyscrapers2').src="images/Buildings_73.png" ; }
    if (Get_Cookie('arti')) { document.getElementById('Artificial2').src="images/Artificial_32.png" ; }
    if (Get_Cookie('intro')) { document.getElementById('IntroButton2').src="images/IntroMainNGrey_22.png" ; }
    if (Get_Cookie('vector')) { document.getElementById('GVectors2').src="images/GVectorsN_21.png" ; }
    if (Get_Cookie('lsys')) { document.getElementById('LSystems2').src="images/LSystems_03.png" ; }
    if (Get_Cookie('recurse')) { document.getElementById('Recursivity2').src="images/RecursivityN_36.png" ; }
    if (Get_Cookie('anim')) { document.getElementById('AnimGrowth2').src="images/AnimGrowthN_32.png" ; }
    if (Get_Cookie('generate')) { document.getElementById('Genr').src="images/Genr8N_40.png" ; }
    if (Get_Cookie('algo')) { document.getElementById('Algorithms2').src="images/AlgsN_43.png" ; }
    if (Get_Cookie('map')) { document.getElementById('MappingGrammars2').src="images/MapGrammars_21_20.png" ; }
    if (Get_Cookie('blog')) { document.getElementById('blogMain2').src="images/bloggingButtonN_10.png" ; }
    if (Get_Cookie('frac')) { document.getElementById('Fractals2').src="images/fractalMain_20.png" ; }
    if (Get_Cookie('maya')) { document.getElementById('MayaApi2').src="images/MayaApiN_54.png" ; }
    if (Get_Cookie('link')) { document.getElementById('Links2').src="images/LinksGrey_63.png" ; }
    if (Get_Cookie('turtle')) { document.getElementById('TurtleG2').src="images/TurtleGN_63.png" ; }
    if (Get_Cookie('EmergentDes')) { document.getElementById('EmergentD2').src="images/EmergentN_77.png" ; }
    if (Get_Cookie('openSource')) { document.getElementById('shareWare2').src="images/SharewareNGrey_63.png" ; }
    if (Get_Cookie('credits')) { document.getElementById('SiteCred2').src="images/SiteCreditsGrey_94.png" ; }
    if (Get_Cookie('Project')) { document.getElementById('Projects2').src="images/ProjectsN_97.png" ; }
    if (Get_Cookie('Disclaimed')) { document.getElementById('Disclaimer2').src="images/DisclaimerGrey_92.png" ; }
    if (Get_Cookie('designpa')) { document.getElementById('DesignP2').src="images/DesignPN_85.png" ; }
    if (Get_Cookie('toolingfilled')) { document.getElementById('toolingfill').src="images/toolingFilled_08.png" ; }
    if (Get_Cookie('homeFill')) { document.getElementById('filled').src="images/homeFilled_06.png" ; }
    if (Get_Cookie('flashFilled')) { document.getElementById('filledFlash').src="images/flashFilled_12.png" ; }
    if (Get_Cookie('blogFill')) { document.getElementById('filledBlog').src="images/blogFilled_10.png" ; }
    if (Get_Cookie('introFilled')) { document.getElementById('filledIntro').src="images/introFilled_20.png" ; }
    if (Get_Cookie('vectorFill')) { document.getElementById('filledVectors').src="images/vectorsFilledParametric_21.png" ; }
    if (Get_Cookie('lsysFill')) { document.getElementById('filledLsystems').src="images/lsystemsFilled_23.png" ; }
    if (Get_Cookie('recurFill')) { document.getElementById('filledRecur').src="images/recursivityFilled_28.png" ; }
    if (Get_Cookie('animFill')) { document.getElementById('filledAnim').src="images/animgrowthFilled_30.png" ; }
    if (Get_Cookie('genr8Fill')) { document.getElementById('filledGenr8').src="images/genr8Filled_32.png" ; }
    if (Get_Cookie('linksFill')) { document.getElementById('filledLinks').src="images/linksFilled_51.png" ; }
    if (Get_Cookie('algoFill')) { document.getElementById('filledAlgo').src="images/algFilled_41.png" ; }
    if (Get_Cookie('artiFill')) { document.getElementById('filledArtificial').src="images/googleSearch_43.png" ; }
    if (Get_Cookie('mayaFill')) { document.getElementById('filledMaya').src="images/mayaFilled_48.png" ; }
    if (Get_Cookie('fractalFill')) { document.getElementById('filledFractals').src="images/fractalsFilled_46.png" ; }
    if (Get_Cookie('turtleFill')) { document.getElementById('filledTurtle').src="images/turtleFilled_53.png" ; }
    if (Get_Cookie('alifeFill')) { document.getElementById('filledAlife').src="images/alifeFilled_55.png" ; }
    if (Get_Cookie('pluginsFill')) { document.getElementById('filledPlugins').src="images/pluginsFilled_81.png" ; }
    if (Get_Cookie('extraFill')) { document.getElementById('filledExtra').src="images/extraFilled_81.png" ; }
    if (Get_Cookie('designpFill')) { document.getElementById('filledDesignp').src="images/designpFilled_71.png" ; }
    if (Get_Cookie('disclaimerFill')) { document.getElementById('filledDisclaimer').src="images/disclaimerFilled_73.png" ; }
    if (Get_Cookie('litteratureFill')) { document.getElementById('filledLitterature').src="images/litteratureFilled_85.png" ; }
    if (Get_Cookie('projectsFill')) { document.getElementById('filledProjects').src="images/projectsFilled_83.png" ; }
    if (Get_Cookie('emergentFill')) { document.getElementById('filledEmergent').src="images/emergentFilled_64.png" ; }
    if (Get_Cookie('emergentFill')) { document.getElementById('filledFooter').src="images/footerFilled_87.png" ; }
    if (Get_Cookie('headerFill')) { document.getElementById('filledHeader').src="images/headerFilled_06.png" ; }
    if (Get_Cookie('VectorFillExtra')) { document.getElementById('filledVectorT').src="images/vectorsFilled_21.png" ; }
    </script>
    </body>
    </html>
    All the id's here have imageSwaps, as you can see, but I also have an id outside the wrapper id that is supposed to be a "view all swapped" - button.
    How would I start in terms of this show/hide on mouse -event ?

  • I have updated my iphone this evening and is has asked me to connect my phone to itunes, I connected it to a computer with itunes and it says it needs restoring? and all my images etcwill be earsed I need help as I have not backed my iphone up previously

    I have updated my iphone this evening and is has asked me to connect my phone to itunes, I connected it to a computer with itunes and it says it needs restoring? and all my images etcwill be earsed I need help as I have not backed my iphone up previously please help?

    YOur phone is in recovery mode, any data that was on there is already gone, you will have to restore your phone and use whatever backup you to restore to.

  • Swap background image?

    Hi,
    I am looking for a posibility to dynamicaly change the background image of a vi.
    See attached example: The switch should change the circle-image into a box-image. the two images are overlaid and I thought I could make one image visible and the other invisible, but the images have no terminal in the block diagramm...
    Any idea?
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.
    Attachments:
    Swap image.vi ‏17 KB

    I can not open LV 9.0-VIs
    Could you please either save it as 7.1 or upload a screenshot?
    Thanks.
    BTW here is a screenshot of my problem:
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Problem.PNG ‏27 KB

  • Image sizing in behavior swap

    my question concerning image size with using swap in dreamweaver. I am putting up a gallery and using the swap feature. I have the thumbnails but my images are different sizes that swap out to a div.
    So the skinny images stretch out to fill the space.
    I thought I read I could apply a size to the image within the code, but I don't know where it would go.
    here is a sampe of the script
    <a href="javascript:;" onmouseover="MM_swapImage('large','','draw/Images/DancingEmeritus03_9x12.jpg',1)">
    <img src="draw/thumbnails/dancing-emeritus-opp.jpg" width="47" height="75" border="0" /></a></td>
    I want the first image, the large one,  to be -- width="94" height="150" --- within a div that is 200 x200pixels -
    For some of the images I have gone back to Photoshop and backed the images with a larger canvas that fits the size
    So the image is now 200 x200---But can I do with  coding for the images?  I want each image to be 100% within the div.
    I hope this is the right thread location- first time here...thanks Julia

    I want each image to be 100% within the div.
    If that is the case, then the images will stretch (asymmetrically) to fit that space. If you don't specify the width and height, the browser will do the right thing.
    With a string of images, it is usually better to have a common dimension (sizing the images in PS) so that all images are, say, 200px wide OR 200px high. but NOT both.
    Barry

  • HELP! how to display an image when clicking on JLabel?

    hi. new to the forums. anyway, i need help in displaying an image.
    what i'm trying to do is when clicking on a JLabel using mouseClicked, an image will show and when the image is clicked it will disappear. i've searched and searched and have not found anything useful. thanks...

    thanks.
    searched on the setIcon, didn't find anything. btw, i know how to set the icon on the JLabel. i'm trying to figure out how i can get it that when i click on the JLabel by using the mouseClicked (or maybe even mousePressed) listener, the image pops up and when i click on the image, it closes or disappears.
    btw, i'm using the netBeans GUI builder for this. thanks again.

  • How can I determine which image was clicked in 3D carousel?

    I have been modifying some 3D carousel code that I found in hopes that I can get it such that when image "resolv2.jpg" (or any of my other images) is clicked on at the front of my carousel, it goes to a specific webpage. By just replacing "moveBack(event.target) from the toggler section of the code with "navigateToURL:(newURLRequest('http://google.com'), the target DOES sucessfully go to google when clicked on. However, I want to modify this code by altering the else statement to say something to the effect of "else if event.target (clicked on object) is 'resolv2.jpg' THEN go to google". So essentially, my question is how can I determine which image was clicked? Here is the entire code with the area I was altering bolded:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" applicationComplete="init();" backgroundGradientColors="[#000033, #000033]" backgroundGradientAlphas="[1.0, 1.0]">
    <mx:Script>
              <![CDATA[
    //Import Papervision Classes
                   import org.papervision3d.scenes.*;
                   import org.papervision3d.cameras.*; 
                   import org.papervision3d.objects.*;
                   import org.papervision3d.objects.primitives.*;
                   import org.papervision3d.materials.*;
                   import org.papervision3d.materials.shadematerials.*;
                   import org.papervision3d.materials.utils.MaterialsList;
                   import org.papervision3d.lights.*;
                   import org.papervision3d.render.*;
                   import org.papervision3d.view.*;
                   import org.papervision3d.events.*;
                   import org.papervision3d.core.*;
                   import org.papervision3d.lights.PointLight3D;
                   import flash.filters.DropShadowFilter;
                         import caurina.transitions.*;
                         private var numOfItems:int = 5;
                         private var radius:Number = 600;
                         private var anglePer:Number = (Math.PI*2) / numOfItems;
                         //private var dsf:DropShadowFilter = new DropShadowFilter(10, 45, 0x000000, 0.3, 6, 6, 1, 3);
                   public var angleX:Number = anglePer;
             public var dest:Number = 1;
                   private var theLight:PointLight3D;
            //Papervision Engine
                   private var viewport:Viewport3D; 
                   private var scene:Scene3D; 
                   private var camera:Camera3D;
                   private var renderer:BasicRenderEngine;
             private var planeArray:Array = new Array();
             [Bindable]
             public var object:Object;
             private var arrayPlane:Object;
             private var p:Plane;
             //Initiation function           
             private function init():void 
             viewport = new Viewport3D(pv3dCanvas.width, pv3dCanvas.height, false, true); 
             pv3dCanvas.rawChildren.addChild(viewport); 
             viewport.buttonMode=true;
             renderer = new BasicRenderEngine();
             scene = new Scene3D(); 
             camera = new Camera3D();
             camera.zoom = 2; 
             createObjects(); 
             addEventListeners();
    //Create Objects function          
              private function createObjects():void{
              for(var i:uint=1; i<=numOfItems; i++)
                        /* var shadow:DropShadowFilter = new DropShadowFilter();
                        shadow.distance = 10;
            shadow.angle = 25; */
                        var bam:BitmapFileMaterial = new BitmapFileMaterial("images/resolv"+i+".jpg");
                        bam.oneSide = false;
                        bam.smooth = true;
            bam.interactive = true;
                        p = new Plane(bam, 220, 200, 2, 2);
                        p.x = Math.cos(i*anglePer) * radius;
                        p.z = Math.sin(i*anglePer) * radius;
                        p.rotationY = (-i*anglePer) * (180/Math.PI) + 270;
                        scene.addChild(p);
                        //p.filters=[shadow];
                        p.extra={pIdent:"in"};
                        p.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
            planeArray[i] = p;
              // create lighting
            theLight = new PointLight3D();
            scene.addChild(theLight);
            theLight.y = pv3dCanvas.height;
              private function toggler(event:InteractiveScene3DEvent):void
                            // if the cube's position is "in", move it out else move it back
                            if (event.target.extra.pIdent == "in")
                                    moveOut(event.target);
                            else
                                   moveBack(event.target);
                    private function moveOut(object:Object):void
                              trace(object +" my object");
                            // for each cube that was not selected, remove the click event listener
                            for each (var arrayPlane:Object in planeArray)
                                    if (arrayPlane != object)
                                            arrayPlane.removeEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
                            //right.enabled=false;
                            //left.enabled=false;
                            // move the selected cube out 1000 and rotate 90 degrees once it has finished moving out
                            Tweener.addTween(object, {scaleX:1.2, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            Tweener.addTween(object, {scaleY:1.2, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            // set the cube's position to "out"
                            object.extra = {pIdent:"out"};
                            // move the camera out 1000 and move it the to same y coordinate as the selected cube
                            //Tweener.addTween(camera, {x:1000, y:object.y, rotationX:0, time:0.5, transition:"easeInOutSine"});
                    private function moveBack(object:Object):void
                            // for each cube that was not selected, add the click event listener back
                            for each (var arrayPlane:Object in planeArray)
                                    if (arrayPlane != object)
                                            arrayPlane.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
                            // move the selected cube back to 0 and rotate 90 degrees once it has finished moving back
                            Tweener.addTween(object, {scaleX:1, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            Tweener.addTween(object, {scaleY:1, time:0.5, transition:"easeInOutSine", onComplete:rotateCube, onCompleteParams:[object]});
                            // set the cube's position to "in"
                            object.extra = {pIdent:"in"};
                            // move the camera back to its original position
                            //Tweener.addTween(camera, {x:0, y:1000, rotationX:-30, time:0.5, transition:"easeInOutSine"});
                            //right.enabled=true;
                            //left.enabled=true;
                    private function goBack():void
                            // for each cube that was not selected, add the click event listener back
                            for each (var arrayPlane:Object in planeArray)
                                    if (arrayPlane != object)
                                            arrayPlane.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, toggler);
                    private function rotateCube(object:Object):void
                            //object.rotationX = 0;
                            //Tweener.addTween(object, {rotationZ:0, time:0.5, transition:"easeOutSine"});
              private function addEventListeners():void{
        this.addEventListener(Event.ENTER_FRAME, render);
    //Enter Frame Listener function             
    private function render(e:Event):void{ 
                     renderer.renderScene(scene, camera, viewport);
                     camera.x = Math.cos(angleX) * 800;                                                  
                     camera.z = Math.sin(angleX) * 800;
    private function moveRight():void
              dest++;
              Tweener.addTween(this, {angleX:dest*anglePer, time:0.5});
              //goBack();
    private function moveLeft():void
              dest--;
              Tweener.addTween(this, {angleX:dest*anglePer, time:0.5});
              //goBack();
              ]]>
    </mx:Script>
              <mx:Canvas width="1014" height="661">
              <mx:Canvas id="pv3dCanvas" x="503" y="20" width="400" height="204" borderColor="#110101" backgroundColor="#841414" alpha="1.0" backgroundAlpha="0.57"> 
              </mx:Canvas>
              <mx:Button x="804" y="232" label="right" id="right" click="moveRight(),goBack()"/>
              <mx:Button x="582" y="232" label="left"  id="left"  click="moveLeft(),goBack()" />
              </mx:Canvas>
    </mx:Application>

    Your answer may be correct, but I am very much a beginner to actionscript, and I was wondering moreso if it is possible to determine the root/url (i.e. images/resolv2.jpg)? Or even if InteractiveScene3DEvent calls a variable that holds this url? However, specifically, I'm just wondering if the actionscript itself could determine the url in a line of code such as "if object == BitmapFileMaterial("/images/resolv2.jpg"); "? Also, here's a copy of InteractiveScene3DEvent in more detail if you think that will help:
    public class InteractiveScene3DEvent extends Event
                         * Dispatched when a container in the ISM recieves a MouseEvent.CLICK event
                        * @eventType mouseClick
                        public static const OBJECT_CLICK:String = "mouseClick";
                         * Dispatched when a container in the ISM receives an MouseEvent.MOUSE_OVER event
                        * @eventType mouseOver
                        public static const OBJECT_OVER:String = "mouseOver";
                         * Dispatched when a container in the ISM receives an MouseEvent.MOUSE_OUT event
                        * @eventType mouseOut
                        public static const OBJECT_OUT:String = "mouseOut";
                         * Dispatched when a container in the ISM receives a MouseEvent.MOUSE_MOVE event
                        * @eventType mouseMove
                        public static const OBJECT_MOVE:String = "mouseMove";
                         * Dispatched when a container in the ISM receives a MouseEvent.MOUSE_PRESS event
                        * @eventType mousePress
                        public static const OBJECT_PRESS:String = "mousePress";
                         * Dispatched when a container in the ISM receives a MouseEvent.MOUSE_RELEASE event
                        * @eventType mouseRelease
                        public static const OBJECT_RELEASE:String = "mouseRelease";
                         * Dispatched when the main container of the ISM is clicked
                        * @eventType mouseReleaseOutside
                        public static const OBJECT_RELEASE_OUTSIDE:String = "mouseReleaseOutside";
                         * Dispatched when a container is created in the ISM for drawing and mouse interaction purposes
                        * @eventType objectAdded
                        public static const OBJECT_ADDED:String = "objectAdded";
                        public var displayObject3D                                        :DisplayObject3D = null;
                        public var sprite                                                            :Sprite = null;
                        public var face3d                                                            :Triangle3D = null;
                        public var x                                                                      :Number = 0;
                        public var y                                                                      :Number = 0;
                        public var renderHitData:RenderHitData;
                        public function InteractiveScene3DEvent(type:String, container3d:DisplayObject3D=null, sprite:Sprite=null, face3d:Triangle3D=null,x:Number=0, y:Number=0, renderhitData:RenderHitData = null, bubbles:Boolean=false, cancelable:Boolean=false)
                                  super(type, bubbles, cancelable);
                                  this.displayObject3D = container3d;
                                  this.sprite = sprite;
                                  this.face3d = face3d;
                                  this.x = x;
                                  this.y = y;
                                  this.renderHitData = renderhitData;
    Thank you so much!

  • Running gif animation and a random image output from an html button, HELP!!

    Trying to click (onClick) an animated gif image of an on/off switch to start a second animation which is located on a different location on the web-page (a 7-frame animation of a generator with moving parts) immediately followed by a random image selection function placing an image in a 3rd location on the page (next to the generator image). The random images are supposed to look like the result of the generator animation---the item that “pops out” of the generator.
    We thought the process to achieve this would be an “OnClick” on the on/off switch-animated-gif to start two javascript functions (generato animation function & random image function).
    To further complicate matters, we are doing this website in iWeb. We’re using iWeb SEO Tool to add the javascript to the header and HTML snippet in iWeb to place the HTML code. Not sure we’re actually doing the snippet right though---is it supposed to relate to the images---or is it separate? When the gifs are place on the iweb page, they work in the browser upon page load---the “on-click” & the random image function are NOT working...so we know we’ve done something(s) wrong.
    We’re thinking that we’re probably missing some code that describes where the 3 different image-spots are on the page (image #1 is the on/off switch gif, image#2 is the generator gif, image#3 is the generator output.png)....or just aren’t coding the string of functions correctly---or maybe our strategy for achieving this is just no correct (?).
    Here is the code we have tried that didn’t work. We desperately need a solution quickly and are open to any/other ideas for how to accomplish this. THANKS YOU in advance for your help!!!:
    script language = JAVASCRIPT>
    <!-- Hide script from old browsers
    function gif_animation(){
    if (document.images)
    generator = new Image
    generator_on = new Image
    generator.src = "christmassweatergenerator-offswitch.gif"
    generator_on.src = "christmassweater_generatoron-offswitch.gif"
    // Stop hiding script from older browsers -->
    Random Image Link Script
    By Website Abstraction (http://www.wsabstract.com)
    and Java-scripts.net (http://www.java-scripts.net)
    function random_imglink(){
    var myimages=new Array()
    //specify random images below. You can have as many as you wish
    myimages[1]="christmassweater_GENERATOR_files/cotton_candy_christmassweater.png"
    myimages[2]="christmassweater_GENERATOR_files/eiffel_tower_christmassweater.png"
    myimages[3]="christmassweater_GENERATOR_files/kitty_litter_christmassweater.png"
    myimages[4]="christmassweater_GENERATOR_files/spatula_christmassweater.png"
    <!--//specify corresponding links below
    var imagelinks=new Array()
    imagelinks[1]="#<a class="jive-link-external-small" href="http://www.christmassweaterfun.com/christmassweater_GENERATOR">http://www.christmassweaterfun.com/christmas_sweaterGENERATOR</a>"
    imagelinks[2]="#<a class="jive-link-external-small" href="http://www.christmassweaterfun.com/christmassweater_GENERATOR">http://www.christmassweaterfun.com/christmas_sweaterGENERATOR</a>"
    imagelinks[3]="#<a class="jive-link-external-small" href="http://www.christmassweaterfun.com/christmassweater_GENERATOR">http://www.christmassweaterfun.com/christmas_sweaterGENERATOR</a>"
    imagelinks[4]="#<a class="jive-link-external-small" href="http://www.christmassweaterfun.com/christmassweater_GENERATOR">http://www.christmassweaterfun.com/christmas_sweaterGENERATOR</a>"
    -->
    var ry=Math.floor(Math.random()*myimages.length)
    if (ry==0)
    ry=1
    document.write('<a href=''"'+imagelinks[ry]+'"''>')
    random_imglink()
    //-->
    </script>
    <!--the HTML:
    <a href="#" onclick="function gif_animation(); function random_imglink();">

    What's the URL of your site so we can examine it first hand? When you added the code to your post the servers messed it up and tried to render it on the page. We can get the code if we can get to your site.
    OT

Maybe you are looking for