Results 1 to 4 of 4

Thread: could this be emulated with js/dhtml ?

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default could this be emulated with js/dhtml ?

    i would like to create a giant one-page website, with a menu that loads in the center, and to navigate to the various sections, you would drag the "canvas" so to speak, to that section.

    i've seen this concept done in flash before, as in this site:

    http://www.mariagrossmann.de/

    but i'd like to do it without flash, and without all the bells and whistles.
    i really want it to work the same, no using horizontal/vertical scrollbars.

    any ideas?

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Well, if you want to do this w/o flash, try actionscript (similar to flash [sorry]) or java (like C/C++). You CAN do it with JavaScript, but it would make your page really slow. It wouldn't run smoothly either. If you use a compiling language, it will work better and you will LOVE it.

    -magicyte

  3. #3
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Not true Magic, your page will not run really slow. And flash and actionscript are together, if someone says they don't want to use flash, you couldn't do this in a webpage:
    Code:
    <script type="text/actionscript">
    function drag(null)::void(0) {
    goToAndDrag(_root.element) // not valid at all... seriously I just mixed stuff together [as 2 and 3]
    }
    </script>
    Or something like that. It wouldn't work. Java, C, or C++ wouldn't be the answer either. It defendantly be js.
    Jeremy | jfein.net

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    A javascript library would probably be a good bet for this, but still no easy task. I would favor jQuery if it has all of the effects needed, which it very well may, due to its compact nature and generally smooth operation. Mootools would be my second pick as its effects are generally very smooth as well. I have not liked what I've been seeing in the more recent versions of prototype.js (movement transitions sometimes appear jerky), but that may be due to poor implementations in the code I've seen it used with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •