Results 1 to 2 of 2

Thread: Looking for a tutorial on how to...

  1. #1
    Join Date
    Oct 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Looking for a tutorial on how to...

    do this!

    How would I achieve and effect such as this? When you click on the motorcycle brands, on the same screen it changes them for you. It doesn't look like an iframe, or even regular frames. How are they doing this?!

    thanks!

    http://nchouseofmotorcycles.com/Default.asp

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    http://www.dynamicdrive.com/dynamicindex17/indexb.html
    http://www.dynamicdrive.com/dynamicindex17/index.html
    Scripts from there will probably do what you want.

    That page seems to use Ajax which is a method of javascript [not a language in itself] that basically requests data without refreshing the page then can do stuff with it, such as displaying it.

    Note that the page should also be coded so it will work for users who have javascript disabled or are using older browsers, so you will want to code it to refresh by default and have javascript override that if it can use ajax instead.
    (It will just reload the page by default; if javascript works, it'll do the fancy thing. This way, it'll be the as compatible as possible with the most browsers.)


    Also, please take a look at this for the proper way to ask questions:
    http://www.dynamicdrive.com/forums/s...ad.php?t=24882
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

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