You need to sign in to do that
Don't have an account?
Premanath
strucked in javascript popup window with fade effect
I want to create a javascript button. Like setup-->contact-->Buttons and links --->Execute javascript ----- Right...
Next when we click on a button in contact record one popup window should be came.
But the popup outside window should be Fade Effect (Dark color)..
Please help me guys
How are you doing the popup, like an actual window ? You would want to work with the lighbox technique, and make your pop up with a div's and css I believe. (I don't have an example, but there should be plenty if you use a search engine)
Thanks for reply...
the popup comes like window.open(-------)
I have searched lot of ways but i didn't find that. i can find in html formate. but i don't know how to convert it to javascript.
I don't know how to work with Div's and css in javascript page...
please help me guys
Thank you
Hi,
I guess you want to create a model popup window. on custom button click.
If yes then there is not any predefine function by SF to create model popup.
To create a model popup you need to use jquery.
Please follow below steps to create model popup.
Here I am sharing the sample code which will open your popup window into the objects page layout n show the records name.
I know this is not a standred way to do it. But I found only this workaround. This code may fail if SF made changes into there CSS. I am hopping SF may open some API to create a popup on any layout. But till that we can use this workaround.
I hope you are satisfy with this reply.
Thanks,
Purushottam
Hi Puru,
Thanks for your work...
Actually this requirement is very complex so we are going in some another way to do it...
Thanks a lot