Gossamer Forum
Home : Products : DBMan : Customization :

Popup helpscreen-window

Quote Reply
Popup helpscreen-window
I would like to integrate a popup window as an info and helpscreen, which can be open and close by links from all sites of dbman.

Any tips or sites in action with this future?

Michael
Quote Reply
Re: Popup helpscreen-window In reply to
Do you mean a new browser window as your pop up or sort of like little balloon windows to guide the user along.

Either way, javascript would be the way to accomplish the task.
Quote Reply
Re: Popup helpscreen-window In reply to
Yes, I found a javascript ...

But see new Posting

Michael
Quote Reply
Re: Popup helpscreen-window In reply to
I have done it this way at my site.

Just place:
print qq!| <A HREF="http://www.yourdomain.com/userhelp.htm" target="_blank"><b>Help</b></a> ! if ($per_add);

in the sub html_footer of the html.pl

The if ($per_add); is so that only those with add permissions will see it but you can leave it out if you want it available for all. You also need to create the userhelp.htm page yourself.

Regards






------------------
Henk Jan Buchel
Classic Boatworld
http://classicboatworld.net
Quote Reply
Re: Popup helpscreen-window In reply to
Ah, HJ, the original request was for a pop-up window NOT a new browser window.

Wink

But good suggestion anyway.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Popup helpscreen-window In reply to
Here is the JavaScript that I use on my site - you will need to integrate it within DBMan ( I do not use it within DBMan myself). You should be able to do it fairly easy though.

You will need to make a separate .htm file containing your help and then add the following code to your pages to link to the .htm file.

<script LANGUAGE="JavaScript">
function launchHelp(siteName)
{
url = "help.htm"
open(url, "HelpWindow",

"height=400,width=600,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,res izable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=1");

}
</script>

and then add this link to call the javascript:

<A href="help.htm" target="new" onClick="launchHelp(); return false;">need help?</A>

Hope this helps,



------------------
donm
All those who believe in psychokinesis, please raise my hand.




Quote Reply
Re: Popup helpscreen-window In reply to
I have done that too, with javascript- slightly different than above.

Here is my version:
http://www.lib.lsu.edu/cgi-bin/dbman/dbman/db.cgi?db=music&uid=default

This is the javascript, with the link also...


<script language="JavaScript">
<!-- //
function dbinfo(desturl) {
window.open(desturl,"articlehelp","scrollbars=yes,resizable,height=200,width=200");
return false;
}
// -->
</script>
</head>

<TR><td>Title: </td><td nowrap>
<input type="text" name="title" size="40"> <a href="/hum/music/sheetmusicdatabase/titlehelp.html" onClick="return dbinfo('/hum/music/sheetmusicdatabase/titlehelp.html');"><img alt="help" src="http://www.lib.lsu.edu/gif/help.jpg"></a>
</TR>