+ Post New Thread
Results 1 to 3 of 3
Web Development Thread, Popup generation and sharepoint web parts in Coding and Web Development; I have a quick query about popups. I am looking at how I can stick a chunk of code into ...
  1. #1

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,930
    Thank Post
    1,337
    Thanked 1,780 Times in 1,105 Posts
    Blog Entries
    19
    Rep Power
    594

    Popup generation and sharepoint web parts

    I have a quick query about popups.

    I am looking at how I can stick a chunk of code into a web part so that if it is viewable via a user it will then load a popup.

    I have had a look at some javascript bits, but they run within the body or head ... I am looking for a chunk of code I can paste into anywhere on a page (or within a web part) ...

    I am not a code monkey so I am struggling a bit here ...

    Has anyone got any pointers?

  2. #2

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35

    Re: Popup generation and sharepoint web parts

    It's fairly simple mate
    Code:
    <script language="javascript">
    window.onload= loadpopupfunction
    
    funtion loadpopupfunction( ) {
    
    Code here to load your popup
    }
    </script>
    If you want some popup code let me know, i've got some that works quite well.

    Matt

  3. #3

    Join Date
    Aug 2011
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi. Could pls help to send me some code for showing the popup message and get the list content from list and show the content.quite urgent requirement.
    Pls email me: riyasudeen@gmail
    .com

    Thanks a lot.






    Quote Originally Posted by saundersmatt View Post
    It's fairly simple mate
    Code:
    <script language="javascript">
    window.onload= loadpopupfunction
    
    funtion loadpopupfunction( ) {
    
    Code here to load your popup
    }
    </script>
    If you want some popup code let me know, i've got some that works quite well.

    Matt

SHARE:
+ Post New Thread

Similar Threads

  1. VBS System Tray popup
    By Samson in forum Scripts
    Replies: 7
    Last Post: 6th May 2008, 12:21 AM
  2. Popup or Alt Tag title
    By Scotmk in forum Web Development
    Replies: 3
    Last Post: 12th September 2007, 05:12 PM
  3. popup before login thing
    By browolf in forum Windows
    Replies: 3
    Last Post: 12th March 2007, 04:05 PM
  4. Replies: 0
    Last Post: 2nd January 2006, 05:58 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •