Abe Hassan (burr86) wrote in lj_nifty,
Abe Hassan

Making Polls Open in New Windows

Something that's bothered me for a while is the fact that, when you submit a poll, it whisks you away from your Friends page off to "Success! Your results have been submitted!"

There's a way around that, actually!

1) When you create the poll, insert </form> as the first thing in the Poll Name. (I'm not sure if this also works if you insert it as the first thing in the first question).

2) When you post the poll, insert <form action='http://www.livejournal.com/poll/' method='post' target='_blank'> before the poll code, and </form> after the poll code

3) Voila! Now, when someone submits your poll, the "Success!" page will pop up in a new window, rather than taking them away from their Friends page/lastn view/whatever.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded