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
varma uvarma u 

a link is not working in some of the browsers

hi, 
    in a vf page there is one link.It is opening in only some browsers,in some of the browsers not opening.what might be the problem?
Gooch ForeverGooch Forever
Hi

The Salesforce standard code works in all bowsers.
<apex:outputLink value="https://www.google.com" id="theLink">www.google.com</apex:outputLink>

Still it creates problem then try to solve below points
  • Clear Cache, cookies
  • Try to clear the plugin interference to the browsers caused by other installation like Antivirus software.
  • Try to debug in browser developer console.
Gaurav NirwalGaurav Nirwal
Can you post an example here of one of your problematic links? (Be sure to mask out or replace your campaign ID with '000000....'.)

Are you using any redirect scripts? How did you create your rover links?
Gaurav NirwalGaurav Nirwal
$('#main_menu a').bind('click',function(event){
    if(!$(this).parent('li').hasClass('lang') && !$(this).parent('li').hasClass('langlast')) {
        $(document).find('title').text($(this).text() + ' | santosidaniel');

        var $anchor = $(this);

        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top
        }, 1500,'easeInOutExpo');

        event.preventDefault();
    }
});
You can use this code to solves your problem