function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aruna06Aruna06 

Javascript not working

Hello All,

 

  

<apex:page standardController="Account" >

<span class="st_sharethis" displayText="Share" st_url="http://sharethis.com" st_title="Sharing Rocks!"></span>

<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">
stLight.options({
publisher: '090ca7f1-3e25-46bf-94b7-0781ad6f1371',
popup: 'true'
});
</script>

</apex:page>

 

 

     I cant see the button in my Account when I edited in the page layout of account.........If I save it as Html it is working fine....What should I do to work in VF page also

jd123jd123

Hello

 

  First you create Static Resource in your SFDC Account  setup--> Develop---> Static Resources-->New 

 

then you can use in Visualforce page like 

 

<apex:image value="{!URLFOR($Resource.Company_Logo)}" title="logo" />

 

/* If answered Mark as solved it might help someone in need */

 

thanks 

Aruna06Aruna06

Can see only the image but the functionality not working i.e., when I click on the image it should display suppose the values of it......What should I do to work the functionality also

jd123jd123

you can write 

<apex:actionsupport value="onClick" action={!yourapexmethod} rerender="someid">

 

Rahul2505Rahul2505

Hi Aruna,

 

You can use following link for reference of Apex:ActionSupport:

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionSupport.htm

 

Thanks...