SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Life is short. Be happy today! silver trophybronze trophy Sagewing's Avatar
    Join Date
    Apr 2003
    Location
    Denver, Phang-Nga, Thailand
    Posts
    4,379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    wanted: send-to-friend feature that wont refresh the page!

    Hello -

    I have several sites that are one-pagers with a Flash animation. The send-to-friend is very popular, but when people click the link they are taken to a new page which interrupts the flash animation.

    It would be great if I could allow users to use the send-to-a-friend feature without losing the Flash. Would it be possible to do some funky layer work so that the form would appear when the button is click, then dissapear after the user submits the form? Possible?

    Another option is to do it from within the Flash animation itself. Any suggestions for this?

    thanks!
    The fewer our wants, the nearer we resemble the gods. Socrates

    SAGEWING LLC - QUALITY WEB AND MOBILE APPS. PREMIUM OUTSOURCING SERVICES.
    Twitter | LinkedIn | Facebook | Google+

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can do it without reloading the page, without Flash, using AJAX. The form submission will call a JavaScript function instead of submitting to a URL, and that function uses an XMLHttpRequest object to send the e-mail/name to your server-side script to do the sending-to-a-friend. The JavaScript can then update the page to show some type of "sent" message.

    SitePoint's AJAX book should cover enough to get that going, and AJAX Matters looks like a good place to start finding resources online.

  3. #3
    Life is short. Be happy today! silver trophybronze trophy Sagewing's Avatar
    Join Date
    Apr 2003
    Location
    Denver, Phang-Nga, Thailand
    Posts
    4,379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Dan. Sadly, I'd rather pay to have it done than learn it myself

    Anyone feelling up to the task?
    The fewer our wants, the nearer we resemble the gods. Socrates

    SAGEWING LLC - QUALITY WEB AND MOBILE APPS. PREMIUM OUTSOURCING SERVICES.
    Twitter | LinkedIn | Facebook | Google+

  4. #4
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Not me On a related note, I've tried to use the donation link in your signature four times, in both Firefox and IE, and every time I try to submit my payment information, I get the same error along the lines of "An error has occurred, and we don't know why. Try refreshing the page or going back and trying again.". Hopefully that's not a long-term problem :/

  5. #5
    Life is short. Be happy today! silver trophybronze trophy Sagewing's Avatar
    Join Date
    Apr 2003
    Location
    Denver, Phang-Nga, Thailand
    Posts
    4,379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is really sad that they can't get their online presence sorted out at CARE. They outousrce the whole thing to GetActive.com, who charges them a premium but can't keep the system working well.

    Thanks for trying, please don't give up!
    The fewer our wants, the nearer we resemble the gods. Socrates

    SAGEWING LLC - QUALITY WEB AND MOBILE APPS. PREMIUM OUTSOURCING SERVICES.
    Twitter | LinkedIn | Facebook | Google+


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
  •