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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is this moving photo banner JavaScript?

    Hi Everyone,

    I'd really appreciate some help figuring out how the moving banner on this website was created so it fits from end to end.
    Here's the site

    I'm pretty good with Flash and can make Flash work with Javascript for the pop-up browser window, but I have no idea how the banner fits perfectly into all browser sizes. Thanks in advance. Gavin.
    gavin@photoeffects.biz

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Looks like Javascript:
    http://adantiquity.com/middle.cfm

    Sadiq.

  • #3
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That site uses frames and the script in question can be found in the middle frame....

    .....Willy

    Edit: Ooops, too late....
    And besides this question has already been answered here.
    Last edited by Willy Duitt; 07-13-2004 at 10:52 PM.

  • #4
    Regular Coder
    Join Date
    Jun 2003
    Location
    Spokane, WA
    Posts
    512
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A script just like that can be found at http://www.dynamicdrive.com/dynamici...rightslide.htm

    As for stretching it across the whole page, I would guess that he either detected the users window size and then made a JS command to stretch the script to that width, or he just made the belt of images incredibly long so that it would fit into any width.

    I am not too familiar with JS, so feel free to look at his code if you want to figure it our yourself. View his source at http://adantiquity.com/middle.cfm

    However, please do not steal his script, as it looks like this may have taken him a while to create. If you want to use something similar, use the one at dynamic drive and alter it, as you have not recieved rights from adanitquity's author to use his scripts.

    -Ben

    Edit: Man, I need to learn how to type faster
    Thoughts determine what you want,
    Actions determine what you get.

  • #5
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's javascript.

    Just click on the link below, then view source:


    http://adantiquity.com/middle.cfm


    slowest of the slow



    -james
    Last edited by jamescover; 07-13-2004 at 10:18 PM.
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "


  •  

    Posting Permissions

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