Habla Livehelp

Tom Lawrence

Any HTML advice on getting the Tumblr Ask section to show up like you did as an embeddable widget within your theme? Thanks!
abudak

I’ve been asked by several members about how I implemented my Ask box on my blog’s main page. So I guess this is finally the time I actually publish an answer instead of messaging people back.

The solution to this is pretty easy, and that solution [sadly] is iframes. My reason for using them is that all Ask pages on Tumblr currently use iframes anyway. You can either right-click, view source on your own Ask page and find and copy Tumblr’s iframe markup yourself or you can just copy and paste the following code, replacing YOURBLOG.TUMBLR.COM with your own blog’s URL:

<h2><a href="">Ask me anything</a></h2>
<p><iframe frameborder="0" scrolling="no" width="100%" height="149" src="http://www.tumblr.com/ask_form/YOURBLOG.TUMBLR.COM" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]--></p>

Note that is by no means the ultimate solution to the above problem (using PHP to fetch the form would be a far greater option) but seeing how Tumblr’s Ask page makes use of iframes and how nearly all the people who ever ask me a question go straight to the Ask URL anyway, I don’t see using iframes for this as a major problem.

Hope this helps any other people who were interested in doing this with their own Ask box.

Oh, and if you have any other questions (be it personal or technical), feel free to ask away! :-)

Entertained myself this evening by updating my theme.
Now includes ask/response support (with embedded ask box), embedded album art with audio posts, audio play counts, tags, notes, Disqus comments, clock timestamping and a bunch of other feeds added to my friendfeed pulling in from just about every web site on the Internet I have an account on.
I&#8217;m really pleased with the result, the only thing that&#8217;s still missing is replies although the staff have yet to implement such a variable [ {Reply} ] though I don&#8217;t see why this isn&#8217;t reachable using {block:PostNotes} like replies are in the Dashboard.
Whatevs. Which of you have actually read this far? Thought so, love you all.
Good night!

Entertained myself this evening by updating my theme.

Now includes ask/response support (with embedded ask box), embedded album art with audio posts, audio play counts, tags, notes, Disqus comments, clock timestamping and a bunch of other feeds added to my friendfeed pulling in from just about every web site on the Internet I have an account on.

I’m really pleased with the result, the only thing that’s still missing is replies although the staff have yet to implement such a variable [ {Reply} ] though I don’t see why this isn’t reachable using {block:PostNotes} like replies are in the Dashboard.

Whatevs. Which of you have actually read this far? Thought so, love you all.

Good night!

whatwhatwhat:

thefrancakes:

(via podzim)
This is my current away message…


You&#8217;re just loving any references to HTML now aren&#8217;t you? :)

whatwhatwhat:

thefrancakes:

(via podzim)

This is my current away message…

You’re just loving any references to HTML now aren’t you? :)

Oh my god, why have I never noticed this before?
View the Tumblr source code for yourself! Right-click, View Source.

Oh my god, why have I never noticed this before?

View the Tumblr source code for yourself! Right-click, View Source.