Link to home
Start Free TrialLog in
Avatar of Grumpy_Old_Man
Grumpy_Old_ManFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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

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

Avatar of radnbne
radnbne
Flag of Australia image

I tried to follow your link but it keeps timing out.

Let us know when it is available again.
Avatar of Grumpy_Old_Man

ASKER

It should be visible now. Thanks for looking.

Regards
Gary
Hi Gary,

Just need to check....is the link you posted for the parent page or the page you want as a popup?
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
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

Thanks for that. So how would I use that code from a navigation link within sharepoint 2007?

Regards
Gary
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.
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
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
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
ASKER CERTIFIED SOLUTION
Avatar of radnbne
radnbne
Flag of Australia 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
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
Thanks for helping.