Skip to content

Instantly share code, notes, and snippets.

View yusuke6197's full-sized avatar

yusuke6197 yusuke6197

View GitHub Profile
<apex:page controller="HelpGetLangCon" showheader="false" sidebar="false" action="{!URLFOR($Resource.Help, Lang + '/Account.htm')}" >
</apex:page>
public class HelpGetLangCon {
public String Lang {get; set; }
public HelpGetLangCon() {
User myUser = [SELECT LanguageLocaleKey FROM User WHERE id = :UserInfo.getUserId()];
Lang = myUser.LanguageLocaleKey;
}
}
<apex:page standardController="Account" title="QuickTour">
<apex:includeScript value="{!URLFOR($Resource.intro, 'intro/intro.js')}" />
<apex:stylesheet value="{!URLFOR($Resource.intro, 'intro/intro.css')}" />
<style>
#quicktour {
background: url("/img/alohaSkin/help_orange.png") no-repeat scroll 100% 0 rgba(0, 0, 0, 0);
text-align: right;
height: 16px;
margin-bottom: -30px;
padding-right: 21px;
<apex:page standardController="Account">
<div class="primaryPalette" style="width:200px; height:200px;">
</div>
</apex:page>
public class MyHelloWorld {
system.debug('Hello World!!');
}