You need to sign in to do that
Don't have an account?
Vikas
I have opened a pop-up from the sections label in a layout of Lead, but not 100% working
Hi,
I want to open a pop-up from the sections label in a layout of Lead. My section name is "Lead Qualification Guidelines", this opens popup, but gives and error.
Below is the code, can anybody help?
<A style="CURSOR: move" href="javascript:window.open('http://www.sforce.com','help','screenX=0,screenY=0,location=no,width=400,height=600,scrollbars=no,toolbar=no');window.opener.stop();" originalBGColor>Lead Qualification Guidelines</A>
I may be wrong in window.opener.stop().
Please help me to resolve this.
Hey Vikas,
Put some context about what you are doing around your post and we can help. Explain what you are doing, where, why and how. From your post I don't know if you are screen scraping, running a wil, an scontrol, a separate site altogether.
Thanks.
During the New Lead Entry Page, I want to popup few guidelines for the user.
As you know Web Links are not available on Edit/New mode of any entity, I tried to utilize the section names instead. So in the Page Layout Edit mode, I nameed the section as
<A href="javascript:window.open('http://www.sforce.com','help','screenX=0,screenY=0,location=no,width=400,height=600,scrollbars=no,toolbar=no');window.opener.stop();" originalBGColor>Lead Qualification Guidelines</A>
Here the section name is "lead qualification guidelines", the page opening sforce.com will be my custom page at my web server.
Objective is to have lead entry guidelines duirng the new and edit mode of the lead.
Hope all this helps.
OK, I understand.
IE does not support window.stop(). You will need to use
document.execCommand('stop') instead. What this means is that you will need to determine the browser within your javascript snippet in the href.
<A href="javascript:window.open('http://www.sforce.com','help','screenX=0,screenY=0,location=no,width=400,height=600,scrollbars=no,toolbar=no');document.execCommand('Stop');" originalBGColor>Lead Qualification Guidelines</A>