Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    TN
    Posts
    116
    Plugin Contributions
    0

    Default How do I add extra images to a product using javascript

    I've looked at Zen Lightbox and that isn't what I want to use. I've seen what I do want to use. Zen Lightbox configures it the wrong way for me...too big.

    What I want is a javascript code but I am lousy at that and have no clue where she got hers. What I want mine to do is rotate each product like this one does: http://fall3nangel.com/store/

    Can anyone help me figure out which javascript that is? And how to code it into the pages? Liz

  2. #2
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: How do I add extra images to a product using javascript

    Quote Originally Posted by southernlady View Post
    I've looked at Zen Lightbox and that isn't what I want to use. I've seen what I do want to use. Zen Lightbox configures it the wrong way for me...too big.

    What I want is a javascript code but I am lousy at that and have no clue where she got hers. What I want mine to do is rotate each product like this one does: http://fall3nangel.com/store/

    Can anyone help me figure out which javascript that is? And how to code it into the pages? Liz
    Google --> animated gifs

  3. #3
    Join Date
    Mar 2005
    Location
    TN
    Posts
    116
    Plugin Contributions
    0

    Default Re: How do I add extra images to a product using javascript

    Google --> animated gifs
    Want to elaborate? Because Picasa Slideshow is not what I am looking for. That takes people off the web page onto my picasa album to see the pictures.

    If you look at the site I am referencing, the pictures rotate right there ON the site.

    Liz

  4. #4
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: How do I add extra images to a product using javascript

    Quote Originally Posted by southernlady View Post
    Want to elaborate? Because Picasa Slideshow is not what I am looking for. That takes people off the web page onto my picasa album to see the pictures.

    If you look at the site I am referencing, the pictures rotate right there ON the site.

    Liz
    Yes the site you reference is using animated gifs.

    animated gifs don't use javascript.
    animated gifs is a image just like any image other it moves.
    animated gifs are like this --> or this -->
    animated gifs can be very large files which why the site you reference takes a long time to load.

    Google "make animated gifs"
    Last edited by tophand; 30 Dec 2008 at 05:39 PM.

  5. #5
    Join Date
    Mar 2005
    Location
    TN
    Posts
    116
    Plugin Contributions
    0

    Default Re: How do I add extra images to a product using javascript

    Actually, if you look at her source code, she is using javascript:
    Code:
    <!--bof Main Product Image -->
     
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="javascript:popupWindow(\'http://www.fall3nangel.com/store/index.php?main_page=popup_image&amp;pID=776&amp;\')"><img src="images/PreviewOA_YW.gif" alt="2 in 1 - Opposites Attract - Tagger Size" title=" 2 in 1 - Opposites Attract - Tagger Size " width="120" height="120" /><br /><span class="imgLink">larger image</span></a>');
    //--></script>
    
    <noscript>
    <a href="http://www.fall3nangel.com/store/index.php?main_page=popup_image&amp;pID=776&amp;" target="_blank"><img src="images/PreviewOA_YW.gif" alt="2 in 1 - Opposites Attract - Tagger Size" title=" 2 in 1 - Opposites Attract - Tagger Size " width="120" height="120" /><br /><span class="imgLink">larger image</span></a></noscript>
    </div><!--eof Main Product Image-->
    2 in 1 - Opposites Attract - Tagger Size

    That's why I asked about javascript AND how to put it in the page.

    Just telling me what to use is only part of my problem. I don't know how to implement it...I have YET to figure out EZ pages...they are NOT EZ.

    IF it were external html and uploading, I can do that but where to add those baffles me.

    Liz

  6. #6
    Join Date
    Mar 2005
    Location
    TN
    Posts
    116
    Plugin Contributions
    0

    Default Re: How do I add extra images to a product using javascript

    animated gifs can be very large files which why the site you reference takes a long time to load.
    What you said did make a lightbulb go off tho...

    And I did a file in Animation Shop which solved the problem. No need for javascript. However, my animated gif file for the FIVE corners was a measley 11KB whereas the jpgs of the five added up to be a total of 29 KB so I saved 18 KB by using animation.

    True, they CAN be large, they just do not have to be large. Liz

 

 

Similar Threads

  1. how do I add images using absolute positioning?
    By ScottDB in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 11 Sep 2011, 09:42 AM
  2. Add Extra Product Images ?
    By Newmanz in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jul 2007, 11:13 PM
  3. how do I add a javascript in product page
    By reza in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 31 May 2007, 11:54 AM
  4. 1.3.6 - not showing extra images on Product detail (using IH2)
    By quentinjs in forum Upgrading from 1.3.x to 1.3.9
    Replies: 30
    Last Post: 9 Dec 2006, 03:49 PM
  5. how to add a product extra field?
    By nudelady in forum General Questions
    Replies: 4
    Last Post: 27 Sep 2006, 01:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg