your blog sources
Tutorials Blog
Your Blog Sources

Your Blog Sources



h  o  m  e      |      m  e  s  s  a  g  e      |      a  r  c  h  i  v  e


Hello and Welcome! I'm Samuel and my Personal Blog is Here. I Made this Blog to Help You with Themes and HTML. Thanks for Visiting! Leave Comment on Ask by Clicking Message. Click Here for HTML Question. I'll Never Answer HTML Question here. Message Just for Comment or Article Recommendation. You can Submit Tutorial by Clicking Here.
-DISCALIMER-
I don't claim Anything Here. the Post isn't owned by me. I Get the Tutorial from http://theblog-diaries.tumblr.com and http://tutorialsandmore.tumblr.com . I not Reblog It, but I Always Put the Source Link every on my Post.
Visitor(s) Here ✿


This Blog is Best Viewed in Google Chrome.








 
 
 
 
 
hugssandkissess: How do you make another sidebar? :) thanks.

I have tried to apply add new sidebar, but It doesn’t work perfectly. It’s hard to customize the another sidebar. Thanks :)


Anonymous: nice blog! :)

Thank you!


Anonymous: I didn't work :( is there a certain place I have to put it?

What didn’t work?


Anonymous: How do you customize the width/height of your ask box? Mine's too thin and you can't see the anon button

put this code and ONLY change the “your-url” with your tumblr url:

<iframe frameborder="0" scrolling="no" width="100%" height="149" src="http://www.tumblr.com/ask_form/your-url.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]-->

Anonymous: i want my reblog links to open in a new tab! what do i have to do, i cannot find codes anywhere :(

Sorry, Idon’t know..


Anonymous: Not only do I love your blog ( heh found it ) but I also am secretly infatuated with you. K. here we go I got this idea from a spam msg I received on Facebook lol.. I know you like me but were always way too shy to say so :3 go hit up crushmasher(dõt)com (uhh it wont let me do a regular link) then make an acct there. Search for the profile 'justmeandu33' ( obv me ) I posted body pix.. if u can figure out who I am msg me and we'll kick it. CC required for age but it is free. (annoying i know)

SPAM


Anonymous: how do you get text moving in my sidebar?

Put this on Your Sidebar:<marquee bgcolor=”#cccccc” loop=”-1” scrollamount=”2” width=”100%”>(PUTYOURTEXTHERE)</marquee>

Change “PUTYOURTEXTHERE” with your text and “#cccccc” for custom Color


Copy this Code and Put on Your Description:

<HTML>
<HEAD>
<TITLE>JavaScripted Dynamic HTML Table</TITLE>
<STYLE TYPE="text/css">
TD, TH {text-align:center}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
/*******************
  UTILITY FUNCTIONS
********************/
// day of week of month's first day
function getFirstDay(theYear, theMonth){
    var firstDate = new Date(theYear,theMonth,1)
    return firstDate.getDay()
}
// number of days in the month
function getMonthLen(theYear, theMonth) {
    var oneDay = 1000 * 60 * 60 * 24
    var thisMonth = new Date(theYear, theMonth, 1)
    var nextMonth = new Date(theYear, theMonth + 1, 1)
    var len = Math.ceil((nextMonth.getTime() - 
        thisMonth.getTime())/oneDay)
    return len
}
// create array of English month names
var theMonths = ["January","February","March","April","May","June","July","August",
"September","October","November","December"]
// return IE4+ or W3C DOM reference for an ID
function getObject(obj) {
    var theObj
    if (document.all) {
        if (typeof obj == "string") {
            return document.all(obj)
        } else {
            return obj.style
        }
    }
    if (document.getElementById) {
        if (typeof obj == "string") {
            return document.getElementById(obj)
        } else {
            return obj.style
        }
    }
    return null
}

/************************
  DRAW CALENDAR CONTENTS
*************************/
// clear and re-populate table based on form's selections
function populateTable(form) {
    var theMonth = form.chooseMonth.selectedIndex
    var theYear = parseInt(form.chooseYear.options[form.chooseYear.selectedIndex].text)
    // initialize date-dependent variables
    var firstDay = getFirstDay(theYear, theMonth)
    var howMany = getMonthLen(theYear, theMonth)
    
    // fill in month/year in table header
    getObject("tableHeader").innerHTML = theMonths[theMonth] + 
    " " + theYear
    
    // initialize vars for table creation
    var dayCounter = 1
    var TBody = getObject("tableBody")
    // clear any existing rows
    while (TBody.rows.length > 0) {
        TBody.deleteRow(0)
    }
    var newR, newC
    var done=false
    while (!done) {
        // create new row at end
        newR = TBody.insertRow(TBody.rows.length)
        for (var i = 0; i < 7; i++) {
            // create new cell at end of row
            newC = newR.insertCell(newR.cells.length)
            if (TBody.rows.length == 1 && i < firstDay) {
                // no content for boxes before first day
                newC.innerHTML = ""    
                continue
            }
            if (dayCounter == howMany) {
                // no more rows after this one
                done = true
            }
            // plug in date (or empty for boxes after last day)
            newC.innerHTML = (dayCounter <= howMany) ? 
                dayCounter++ : ""
        }
        
    }
}

/*******************
  INITIALIZATIONS
********************/
// create dynamic list of year choices
function fillYears() {
    var today = new Date()
    var thisYear = today.getFullYear()
    var yearChooser = document.dateChooser.chooseYear
    for (i = thisYear; i < thisYear + 5; i++) {
        yearChooser.options[yearChooser.options.length] = new Option(i, i)
    }
    setCurrMonth(today)
}
// set month choice to current month
function setCurrMonth(today) {
    document.dateChooser.chooseMonth.selectedIndex = today.getMonth()
}
</SCRIPT>
</HEAD>

<BODY onLoad="fillYears(); populateTable(document.dateChooser)">
<H1>Month at a Glance (Dynamic HTML)</H1>
<HR>
<TABLE ID="calendarTable" BORDER=1 ALIGN="center">
<TR>
    <TH ID="tableHeader" COLSPAN=7></TH>
</TR>
<TR><TH>Sun</TH><TH>Mon</TH><TH>Tue</TH><TH>Wed</TH>
<TH>Thu</TH><TH>Fri</TH><TH>Sat</TH></TR>
<TBODY ID="tableBody"></TBODY>
<TR>
    <TD COLSPAN=7>
    <P>
    <FORM NAME="dateChooser">
        <SELECT NAME="chooseMonth" 
        onChange="populateTable(this.form)">
            <OPTION SELECTED>January<OPTION>February
            <OPTION>March<OPTION>April<OPTION>May
            <OPTION>June<OPTION>July<OPTION>August
            <OPTION>September<OPTION>October
            <OPTION>November<OPTION>December
    </SELECT>
    <SELECT NAME="chooseYear" onChange="populateTable(this.form)">
    </SELECT>
    </FORM>
    </P></TD>
</TR>
</TABLE>
</BODY>
</HTML>



tumblr-tutorial:

I made all of them , so if you are going to use the buttons, please put the credit in your Tumblr, please and thank you

Click HERE if you don’t know how to use them

Enjoy!

Note: I made them in Photoshop CS5, and downloaded the patterns HERE


(via codesecrets)