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 Coder
    Join Date
    Feb 2005
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image Rotation on load/reload?

    Alright so I am not exactly sure what specific forum this should go into since I have NO IDEA how this would be accomplished...

    so here i go.

    My "home" page has a main graphic banner that I want to be different (have 3 different graphics) every time you load the page. I dont want it to change while you are on the page, just the next time that page loads...does that make sense? Would like to avoid using JavaScript as much as possible (mostly because I dont know a thing about it yet.)

    Also, the client wants the site to be searchable with the search bar and all. I am pretty positive I cant use PHP or ASP...any ideas?

    Any tips or advice would be appreciated!

    Thanks

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Scripting all the way

    For rotating images, there are hardly any alternatives besides JavaScript; I guess it could be done using server side scripting as well, perhaps using a cookie to store an index to the image last shown.
    A Javascript solution shouldn't be to diffecult, though; I'm sure I've come across something like that on JavaScriptKit, Dynamic Drive or HotScripts some time or another. I'll do some digging lateron, if you can't find any.

    Edit: Edit:
    Searching for "image rotator" in our own JavaScript forums also yielded some relevant threads...


    Implementing a search function is no easy task and I can't see a way to pull it of without server side processing in some form; by far the easiest way though would be using Google's free web search.
    Last edited by ronaldb66; 02-16-2005 at 02:05 PM.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    New Coder
    Join Date
    Feb 2005
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    got it! Thanks for the help!

    Tricia


  •  

    Posting Permissions

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