banner

Pop Up Ask Box on Your Main Page

1. Copy and paste the code below right after <head> tags.

<script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script> 
<script> 
$(document).ready(function() { 
// 
$('a.poplight[href^=#]').click(function() { 
var popID = $(this).attr('rel'); //Get Popup Name 
var popURL = $(this).attr('href'); //Get Popup href to define size 
var query= popURL.split('?'); 
var dim= query[1].split('&'); 
var popWidth = dim[0].split('=')[1]; //Gets the first query string value 
$('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://png.findicons.com/files/icons/1714/dropline_neu/24/dialog_close.png" class="btn_close" title="Close" alt="Close" /></a>'); 
var popMargTop = ($('#' + popID).height() + 80) / 2; 
var popMargLeft = ($('#' + popID).width() + 80) / 2; 
//Apply Margin to Popup 
$('#' + popID).css({ 
'margin-top' : -popMargTop,
'margin-left' : -popMargLeft 
}); 
$('body').append('<div id="fade"></div>');
$('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) 
return false; 
}); 
$('a.close, #fade').live('click', function() { 
$('#fade , .popup_block').fadeOut(function() { 
$('#fade, a.close').remove(); //fade them both out 
}); 
return false; 
}); 
}); 
</script>

**the highlighted is a image of “close” button. if you want change the image just replace with your url of image or you can choose here

2. Paste this code under <style type=”text/css”> tags

.popup_block{
display: none;
background: #D3D3D3;
background-image: url();
padding: 10px;
font-family: Garamond;
float: left;
font-size: 10px;
position: fixed;
top: 50%; left: 50%;
z-index: 2;
border: 2px solid #363636;
-moz-box-shadow: 0 0 5px #CFCFCF;
-webkit-box-shadow: 0 0 5px #CFCFCF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
img.btn_close {
float: right;
margin: -5px -5px 0 0;
}
*html .popup_block {
position: absolute;
}


** if you want to customize your ask box, just change what you want, i already highlight the tags of color. you can insert image background if you like, just put the url between (url)

3. paste this code after </body> tags.

<div id="02" class="popup_block">

<Center><font size="5" color="#1C1C1C">Ask Me Anything<p></font><iframe frameborder="0" scrolling="yes" width="100%" height="150" src="http://www.tumblr.com/ask_form/USERNAME.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
</center></div>

</div></div></div></div></div></div></div></div></div></div>

** make sure you replace the USERNAME wit your username!

4. Change the code of your “ask” link to this code.

<a href="#?w=500" rel="02" class="poplight">ask me</a>

** change the “ask me” to title of your ask link

CHECK THIS FOR EXTRA EXPLANATION WITH STEP 4

PLEASE FOLLOW THE INSTRUCTION CAREFULLY. FEEL FREE TO ASK ME IF YOU HAVE PROBLEM WITH IT.

Source: academyoftumblr

    • #admin
    • #popup askbox
    • #ask box
    • #pop up ask box
  • 1 year ago
  • 425
  • Permalink
  • Share

425 Notes/ Hide

  1. teamsplush likes this
  2. scarlettitaniaft likes this
  3. pasawaynabubuyog likes this
  4. maracoil likes this
  5. eim-group reblogged this from academyoftumblr
  6. ubosurl reblogged this from academyoftumblr
  7. chanqijoe likes this
  8. deathalsohurts likes this
  9. soft-wind likes this
  10. yoda-oneforme likes this
  11. qerman likes this
  12. gigiguhyun likes this
  13. resourceme reblogged this from academyoftumblr
  14. twatco-b3ll likes this
  15. aami likes this
  16. prrior likes this
  17. toki-doki likes this
  18. teensarebeauty likes this
  19. missjodee likes this
  20. portuquese likes this
  21. jhalliday100 reblogged this from academyoftumblr
  22. jhalliday100 likes this
  23. icantbelieveitsnotdoitsu reblogged this from academyoftumblr
  24. wooden--dreamer likes this
  25. luhan-sexy likes this
  26. liferemainsdark likes this
  27. justlittletrifles likes this
  28. hazzamazayn likes this
  29. notgomen likes this
  30. the-devil-is-a-woman likes this
  31. recovred likes this
  32. unionjjsmonkey likes this
  33. tomlilnsun likes this
  34. sugarskullss likes this
  35. hohosketch likes this
  36. genocidercyo likes this
  37. 1nhale-4drenaline likes this
  38. 5hip likes this
  39. tomlinstyls likes this
  40. followyour-dreamss likes this
  41. unsoberly likes this
  42. hijiribe likes this
  43. blackiesbrasil likes this
  44. keir-reviews likes this
  45. s-ehunnie likes this
  46. taemin-ci likes this
  47. qold-rush likes this
  48. listenly likes this
  49. kiyonu likes this
  50. placstic likes this
  51. Show more notesLoading...
← Previous • Next →

Portrait/Logo

Tumblr Academy is a Tutorial Blog. You can find a various tutorials for your tumblr including html code, theme, useful link, tips etc.

7 confused students




For Theme Docs
● Energy Saving Mode
● Welcome Message
● Putting A Background
● Putting A Header
● Endless Scroll
● Disable Right Click
● Fading Image
● Reblog Button On Your Post
● Cursor
● Scroll To Top Button
● Recommend Button
● Stylish Scrollbar / Scrollbar With Image
● Sparkle Link Hover
● Rainbow Link Hover
● Shaking Image
● Pop Up Ask Box/Link

For Descriptions
● Background Music
✓ Youtube Player
✓ SCM Player
✓ MixPod
✓ Streampad
● Ask Box In Description/Sidebar
● Twitter Badge
● Chat Box
●Make A Link
● Hit Counter And User Online
● Scroll Box
● Scrolling Image / Image Marquee
● Navigation Bars
● Sliding Drop Down Menu
● Sliding Drop Down Menu With Image

For Dashboard
●Missing e 1.5.7 [update]
[ ✓ Unfollower List. ✓ Follow Checker. ✓ Bookmark. ✓ Magnify. ✓ Reblog Yourself. ✓ Safe Dash. ✓ Time Stamp. ✓ Post Tumblr Crush. ✓Jump To Dash. ✓ Ask Box In Dashboard. ✓ Enlarge Tumblr Avatar. ✓ Slim Sidebar. ✓ One Click Reblog. ✓ Mass Editor Tweaks etc ]
● Dashboard / Log-in Background
● Others

Basic / For Posting
● Basic HTML Code
● Marquee
● Change URL
● Hide Following People
● Follow Yourself
● Answer Questions With Image/Gifs
● Let People Answer Your Post
● Link Tag Post
● Make A Page
Music Posting ● Number of post to show on your blog
● Enable Ask Box (for new dashboard)

Others
● Image For Saving Energy / Standby Mode
● Track Anonymous Ask
● Redirect To a New URL
●Delete Secondary Blog ● Tumblr Status
● Disable Follow Button
● Mapping Image / Image Map
● Background Layout
● Facebook Things
● Theme Recover

● Pop Up Ask Box/Link
● Sliding Drop Down Menu With Image
● Sliding Drop Down Menu
● Energy Saving Mode
● Shaking Image
● Rainbow Link Hover
● Image For Saving Energy / Standby Mode
●Make A Link
● Redirect To a New URL

I do not own all the code on this blog, i'm modify and edit some code a bit to suit for the Tumblr Theme All images for an explanation of the tutorial is copyrighted by TUMBLR ACADEMY. If you see something has been poorly credited, please TA me. Thank You.

  • FAQs
  • Useful Link
  • Saving Energy Image
  • Icons
  • RSS
  • Random
  • Archive
  • Ask Professor
  • Submit
  • Mobile

Tumblr Academy. Effector Theme by Carlo Franco.

Powered by Tumblr

Counting Since 30 MAY 2011 free counters



ASK BOX IS NOW OPEN

CLICK HERE

click the link and wait for 5second and click skip ad. Thank You ;)