help.js ( File view )

  • By zzhan08 2014-11-01
  • View(s):104
  • Download(s):0
  • Point(s): 2
			function bannerHtml() {

    var banner = new Array(4); for (i = 0; i < banner.length; ++i) banner[i] = new Array(5);
	
	banner[0][0] = "&utm_medium=sbanner_1_elizabeth"; banner[0][1] = "elizabeth-stark.jpg"; banner[0][2] = "Creative Commons exemplifies the potential<br/>for making knowledge available to the world."; banner[0][3] = "Elizabeth Stark, co-founder of the Open Video Alliance"; banner[0][4] = "elizabeth-stark";
	
	banner[1][0] = "&utm_medium=sbanner_1_neeru"; banner[1][1] = "neerukhosla.jpg"; banner[1][2] = "To make a difference in education, we have to ensure that all students<br/>have access to information that is relevant to them."; banner[1][3] = "Neeru Khosla, founder of CK12 Foundation"; banner[1][4] = "neeru-khosla";

	banner[2][0] = "&utm_medium=sbanner_1_mitchell"; banner[2][1] = "mitchellbaker.jpg"; banner[2][2] = "Creative Commons provides an easy way for people<br/> to choose to collaborate in creative activities."; banner[2][3] = "Mitchell Baker, chair of the Mozilla Foundation"; banner[2][4] = "mitchell-baker";
	
	banner[3][0] = "&utm_medium=sbanner_1_josh"; banner[3][1] = "joshsommer.jpg"; banner[3][2] = "Creative Commons is grease to the wheels of science.<br/>It is a source of hope to me in the race to outrun my disease."; banner[3][3] = "Josh Sommer, executive director of the Chordoma Foundation"; banner[3][4] = "josh-sommer";
	
	return banner;

}
function thundercats() {

    if (location.href.match(/^http\:(.*)?creativecommons.org\/choose/) || (navigator.userAgent.indexOf("MSIE 7") > -1) || (navigator.userAgent.indexOf("MSIE 6") > -1)) return;

    var i = Math.floor(Math.random() * 4);
    var banners = bannerHtml();

    var d = document.createElement("div");
    var mainContent = document.getElementById("deed");

	var href = '<a href="https://creativecommons.net/superheroes/'+ banners[i][4] +'?utm_campaign=superhero&utm_source=deed' + banners[i][0] + '" style="color:#000; text-decoration:none;">';

	d.setAttribute('style', 'font-size: 22px; font-family: "helvetica neue", arial, sans-serif; line-height:1; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); color: #000; padding: 7px 0 2px 0; border-bottom: 1px solid rgb(120, 159, 44); margin-top: -1px; background: #c5deed; background:-webkit-gradient(linear, left top, left bottom, from(#d5eefd), to(#a1c6dd)); background:-moz-linear-gradient(center top, #c5deed, #91b6cd); z-index:1000;');
	d.id = "campaignBanner";

   	d.innerHTML = '<div style="display:inline-block;">'+ href +'<img src="https://creativecommons.net/sites/default/files/' + banners[i][1] +'" height="85" style="vertical-align:middle; margin: 5px; -webkit-border-radius:5px; -moz-border-radius:5px;" border="0"/></a></div> <div style="display:inline-block; text-align:left; line-height:1.25; vertical-align:middle; margin-left: 15px;"><strong><span>'+ href +'<span style="display:inline-block; text-indent:-0.5em;">&#8220;</span>'+ banners[i][2] +'&#8221;</span></strong> &mdash; <em style="color:#c01100;">Read More</em></a><br/><em style="font-size:75%;">&mdash; '+ banners[i][3] +'</em></div>';
   	mainContent.parentNode.insertBefore(d, mainContent);

}
/*
*/
YAHOO.namespace("cc.help");

// convenience function 
...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 2

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.97 kB
HelloWorld.exe32.50 kB2012-01-13|04:36
01.97 kB
01.97 kB
._HelloWorld.exe222.00 B2012-01-13|04:36
HelloWorld.sln886.00 B2011-06-21|02:15
._HelloWorld.sln222.00 B2011-06-21|02:15
HelloWorld.vcxproj3.20 kB2011-05-19|02:44
._HelloWorld.vcxproj222.00 B2011-05-19|02:44
HelloWorld.vcxproj.filters956.00 B2010-12-31|10:21
._HelloWorld.vcxproj.filters222.00 B2010-12-31|10:21
license.htm24.85 kB2012-01-26|11:20
._license.htm222.00 B2012-01-26|11:20
01.97 kB
cc-logo.jpg33.26 kB2012-01-26|11:20
01.97 kB
._cc-logo.jpg222.00 B2012-01-26|11:20
connection-min.js11.33 kB2012-01-26|11:20
._connection-min.js222.00 B2012-01-26|11:20
container-min.js71.26 kB2012-01-26|11:20
._container-min.js222.00 B2012-01-26|11:20
container.css4.58 kB2012-01-26|11:20
._container.css222.00 B2012-01-26|11:20
deed67.00 B2012-01-26|11:20
._deed222.00 B2012-01-26|11:20
deed.js1.57 kB2012-01-26|11:20
._deed.js222.00 B2012-01-26|11:20
deed.txt731.00 B2012-01-26|11:20
._deed.txt222.00 B2012-01-26|11:20
deed3-print.css2.49 kB2012-01-26|11:20
._deed3-print.css222.00 B2012-01-26|11:20
deed3.css13.55 kB2012-01-26|11:20
._deed3.css222.00 B2012-01-26|11:20
ga.js32.45 kB2012-01-26|11:20
._ga.js222.00 B2012-01-26|11:20
ga_002.js32.45 kB2012-01-26|11:20
._ga_002.js222.00 B2012-01-26|11:20
help.js4.68 kB2012-01-26|11:20
._help.js222.00 B2012-01-26|11:20
information.png778.00 B2012-01-26|11:20
._information.png222.00 B2012-01-26|11:20
json-min.js3.40 kB2012-01-26|11:20
._json-min.js222.00 B2012-01-26|11:20
jurisdictions.css841.00 B2012-01-26|11:20
._jurisdictions.css222.00 B2012-01-26|11:20
seal.png7.16 kB2012-01-26|11:20
._seal.png222.00 B2012-01-26|11:20
yahoo-dom-event.js30.90 kB2012-01-26|11:20
._yahoo-dom-event.js222.00 B2012-01-26|11:20
._license_files222.00 B2014-01-30|04:26
winmain.cpp4.66 kB2012-01-13|06:31
._winmain.cpp222.00 B2012-01-13|06:31
HelloWorld.vcxproj.user143.00 B2014-01-30|04:30
01.97 kB
HelloWorld.log1.99 kB2014-01-30|04:31
HelloWorld.vcxprojResolveAssemblyReference.cache713.00 B2014-01-30|04:31
HelloWorld.lastbuildstate106.00 B2014-01-30|04:31
HelloWorld.write.1.tlog0.00 B2014-01-30|04:31
vc100.idb179.00 kB2014-01-30|04:31
vc100.pdb60.00 kB2014-01-30|04:31
winmain.obj13.98 kB2014-01-30|04:31
CL.read.1.tlog7.23 kB2014-01-30|04:31
CL.write.1.tlog380.00 B2014-01-30|04:31
cl.command.1.tlog724.00 B2014-01-30|04:31
HelloWorld.ilk329.23 kB2014-01-30|04:31
mt.read.1.tlog924.00 B2014-01-30|04:31
HelloWorld.pdb371.00 kB2014-01-30|04:31
HelloWorld.exe.intermediate.manifest381.00 B2014-01-30|04:31
link.read.1.tlog2.85 kB2014-01-30|04:31
link.write.1.tlog1.03 kB2014-01-30|04:31
link.command.1.tlog1.53 kB2014-01-30|04:31
HelloWorld.exe28.50 kB2014-01-30|04:31
mt.write.1.tlog250.00 B2014-01-30|04:31
mt.command.1.tlog634.00 B2014-01-30|04:31
HelloWorld.suo8.50 kB2014-01-30|04:31
._HelloWorld222.00 B2014-01-30|04:31
Character0.00 B2014-01-30|04:36
Character33.00 kB2012-01-13|04:35
Character0.00 B2014-02-11|09:52
Character222.00 B2012-01-13|04:35
Character894.00 B2011-06-28|03:09
Character222.00 B2011-06-28|03:09
Character4.54 kB2010-01-29|04:49
Character222.00 B2010-01-29|04:49
Character943.00 B2010-01-08|14:18
Character222.00 B2010-01-08|14:18
Character24.85 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character0.00 B2014-01-30|04:27
Character33.26 kB2012-01-26|11:20
Character0.00 B2014-02-11|09:52
Character222.00 B2012-01-26|11:20
Character11.33 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character71.26 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character4.58 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character67.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character1.57 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character731.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character2.49 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character13.55 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character32.45 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character32.45 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character4.68 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character778.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character3.40 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character841.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character7.16 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character30.90 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character222.00 B2014-01-30|04:27
Character5.60 kB2012-01-13|06:38
Character222.00 B2012-01-13|06:38
Character143.00 B2014-01-30|04:33
Character0.00 B2014-01-30|04:34
Character2.08 kB2014-01-30|04:34
Character111.00 B2014-01-30|04:34
Character0.00 B2014-01-30|04:33
Character179.00 kB2014-01-30|04:34
Character60.00 kB2014-01-30|04:34
Character15.78 kB2014-01-30|04:34
Character7.09 kB2014-01-30|04:34
Character400.00 B2014-01-30|04:34
Character744.00 B2014-01-30|04:34
Character946.39 kB2014-01-30|04:34
Character960.00 B2014-01-30|04:34
Character1.57 MB2014-01-30|04:34
Character381.00 B2014-01-30|04:34
Character2.88 kB2014-01-30|04:34
Character650.00 B2014-01-30|04:34
Character1.60 kB2014-01-30|04:34
Character388.50 kB2014-01-30|04:34
Character268.00 B2014-01-30|04:34
Character678.00 B2014-01-30|04:34
Character8.50 kB2014-01-30|04:36
._Character222.00 B2014-01-30|04:36
Keys0.00 B2014-01-30|04:27
Keys34.00 kB2012-01-13|04:37
Keys0.00 B2014-02-11|09:52
Keys222.00 B2012-01-13|04:37
Keys882.00 B2011-06-21|02:24
Keys222.00 B2011-06-21|02:24
Keys3.64 kB2010-01-08|14:18
Keys222.00 B2010-01-08|14:18
Keys943.00 B2010-01-08|14:18
Keys222.00 B2010-01-08|14:18
Keys24.85 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys0.00 B2014-01-30|04:27
Keys33.26 kB2012-01-26|11:20
Keys0.00 B2014-02-11|09:52
Keys222.00 B2012-01-26|11:20
Keys11.33 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys71.26 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys4.58 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys67.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys1.57 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys731.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys2.49 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys13.55 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys32.45 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys32.45 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys4.68 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys778.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys3.40 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys841.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys7.16 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys30.90 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys222.00 B2014-01-30|04:27
Keys9.36 kB2012-01-13|06:38
Keys222.00 B2012-01-13|06:38
._Keys222.00 B2014-01-30|04:27
Prevent0.00 B2014-01-30|05:36
Prevent24.85 kB2012-01-26|11:20
Prevent0.00 B2014-02-11|09:52
Prevent222.00 B2012-01-26|11:20
Prevent0.00 B2014-01-30|04:28
Prevent33.26 kB2012-01-26|11:20
Prevent0.00 B2014-02-11|09:52
Prevent222.00 B2012-01-26|11:20
Prevent11.33 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent71.26 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent4.58 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent67.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent1.57 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent731.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent2.49 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent13.55 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent32.45 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent32.45 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent4.68 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent778.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent3.40 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent841.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent7.16 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent30.90 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent222.00 B2014-01-30|04:28
Prevent5.14 kB2012-01-13|06:40
Prevent222.00 B2012-01-13|06:40
Prevent896.00 B2011-06-21|02:25
Prevent222.00 B2011-06-21|02:25
Prevent4.58 kB2011-05-19|02:41
Prevent222.00 B2011-05-19|02:41
Prevent951.00 B2011-05-19|02:41
Prevent222.00 B2011-05-19|02:41
Prevent10.00 kB2014-01-30|05:38
Prevent143.00 B2014-01-30|05:35
Prevent0.00 B2014-01-30|05:36
Prevent2.09 kB2014-01-30|05:36
Prevent713.00 B2014-01-30|05:36
Prevent112.00 B2014-01-30|05:36
Prevent0.00 B2014-01-30|05:36
Prevent179.00 kB2014-01-30|05:36
Prevent60.00 kB2014-01-30|05:36
Prevent15.32 kB2014-01-30|05:36
Prevent7.26 kB2014-01-30|05:36
Prevent420.00 B2014-01-30|05:36
Prevent780.00 B2014-01-30|05:36
Prevent381.00 B2014-01-30|05:36
Prevent2.91 kB2014-01-30|05:36
Prevent1.11 kB2014-01-30|05:36
Prevent1.61 kB2014-01-30|05:36
Prevent956.00 B2014-01-30|05:36
Prevent272.00 B2014-01-30|05:36
Prevent676.00 B2014-01-30|05:36
Prevent933.80 kB2014-01-30|05:36
Prevent1.57 MB2014-01-30|05:36
Prevent388.00 kB2014-01-30|05:36
._Prevent222.00 B2014-01-30|05:36
...
Sponsored links

help.js (2.08 MB)

Need 2 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D