Load image on mouseover after the page is showed

hi guys, i have a slideshow with 30 images and it load all the image until show the page but it takes amount 6-7 second..is there a method to load only a thumbnail and show the page and when i click or mouseover on thumbnail load dinamically the image...... i think it can be done changing the image src ....

You can also download a demo here: Re: Does the "same origin policy" apply to Animate? post#1: the flickrJSON link
Then you load the "FlickrJSONButtons.an" file and
You replace:
sym.$("button1").bind("click", function(){ loadFlickr("amazing") });
sym.$("button2").bind("click", function(){ loadFlickr("charlie") });
By:
sym.$("button1").bind("mouseover", function(){ loadFlickr("amazing") });
sym.$("button2").bind("mouseover", function(){ loadFlickr("charlie") });

Similar Messages

  • Using a4j to load a rich:dataTable after the page loads

    I have a rich:dataTable that calls a session bean which executes an SQL query to generate the data to be displayed in the table. Something simple like:
    <rich:dataTable rowClasses="evenRow,oddRow"
    rows="30"
    value="#{Bean.items}"
    var="items">
    where Bean.getItems() performs an SQL query and returns List<Item>.
    The problem is that the query takes a long time to execute (~45 seconds) and I'd like the page to initially load while the query is being executed, displaying a spinner while it loads. Once the query is done, I'd like to update the initially empty table using ajax.
    I set up a spinner using a4j:status and it works fine after the page initially loads (using a rich:datascroller).
    However, the page will not initially load until the query completes, which is a problem because the query is so slow. What happens is the user clicks on the "List Items" tab from my site's homepage, sits there on the same page for 45 seconds with absolutely no visual indication that anything is happening, and then finally is taken to the list of items page.
    What is needed to make the dataTable load via AJAX the first time, as well as all subsequent times?
    Thanks!
    Edited by: rcrowell on Sep 8, 2008 5:42 PM

    rcrowell wrote:
    The issue isn't the PK of the table; the query is joining across many tables and aggregating data from one table in particular with millions of rows. The table has paging, but again that won't help the timinig issues due to the aggregation that must be performed on a large table.
    Surely there must be a way to get the dataTable to always load its data via ajax, and not only after the first time.Well JSF does not have AJAX built-in, so why would there be? Perhaps one of the AJAX-based frameworks has this. I imagine it wouldn't be hard to do with the existing AJAX frameworks even without a built-in component specifically for it. Trigger an AJAX action on load which rerenders a panel which will only contain the dataTable upon the rerendering.
    >
    I think I could do it by adding a 'dataTableRendered' variable to the bean and using a jsFunction to set this variable to True when the page loads, but I'm looking for a better way. (I'm also not 100% sure this would do what I want.)

  • Cannot open my excel sheet, the message saying  library not loaded, image not found therefor the icon is showing on the screenrey

    For the first time I cannot open my Excel. The report is saying:image not found, therefor the icon is showing on my desktop.
    Before my Mac open with excel sheet, now it is not there anymore. I guess it it hiding somewhere. How to find it? As you can see I am not an IT . Please try to avoid hight tech wording.
    Many thanks,
    Eva

    Hi Eva,
    Open Console in Utilities & see if there are any clues or repeating messages when trying Excel.

  • Why are my images scrolling from outside the Page width?

    Why are my images scrolling from outside the Page width? I am positive i has all the settings correct, to have an image parallax scroll from the edge of the page into the page and out again. But the images are flying in from the browser width - not the page width. This is not the effect I am after.
    Any suggestions on how to fix this? Given the key position is only linked to the height, I can't for the life of me work out how to ensure the images start moving from a certain position onthe left and right of the page.
    Thanks

    I think the effect you are seeing is a result of how the lineHeight is set up. By default, the lineHeight will be calculated as 120% of the size of the largest thing on the line -- in your case, this is the inline graphic. This is designed to leave space between the line before and the line with the graphic. So it is taking the height of the graphic, multiplying by 120%, and making this the distance between the previous line and the line with the graphic. So the bigger the graphic, the bigger the space above the graphic. Normally this works well with text, but in this case you may want to get closer to "set solid". You can do this by setting the lineHeight to 100%. Or you may wish to leave a couple of percent for the descenders of the previous line. Or, another alternative that may work well for you if you really know exactly where you want the line set, you could measure the graphic, add on the number of extra pixels to leave for the descenders, and make the lineHeight a constant. So you could do something like this:
    <img lineHeight="104%" height="411"/>
    or this:
    <img lineHeight="423" height="411"/>
    Obviously you would still need to specify the source and any other parameters you want on the image.
    Note that if you are trying to fit a 200 pixel high graphic into a 200 pixel high container, you will hit the same problem -- in order to fit the graphic, the container will have to be slightly bigger than the graphic in order to fit the descenders on the last line. This is true even if the last line contains only the graphic, and no descenders (or text) at all.
    Hope this helps,
    - robin

  • I am having problems opening pages in safari. the rotating wheel at the right end of the address window doesn't stop even after the page has filled up. then if i try to open other pages it gets stuck and won't open them.

    I started having problems opening pages today. When first open a page it seems to download the page OK, but the rotating wheel on the right-hand end of the address field keeps rotating after the page is completely filled up. Then if I try to open other pages it becomes slower and eventually stops filling-in the pages, while the rotating wheel keeps rotating.
    I wonder whether junk is being downloaded into my mac, or what is going on. Help will be geatly appreciated.

    When was the last time you emptied the Safari cache?
    From your Safari menu bar click Safari > Empty Cache
    If that didn't make a difference, go back to the menu bar click Safari > Reset Safari. Select the top 5 boxes then click Reset.
    And how much free space on the startup disk?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 15% free disk space. Freeing Up Hard Disk Space - Mac Guides
    If emptying cache or resetting didn't help and there's enough free space on the startup disk, login to another user account, launch Safari. Same problems there indicates a system wide problem. Log back into your admin account so you can check the startup disk.
    Launch Disk Utility. /Applications/Utilities
    Select MacintoshHD in the panel on the left then select the First Aid tab.
    Click: Verify Disk (not Verify Disk Permissions)
    If the startup disk needs repairing, follow the instructions for Using Disk Utility to verify or repair disks
    I wonder whether junk is being downloaded into my mac
    Nothing should "download" to your Mac unless you initiate the download yourself. You can check the Downloads folder from the Safari > Window menu or your Downloads folder in the Finder.

  • What I'm trying to do is when I scroll down the page have the images that are on the page stay the same look as I scroll

    What I'm trying to do is when I scroll down the page have the images that are on the page stay the same look as I scroll

    Use the scroll motion tools and set the settings all to 0

  • I cannot compose, reply or forward any email messages in gmail. Using Firefox 14.0.1. The page continuously showing "Loading" at the top. It doesn't happe

    I cannot compose, reply or forward any email messages in gmail. Using Firefox 14.0.1. The page continuously showing “Loading” at the top.
    It doesn't happen with all my gmail accounts, just 2 out of 3.
    I’ve read the suggested solutions to change the dom.storage config setting to true, but the setting was already set to true. Any suggestions?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Why won't my printer print page numbers? The page numbers show up when I preview the document by don't print on the page.

    Why won't my printer print page numbers in a document? The page numbers show in print preview, but will not print on document.

    Perhaps you have set the margins so tight to the edge of the paper that you have gotten into the non-printing area for your printer. Most printers have a dead zone.
    What are your margin settings?
    Jerry

  • New loaded apps are working but the app button shows only grey - please help

    New loaded apps are working but the app button shows only grey - please help...I have this problem since 3 days ago. I have synchronized and restart my iPad but the matter didn't changed

    well in thatcase, i need another help .
    thanks for your instant reply.
    i have currently bought a new laptop (windows 8) and my iphone is not being recognized by itunes.
    because i have no backup on my previous laptop, i downloaded touchcopy but even touch copy is not recognizing my iphone.

  • My ipad mini is keep on crashing. reboot many times. after the apple logo shows up, the screen will turn into black again.

    my ipad mini is keep on crashing. reboot many times. after the apple logo shows up, the screen will turn into black again.

    Try the following:
    1. Reset
    Hold the Sleep and Home button down until you see the Apple logo
    2. Restore:
    http://support.apple.com/kb/HT1414
    3. Recovery:
    http://support.apple.com/kb/HT1808

  • How do you stop tabs from displaying "Connecting..." forever and even after the pages have loaded?

    Even after all of my pages have loaded, the tabs continue to say "Connecting..." I don't have any kind of add-on/plugin like tabrenamer are anything that should be affecting the titles of my tabs. This can be an inconvenience when working with several pages at a time. Help would be greatly appreciated. Thanks!

    Some pages are using scripts like GoogleAPIs ,YahooAPIs, GoogleAnalytics, webTools pages and etc. sometimes the requested URL for the script or any web page element (like pictures and icons) are missing or so busy and there is no response from the server. The requests are sent to server using '''UDP '''protocol (means high speed, but '''no accuracy for very busy servers and lost connections'''!). UDP is a high speed protocol and send and receive your requested elements rapidly!
    1- You can try clicking in the address bar and pressing enter. this may help you sometimes.
    2- Also you can use add-ons like '''NoScript '''for disabling unwanted scripts. You can try installing NoScript and click on "Allow scripts globally". Then, at the pages you mentioned load too long and never stop, try to disable scripts while you find the bad or not respinding script (Scripts)!

  • Date Picker has to submit the default value after the page load???

    Hello All,
    I have 2 date pickers 'Start' and 'End' on a screen with report that has a where clause using above values. Start defaults to current date, End defaults to current month end date, I have another radio group with default to Monthly......
    Now when the page loads, I see the default values for 'Start' and 'End' date pickers but the report doesn't reflect those values. I added an on change dynamic action, and so when I change the value of 'End' date picker, it submits the page and now the values are reflected in the report........
    I tried creating another dynamic action > with event On Page Load.....and disable fire on page load, and to submit the page, this is causing an infinite loop of submitions........can you please tell me how to achieve this with out putting an exclusive submit button on the Screen.......
    Thanks for your time.
    DK

    user12296343 wrote:
    Hello All,
    I have 2 date pickers 'Start' and 'End' on a screen with report that has a where clause using above values. Start defaults to current date, End defaults to current month end date, I have another radio group with default to Monthly......
    Now when the page loads, I see the default values for 'Start' and 'End' date pickers but the report doesn't reflect those values. I added an on change dynamic action, and so when I change the value of 'End' date picker, it submits the page and now the values are reflected in the report........
    I tried creating another dynamic action > with event On Page Load.....and disable fire on page load, and to submit the page, this is causing an infinite loop of submitions........can you please tell me how to achieve this with out putting an exclusive submit button on the Screen.......
    Thanks for your time.
    You don't have to submit the page here.
    What version of apex?
    What report is it? i.e. Interactive report/Classic report
    Depending on your version of apex you can simply use the Page Items to Submit attribute to set the session state

  • APEX dynamic action - How to hide an item after the page loads

    Hello
    I have a form  with  item  Type,  lesson and page.   I want to create a  dynamic action like "on page load" if Type = x then don't show lesson and page items. .
    How do I say if Type=x then  don't show lesson and page. otherwise show them.
    Please note Dynamic action,  Event=Page load
    Thanks

    create dynamic action like
    Event:Change
    Selection Type:Item
    Item:Type
    Condition:Equal To
    value:X
    Select Action:Hide
    Select Items to hide
    also create opposite false action
    and click on page checkbox below action to yes
    Hope this may helps
    pars.

  • Loading image name instead of the image

    Hi all,
    Sorry but i'm a little new to AS3 and flash and have come to an abrupt halt.  I have a database (phpMyAdmin 2.6.0-beta2 ) which holds information which i want to display in a flash form so i'm using an XML file to bridge the gap.  After building the application in FLASH and running it the text from the database comes through but no the images.   Details of what i'm trying to do are as follows:
    The XML file
    <?php echo "<?xml version='1.0' encoding='ISO-8859-1'?>"?>
    <catalogue>
    <?php do { ?>
    <fish>
      <Id><?php echo $row_all_fish['ID']; ?></Id>
         <Name><?php echo $row_all_fish['Name']; ?></Name>
            <Description><?php echo $row_all_fish['Description']; ?></Description>
            <Price><?php echo $row_all_fish['Price']; ?></Price>
            <Image><?php echo $row_all_fish['Image']; ?></Image> 
    </fish>
    <?php } while ($row_all_fish = mysql_fetch_assoc($all_fish)); ?>   
    </catalogue>
    <?php
    mysql_free_result($all_fish);
    ?>
    The action script part from FLASH
    xmlObject = new XML();
    xmlObject.onLoad = readMedia;
    xmlObject.ignoreWhite = true;
    // **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
    xmlObject.load("http://localhost/fishing/generate_xml.php");
    // ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
    stop();
    function readMedia(success) {
    if (success == true) {
      // Root node
      rootNode = xmlObject.firstChild;
      // id = number of child nodes
      sizeOfCollection = rootNode.childNodes.length;
      // Current node = first child node
      currentNode = rootNode.firstChild;
      // Display next car.
      drawItem();
    function drawItem() {
    // **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
    Id.text = currentNode.childNodes[0].firstChild;
    Name.text = currentNode.childNodes[1].firstChild;
    Description.text = currentNode.childNodes[2].firstChild;
    Price.text = currentNode.childNodes[3].firstChild;
    Image.text = currentNode.childNodes[4].firstChild;
    // ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
    debug();
    nextFish.onRelease = function() {
    nextNode = currentNode.nextSibling;
    if (nextNode == null) {
      break;
    } else {
      currentNode = nextNode;
      drawItem();
    previousFish.onRelease = function() {
    nextNode = currentNode.previousSibling;
    if (nextNode == null) {
      break;
    } else {
      currentNode = nextNode;
      drawItem();
    // Read Greens XML file.
    Greens.onRelease = function() {
    // **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
    xmlFile = "http://localhost/fishing/generate_xml.php";
    // ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
    xmlObject.load(xmlFile);
    function debug() {
    // **************vvvvvvvvvvvvvvvvEdit this bitvvvvvvvvvvvv*********************************
    Id = currentNode.childNodes[0].firstChild;
    Name = currentNode.childNodes[1].firstChild;
    Description = currentNode.childNodes[2].firstChild;
    Price = currentNode.childNodes[3].firstChild;
    Image = currentNode.childNodes[4].firstChild;
    // ***************^^^^^^^^^^^^^^^Edit this bit^^^^^^^^^^^^*********************************************
    stop();
    I can not workout how to display the image itself instead of the files name.  Any help anyone can give would be great!
    Thanks for your time helping me.

    that's actionscript 2.
    and, is there an image url in there somewhere?

  • I just downloaded the new 4.0 an now when I click on the tab it won't even load up, it'll look like the page will show up but then it won't an the it'll look like I never even clicked on it. What is going on? Why won't firefox work?

    My firefox was working perfectly before when I had the 3.6 but now it just won't load up at ALL! I've dealt with it crashing on me while I was on the internet but I've never clicked on the tab OVER an OVER again an still not even having the home page show up on my screen. Its getting really frustrating and I now really wish I'd of just left my firefox the way it was. . .can you please help me??

    Please do the following.<br><br>
    #Use Internet Explorer 8 or 9 and go to [http://www.mozilla.com/en-US/firefox/fx/?ref=logo Download Firefox 4.0.1] Do not choose "Run" when you see the prompt, but instead choose "Save" and save the file to your desktop.<br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (don't checkmark the box).<br><br>
    #Then reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br><br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.<br><br>
    '''To reset your home page, do the following'''.<br><br>
    * Go to the site you want to set as your homepage.<br><br>
    * Click the orange Firefox button and go to '''Options '''| '''Options '''| '''General'''.<br><br>
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.<br><br>
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.<br><br>
    Here are a few tips to make FF4 look like the previous version in case you don't like the new design.<br><br>
    * Right click a blank part of the tab bar and click "Tabs on top" to remove the checkmark. Tabs will subsequently reappear below the search bar.<br><br>
    * Repeat the same steps, but click the top one called "Menu bar". This will reinstate the text links at the top.<br><br>
    * To rearrange the layout, repeat the same steps again and choose "Customize". A panel will open and while that remains onscreen, you can move elements like toolbars, buttons etc around and place them anywhere you wish. You can also drag anything you don't like into that panel and add anything you want by dragging it out of there.<br><br>
    * To replace the status bar at the foot of the page, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/<br><br>

Maybe you are looking for

  • How can I activate my scrollbar to work on the ipad?

    I am using my ipad and the scrollbars don't work in my applications. Does anyone know how to change this setting?

  • Is anyone else in my situation?

    Existing BT broadband customer with BT Vision + black box. Not on infinity Received a letter several weeks ago stating; 'We're going to give you BT sport for free' -automatically, you don't need to do anything . Just tune into your TV guide from 16 A

  • Pap2 to Linksys WR will not work

    Greetings all: I have a pap2 that I am using to link my house alarm panel to VoIP.  My cable modem is hooked to a Linksys WR with 4 ports.  I have Vonage VoIP box hooked to the router.  The Linksys Pap2 is suppose to be connected to the phone line fr

  • Cannot open itunes with this new ITUNES. HELP!

    I upgraded to the new itunes and I am getting an error each time I try to open Itunes. What is going on? I cannot open Itunes or play any of my songs! WHAT DO I DO! I legally bought all of my songs in the past and now this is what is happening. This

  • Spot removal workflow

    Hi Just found out the hard way that if you have spot removal to be done, best its done sooner rather than later, specifically when creating snapshots. I failed to spot remove on one image about 10 spots at the beginning. And thus, upon doing so to on