Link to home
Start Free TrialLog in
Avatar of Curt_Hasan
Curt_HasanFlag for United States of America

asked on

Pop-up message

I new to the html thing (3 days).  I working on a sharepoint site.  Its a intranet  site.  I add a html web part to the page, then use HTML to develop my page.

I've used an alert code,it's not what I'm looking for.  What I'm trying to is have a welcome message with my boss picture pop-up when the main page is accessed for the first time with his welcome spill.

Any ideas?  I don't really know where to start of this one....
SOLUTION
Avatar of Wayne Michael
Wayne Michael
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Curt_Hasan

ASKER

Like I said, I'm new to this.  You link has me a little confused.  All I'm trying to do is has a pop-up message or page for the user to see upon opening the a page.

I want the message to contain a picture in the upper left-corner of the message under the banner.

Please see the attached code that was attempted.
POPUP.txt
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This answer did get me closer to what I want. and website was extremely useful.
Avatar of Rainer Jeschor
Hi,
even if the question is already closed:
1. You should have added SharePoint topic ;-)
2. Proper way of opening dialogs in SharePoint is the usage of the built-in library
SP.UI.ModalDialog.showModalDialog
like here:
http://www.wawawum.com/blog/post/SharePoint-Modal-Dialog-from-HTML.aspx
(alternative would be to upload the content in an HTML file to a document library and use the URL option of the modaldialog)

KR
Rainer
Hi.
If write my welcome message in HTML file and save it in document library and use the URL option that will display and close the message upon click?  This option seem simplest.

I've never utilized this feature, how do I get start?  Also, the website's example illustrate using a string.  My message is two short paragraphs.

Please advise...