You need to sign in to do that
Don't have an account?
mac admin
favicon not allowing the script validations
Hi all,
In my Force.com Sites First custom vfpage If I add the link as below:
<link REL="SHORTCUT ICON" HREF="{!URLFOR($Resource.favicon)}"/>
the javascript validations are not working. But for remaing pages It works fine. But in First page the it showing the issue.
And I also added the favicon to Sites by adding the image to Static resources as .ico formate and added the image to site. Even then the image is not showing.
Can anyone help me over here.
Thanks in advance.
Regrads,
mac.
In my Force.com Sites First custom vfpage If I add the link as below:
<link REL="SHORTCUT ICON" HREF="{!URLFOR($Resource.favicon)}"/>
the javascript validations are not working. But for remaing pages It works fine. But in First page the it showing the issue.
And I also added the favicon to Sites by adding the image to Static resources as .ico formate and added the image to site. Even then the image is not showing.
Can anyone help me over here.
Thanks in advance.
Regrads,
mac.
Below information might help you
1) Clear your cache. http://support.google.com/chrome/bin/answer.py?hl=en&answer=95582 And test another browser, lets say safari. How did you import the favicon?
2) How you should add it:
Normal favicon:
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
PNG/GIF favicon:
<link rel="icon" type="image/gif" href="favicon.gif" /> <link rel="icon" type="image/png" href="favicon.png" />
3) Another thing could be the problem that chrome can't display favicons, if it's local (not uploaded to a webserver).
Source: http://stackoverflow.com/a/16375622/1581725
Please mark this as solved if the information helps.
Regards,
Nagendra.
I have given the liink as mentioned in the link you posted the favicon is not displaying and script validations are not firing in my custom vfpage.
Is I'm making any mistake . the link I have given as below:
<link rel="shortcut icon" href="icon.ico" type="image/x-icon" />