Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

html pop-up  initiated form a navigation link - sharepoint 2007

Posted on 2010-08-30
13
Medium Priority
?
869 Views
Last Modified: 2013-12-25
Hi,
I've been looking at adding our own customised help pages into the Sharepoint 2007 help pages. After searching around I've found a way but this is far more involved than I have time for presently. As a work around I've knocked up a html page that looks similar, and this will be accessed by clicking a site page navigation link button. My question is how can I get this page to display in a pop-up window like the original sharepoint help pages. The page I've knocked up can be found here: http://www.30242.net/1/
I know this should be easy but I'm a newbie to all this programming lark. I have code which would perform this from a link in a web page, but I can't see any way to incorporate that into sharepoint's navigation button link. I can get the page to open in a new window by ticking a check box in the link properties dialog box,but cannot find anywhere to set the page size.
Any help would be appreciated.
Regards
Gary

0
Comment
Question by:Grumpy_Old_Man
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 6

Expert Comment

by:radnbne
ID: 33563686
I tried to follow your link but it keeps timing out.

Let us know when it is available again.
0
 

Author Comment

by:Grumpy_Old_Man
ID: 33564651
It should be visible now. Thanks for looking.

Regards
Gary
0
 
LVL 6

Expert Comment

by:radnbne
ID: 33565784
Hi Gary,

Just need to check....is the link you posted for the parent page or the page you want as a popup?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:Grumpy_Old_Man
ID: 33565817
Hi radnbne,

The link posted is for the popup page. I would like to try and get this page to appear the same as the default sharepoint help popup box, (minus the top navigation and search bar).

Regards
gary
0
 
LVL 6

Expert Comment

by:radnbne
ID: 33565831
This is normally done using the Javascript window.open function.

There is a really good description of it here: http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

0
 

Author Comment

by:Grumpy_Old_Man
ID: 33565887
Thanks for that. So how would I use that code from a navigation link within sharepoint 2007?

Regards
Gary
0
 
LVL 6

Expert Comment

by:radnbne
ID: 33566004
I don't have a sharepoint development environment setup here.  I will need some time to configure it.

Do you have the source code from your link available.  If so post it and I will see if I can update it for you.

S.
0
 

Author Comment

by:Grumpy_Old_Man
ID: 33566305
Hi radngne,

Here's the source code. I haven't uploaded the three graphics files, just the page code and the css file. Thanks for looking at it.

Regards
Gary

default.htm
help.css
0
 
LVL 6

Expert Comment

by:radnbne
ID: 33566360
Hi Gary,

The page you sent is the page you want to pop-up?

We need to make the change to the page that calls this one.  The javascript actually open this page.

In your home page use something like the following:

<a href="#" onClick="javascript:window.open('http://www.30242.net/1/','','location=0,status=0,scrollbars=1,width=650,height=600');">Help</a>

Regards
Steve
0
 

Author Comment

by:Grumpy_Old_Man
ID: 33568443
Hi Steve,

That works great, as long as I launch the pop-up from within a page. What I would like to do is launch it from the site navigation links. The only configuration I can put in here is url and description. I've tried putting the javascript in the url field, but this just causes sharepoint to default to its Site/Pages view. I guess it doesn't like the Javascript.

Regards
Gary
0
 
LVL 6

Accepted Solution

by:
radnbne earned 500 total points
ID: 33572198
Do you have MSDN Access?

http://msdn.microsoft.com/en-us/library/bb897739.aspx

This describes how to setup a custom provider for your navigation.  The Pages also suggests....

To customize navigation, you should use ASP.NET Site Navigation, because it provides a standard, consistent, and easily managed solution. For more information, see the Microsoft ASP.NET Developer Center on MSDN. (http://msdn.microsoft.com/en-us/asp.net/)


0
 

Author Comment

by:Grumpy_Old_Man
ID: 33585908
Hi,

I've spent some time reading though that information and to be honest it's well over my head. Look's like  there's no easy way to achive this then. Due to time pressures I think I'll end uo just putting a link on a page somewhere and opening the help pages via jave.
I'll then send time at some point intgrating these pages into the sharepoint help system.
Thanks for your help radnbne, you deserve the points.

Regards
Gary
0
 

Author Closing Comment

by:Grumpy_Old_Man
ID: 33585914
Thanks for helping.
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question