Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems with proportions of images

    I have a page on my website that shows images fullscreen. But it messes up the proportions of all the images. How can I prevent that from happening.

    The webpage can be viewed at http://www.henkroos.nl/nieuw/index.php
    The code i use is:

    <SCRIPT LANGUAGE="JavaScript">
    <!--

    //set image paths
    src = ["plaatjes/001.jpg", "plaatjes/002.jpg", "plaatjes/003.jpg", "plaatjes/004.jpg", "plaatjes/005.jpg", "plaatjes/006.jpg",
    "plaatjes/007.jpg", "plaatjes/008.jpg", "plaatjes/009.jpg", "plaatjes/010.jpg", "plaatjes/011.jpg", "plaatjes/012.jpg",
    "plaatjes/013.jpg", "plaatjes/014.jpg", "plaatjes/015.jpg", "plaatjes/016.jpg", "plaatjes/017.jpg", "plaatjes/018.jpg",
    "plaatjes/019.jpg", "plaatjes/020.jpg"]

    //set duration for each image
    duration = 4;

    //Please do not edit below
    ads=[]; ct=0;
    function switchAd() {
    var n=(ct+1)%src.length;
    if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
    document["Ad_Image"].src = ads[ct=n].src;
    }
    ads[n=(ct+1)%src.length] = new Image;
    ads[n].src = src[n];
    setTimeout("switchAd()",duration*1000);
    }
    function doLink(){
    location.href = url[ct];
    } onload = function(){
    if (document.images)
    switchAd();
    }
    //-->
    </SCRIPT>

    Can anyone please help me?

  • #2
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [QUOTE=allen1983;1055406]I only buy what food i need for that day .

    Was that humor? If so, i really didn't get the clue. Maybe someone else can help me with my problem? Someone who's not Tommy Cooper!!

    Gr. Henk

  • #3


  •  

    Posting Permissions

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