2 javascript image galleries to communicate

http://www.canchair.com/new_web_product_detail.asp?ProductID=450&ProductFamily=1&ProductFa milySub=9#
The above page features an image gallery containing
thumbnails and a "large image" whose javascript ID is "largeimage"
Additionally, clicking on the large image brings visible a
layer featuring another image gallery with a "giant image" whose ID
is "nlargeimage".
>How do I alter the below javascript code so that the
"nlargeimage" equals the current "largeimage"?
Code for the first image gallery (featuring the
"largeimage"):
var currentImage= "<%=images("url_img")%>";
function showBigImage( isource,bigImage,header ) {
var theImage = document.getElementById( 'largeimage' );
theImage.src = isource;
currentImage = bigImage;
document.getElementById( 'largeimage' ).alt=header;
document.getElementById('photoHeader').innerHTML=header;
Code for the second image gallery (featuring the
"nlargeimage") - same as above code with the prefix "n" applied to
variables for uniqueness:
var ncurrentImage= "<%=images("url_img")%>";
function nshowBigImage( nisource,nbigImage,nheader ) {
var ntheImage = document.getElementById( 'nlargeimage' );
ntheImage.src = nisource;
ncurrentImage = nbigImage;
document.getElementById( 'nlargeimage' ).alt=nheader;
document.getElementById('nphotoHeader').innerHTML=nheader;
Many thanks!!!

I have that problem as well. I can't seem to get MobileMe to publish all the photos that I have added. It might be me and the way that I have understood Aperture to work. I am still learning. This is what I think I know and have done.
I created a project. I selected some photos and said, "Create a MM gallery", it did. I see it in the side bar in Aperture. I clicked "the fan" and published. It worked fine. A couple days later, I dragged over some photos that I had re-touched. I clicked "the fan" to publish, it looks like it is working, gets about half way and then quits. No error, no nothing just quits. The MM gallery doesn't have the new photos, but the side bar showing the MM gallery in Aperture shows the photos just fine. Fast forward two weeks, I have been on and off with the MM "support" and they keep saying "Sorry that is a Pro app, call them". So thinking that way, I delete the entire MM gallery from Aperture and re-publish. Then I notice something. If the photo isn't the "master" but one that I have been working on, it doesn't get published. Furthermore, if the "re-touch" is at the beggining, it doens't publish anything once it comes across that. So here is my question, how do I "flatten" (that is what I remember Photoshop calling it back in the day) so that the "version" is exportable or do I need to export the "re-touched" photo and then bring it back in? That seems dumb but I can't find ANYTHING in the manuals (yes I do read them, no RTFM jokes please!) that says anything on this subject, it all says, "Hey, select some photos and publish a MobileMe gallery!, is is that simple Yipee!" stuff, nothing that says, hey once you make an edit, even though you drag the "version" to the MM gallery and publish, it won't work.
Please Help!
Thanks, Joel
sorry to be wordy

Similar Messages

  • Multiple image galleries

    Is there any way other than a downloaded app to create multiple image galleries?  To move images between galleries?  Basic gallery manipulations at all?

    Bluefire developed the Adobe Media Gallery (i.e. the Flash gallery packaged with Lightroom) and have posted a lot of interesting information about it in their blog. Definitely worth reading up on if you plan to use it.

  • Help needed with multiple and seperate image galleries on 1 site

    I'm looking for a simple way to create and manage multiple image galleries (about 100) on a single website. I work for an architect and have a site which has our project portfolio and every project has a page containing a write up with a gallery of only 6 images.  Currently I am using .css to run it. If you hover over one of the 6 thumbnails it opens up a larger image in the same div container. If you move the cursor off the thumbnail the main image goes away leaving a default background. The only problem is my bosses now want each image to be retained in view until you hover over the next thumbnail.
    Any ideas anyone?

    I've never see a performance issue with IsSameObject(), although I understand your issue, it seems to be pretty fast.
    Saving a global reference to a jclass prevents it from being GC'd, I don't think it prevents it from being unloaded.
    I'm not sure I understand your comment about jmethodID's being different for the same method. Technically, the jmethodID is unique for each class image loaded and class loader. So if a class is unloaded and reloaded, or the same class managed to get loaded by two different class loaders, then you might see multiple jmethodID values. But do you know that is happening?
    I have seen some race conditions on the JVMTI event callbacks around Method Entry/Exit and Thread Start/End. If you don't use some rawmonitors to protect yourself, you could be executing your callback code for the methodExit event while the thread goes away out from under you. I don't know if that could be an issue, but it caused me to scratch my head quite a bit when I ran into it.

  • Change Cursor in javascript = image flicker

    Hi,
    I am using a javascript call to change the cursor as part of a drag and drop javascript region. The call is like this:
    document.body.style.cursor = 'pointer';
    This works fine, although creates a strange image redraw / flicker whenever I call it. I get the same thing with htmldb_Get.
    Does anyone know how to fix this?
    thanks
    Message was edited by:
    steve_macleod

    Hello,
    Apparently if you specify a height of 1% it will disappear.
    Have a look here: http://www.janbthomas.com/jansblog/
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • I need image galleries

    Hi,
    Are there  any websites for photo galleries (free) which are not responisve.I googled,but i found lots of responsive photo galleries.I need non-responsive phot galleries .Please help me.
    Thanks

    Lightbox Widget is kind of old and not very good by today's standards.  Fancybox2 is better.  Copy & paste the following code into a new, blank document.  SaveAs test.html.  Preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5, with Fancybox2 Viewer</title>
    <!--LATEST JQUERY CORE LIBRARY-->
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <!--FANCYBOX plugins-->
    <link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen">
    <script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script>
    <style>
    /**this styles image container**/
    #thumbs p {
    float:left;
    width: 180px;
    height: 12.5em;
    margin: 10px 0 0 20px;
    padding: 10px;
    border: 1px solid silver;
    /**rounded borders**/
    -moz-border-radius: 20px;
    -webkit-border-radius:20px;
    border-radius: 20px;
    /**this styles caption text**/
    font: italic 14px/1.5 Geneva, Arial, Helvetica, sans-serif;
    color: #666;
    text-align:center;
    /**use same size images**/
    #thumbs img {
    width:  160px; /**adjust width to thumbnail**/
    height: 120px; /**adjust height to thumbnail**/
    margin-bottom: 1.5em;
    opacity: 0.75;
    #thumbs img:hover {opacity: 1.0}
    /**float clearing**/
    #thumbs:after {
    content:".";
    clear:left;
    font-size:0px;
    line-height:0;
    display:block;
    visibility:hidden;
    </style>
    </head>
    <body>
    <h1><a href="http://fancyapps.com/fancybox/">Fancybox2</a> Viewer with images</h1>
    <!--insert thumbnails with links to full size images below-->
    <div id="thumbs">
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 1" /></a> <br />
    Caption 1
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 2" /></a> <br />
    Caption 2
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 3" /></a> <br />
    Caption 3
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 4" /></a> <br />
    Caption 4
    </p>
    <p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional captions"><img src="http://placehold.it/160x120" alt="Thumbnail 5" /></a> <br />
    Caption 5
    </p>
    <!--end thumbs--></div>
    <!--Fancybox with Iframe-->
    <h1>Fancybox with Iframe</h1>
    <h3><a class="fancybox" data-fancybox-type="iframe" href="http://example.com">EXAMPLE.COM</a></h3>
    <!--FancyBox function code-->
    <script>
    $(document).ready(function() {
        $('.fancybox, iframe').fancybox();
    </script>
    </body>
    </html>
    Nancy O.

  • Contribute and image galleries

    I would normally create an image gallery using Project Seven's excellent add-on tools, but t his particular site requires regualr maintenance with Contribute from a user with little or no tehcnical knowledge, and PVII's gallery systems aren't compatible with Contribute.
    On that basis, can anyone recommend a simple, elegant (and ideally, free!) solution which will I can embed in an html page and will respond to a connection from Contribute?
    Many thanks.

    I cant be much help I am afraid but I am also in desperate need of exactly the same facility free or not.  I have looked at all sorts of photo gallery apps but I need one that will allow my non-technical client who is using Contribute to create and add new photo galleries from images on their computer to a Gallery page on their site and then in an ideal world create the thumbnails and upload the thumbnails and original images to the remote server.  Oh and all able to be CSS styled as well.  Judging by the lack of response to your request I am coming to the belief that nothing exists yet.

  • JavaScript Image Rollover with html:image ?

    I've got a website I'm developing in which I have a submit button as well as a button which pops up a google map within my web page. I've currently got the buttons working and doing what they are supposed to do, but I'm having trouble with a rollover image effect.
    The method I'm currently using looks something like...
    For my page with the submit button:
    <html:image src="images/spacer.gif" styleId="sButton">
    </html:image>
    For my page with the button that pops up a google map:
    <html:image src="images/spacer.gif" styleId="mButton" onclick="javascript:blahblahblah">
    </html:image>That's what I'm using to display the buttons on both pages and the functionality works. Next up is the basic CSS I'm using for the image rollover effect...
    For the submit button...
    #sButton {
    display:block;
    width:100px;
    height:100px;
    background-image:url(submitImage.jpg);
    background-repeat:no-repeat;
    #sButton:hover, #sButton:active {
    background-image:url(submitImageHover.jpg);
    background-repeat:no-repeat;
    For the map button...
    #mButton {
    display:block;
    width:100px;
    height:100px;
    background-image:url(mapImage.jpg);
    background-repeat:no-repeat;
    #mButton:hover, #mButton:active {
    background-image:url(mapImageHover.jpg);
    background-repeat:no-repeat;
    }And that's basically it. So as you can see, I'm using the <html:image> to give myself a submit button type thing which works perfectly in both cases. To try and make it have a rollover image effect I'm setting a styleId and then in my CSS declaring a default image and then a hover/active image. Back in the <html:image> tag, for the required src attribute, I've just got a spacer.gif which is a 1 x 1 image that is 100% transparent.
    The effect, at least in the Gecko based browsers I've tried, such as Firefox, is that you don't see the spacer.gif even though it is there, and all you see are the CSS background images which changes on hover. This even works in IE7.
    My problem... Internet Explorer browsers prior to 7 aren't doing the image rollover. The buttons still work, but I can't get the image to change just using the CSS... Any tips on a way to still use this method or to still use <html:image> but to use some sort of javascript solution?

    Thanks for all the quick help on this one... I got it to work just like I was hoping.
    bodhi-firestarr... You got me thinking and so I went and tried to search for a way to use that particular javascript method with the <html:image> tag. This brought me to the solution that I could use styleId just like an id and then getElementById in the javascript.
    Unfortunately, this only partially solved my problem... It made the submit button work through both CSS and JavaScript, but my map it button still wasn't working. My map button is inside of a loop generating a button for a set of results. If I used the getElementById method it would use the same id for each one causing problems. When I tried to add some sort of index to the end of the Id to fix this, it messed up my CSS, but that's when...
    gmachamer, you came up with just the solution I needed. I had no idea property actually translated to name. Once I knew this I was able to use property and got everything to work.
    Thanks again everyone!

  • Why does Firefox 35.0.1 crash regularly on many sites that use javascript image rotation?

    Since the latest update to version 35, many sites that use javascript to manipulate images tend to crash firefox and make either the guilty tab or all of firefox close suddenly. (Firefox on Debian 7 Wheezy Linux, all updates current). I use firefox daily for web development and this regression bug is VERY annoying for my workflow. I understand you cannot take every situation into account. I do not have the time to investigate what has made Firefox less stable. I really hope you can fix this performance problem. If I can do anything concrete to help besides jumping into the code, let me know.

    '''[https://addons.mozilla.org/en-US/firefox/addon/flashblock/ Flash block]''' {web link}
    Never be annoyed by a Flash animation again! Blocks Flash so it
    won't get in your way, but if you want to see it, just click on it
    If you have problems with current Shockwave Flash plugin versions then check this:
    * see if there are updates for your graphics drive drivers
    '''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
    * disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    '''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
    * disable hardware acceleration in the Flash plugin
    '''https://forums.adobe.com/thread/891337'''
    See also:
    * '''http://kb.mozillazine.org/Flash#Troubleshooting'''

  • Flash player 11.7, firefox 20.0.1. javascript not able to communicate with flash. code was working earlier

    I am a developer creating an application (web app) which communicates which between flash and javascript. I am not able to call flash functions from javascript. Same code was working earlier....
    Can anyone please guide me in the right direction.
    Regards
    Rishi

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Creating Image Galleries with Adobe Bridge | Learn Photoshop CS5 | Adobe TV

    Quickly review, arrange, and output images to PDF and the web.
    http://adobe.ly/zbF114

    What kind of file will the advanced (more than 4 images) swf convert to play as slideshow for mobile (cell ph) devices?! How many images: 'simple' is only 4 per (swf conversion to dw as quicktime movie) qt movie and it doesn't say advanced (more than 4 images) will convert from swf to dw as qt movie)... Quicktime movie can be converted to h.264 but there's not a mention w/in this video of any of that either: swf files won't play on most IPhs or other mobile devices.  

  • Image Galleries

    Just got a mental blank. I am creating a flash cd that will
    contain an image gallery. Once a person has selected the image file
    I want them to be able to download that file to their computer. The
    final SWF and images will be contained within the same folder.
    Any suggestions?????????????

    you'll need to use server-side scripting to preform the file
    management functions. flash could interface with that script using
    loadVariables or the LoadVars class.

  • JavaScript image slide show that can support video too?

    I am looking for a javascript slide show, that can also support video. Ideally, it would allow for youtube or vimeo videos, but that isn't absolutely necessary. I did some searching, but couldn't find anything. Any help would be greatly appreciated!

    I've used this one about a billion times. It's so flexible I haven't had to look anywhere else:
    http://www.ndoherty.biz/demos/coda-slider/2.0/

  • Javascript image slideshow - problems with speeding up!

    Hi,
    I found this http://www.serie3.info/s3slider/ very useful script for a slideshow I've integrated into a site I'm creating: http://217.78.81.39/
    I have set it so the images and message changes every 11 seconds, however if you stay on the page for a little while it will get faster and faster and go berserk!
    Does anyone have any ideas why this might be?
    Thanks

    Hmm.. even if you leave the site up for say half an hour and come back to it?
    It's happening on ff and IE7 and also my client's browser which I believe to be IE7.

  • Importing Web Image Galleries (CS4)

    I am having trouble importing a web gallery.
    I wanted to import a flash image gallery in to Dreamweaver CS4, only I have since discovered that they have been removed from CS4. I have since worked out how to build a web gallery in Bridge CS4 and save it to my hard drive. How can I insert this into a dreamweaver page? and what settings do I have to consider?

    David Powers has a step-by-step tutorial on his site about this.
    http://foundationphp.com/tutorials/gallery/embed1.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • External image galleries

    can anyone recommend a good professional image gallery? this would be to replace mobile me gallery and with a possibilty to sell prints.
    Thanks

    Hi Dave.  Hard to say without a bit more information  .  Does the menu item appear ("File→Export→Aperture to Zenfolio ... ")?  Does the dialog appear?
    Zenfolio has excellent support -- see if they can help.
    You don't need the plug-in to use Zenfolio.  Just put your exported Images in a Finder folder (you can create these as part of exporting from Aperture), and then select them all and drag them into the Zenfolio target that open in your browser when you tell it you want to upload files.
    (Side note: Zenfolio's UI is ... confusing.  I've used it enough to find parts of it helpful, but I have the scabs to show for my efforts.  I selected Zenfolio over Smugmug because I _could_ get the results I wanted, not because either was in any way easy to customize.)
    I'm using the "full" (but not super-charged) version of Zenfolio -- don't know if there are functional limits to other versions (but I don't think these would be the issue here).

Maybe you are looking for

  • Iphone 4 is not recognized by itunes, will not sync, charge indicator icon does not come on when hooked to usb charger

    When I hook my iphone 4 up to itunes, it does not show up on the left. It will not sync, and the lightning bolt charging indicator on the phone does not come on although it appears to be charging over time because the battery level has increasd. I am

  • Where are Filters menu in Flash CS4.

    According to flash documentation Filters are in PROPERTIES panal.But Filter are  not available. Plz some one help me. Thanks

  • BBP_SEARCH_SC screen variant

    I have copied screen variant BBP_SEARCH_SC and made visible a number of fields hidden by default. e.g. Vendor, requester, goods recipient, account assignment. These fields are populated on the shopping cart, but when I use check status, the fields no

  • Discoverer List of worksheets NOT working in Portal

    Hi There, I'm trying to create a list of worksheets on a portlet in Portal. I can select the option "Discoverer List of Worksheets" from the available Portlets section. Then when I try to actually select the worksheets from the list of workbooks I ge

  • Rescheduling Date in MD04

    Hello SAP Guru, in MD04 (Stock Req. List) system showing the Rescheduling date. Where I will get previous Rescheduling date for same material. Is system maintains any change document for Rescheduling date after every MRP Run for same material. Pls su