Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect Full 7.x Support (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect Full 7.x Support
Subject Info: Detailed User Info. popup is off screen A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
Wellness
New User
New User
Avatar

Joined: October/03/2006
Location: United States
Online Status: Offline
Info: 3
Added: November/27/2006 at 12:13pm | IP Logged Quote Wellness

The "Detailed User Info." popup on password_admin\default.asp page does not stay on screen.

I've located this tip (for vertical placement of the overLIB popup) at http://tech.groups.yahoo.com/group/overlib/message/10961.

For vertical placement add this to your head section after the Core
Module has loaded:

<script type="text/javascript">
overlib_pagedefaults(VAUTO);
</script>

However, it does not seem to affect the placement of the popup. I placed the script after the line loading the Core Module. (Line 102 in the default code, assuming that is the line loading the core module). and before the <!--#INCLUDE FILE="header_inc.asp"--> line.

The three lines of code I added do reside outside of the head section. The tip suggests placing it in the head section. I don't want to attempt to modify the code for the ASPProtect application in order to get the overlib_mini.js within the head section to satisfy the tip's suggestion. They didn't write the application and I'm not about to guess.

Do you have any suggestions on where to place this script to have it work or how to keep the "Detailed User Info." popup on screen?

Any suggestions would be helpful.



__________________
Brian,
Wellness Council of Wisconsin, Inc.
Back to Top View Wellness's Profile Search for other info by Wellness Visit Wellness's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: November/27/2006 at 12:30pm | IP Logged Quote cwilliams

I dont have any suggestions as I have tweaked it as much as I could when I wrote the code.. it has never been a big issue. I know it can go off screen if your at the bottom of a page of users and your screen resolution is low, but usually it is fine. Your the 1st person to ever mention it. I find that running the browser full screen and having a decent size resolution running on the computer eliminates all issues and since it is only something an admin deals with that's my solution.

That's not to say there isn't room for improvement, but not being a critical issue means I won't be working on it anytime soon since I am in the middle of working on a new .NET version.

As for not trying things, why not ? Go for it. Back the page up and go crazy. Your not going to hurt anything. This stuff is meant to be modified an if you backup the page how on earth can you get into trouble ? You can always go back to the way it was. Back the database up too beforehand if your really worried about it. It's just simple vbscript mixed with html.

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: November/27/2006 at 1:26pm | IP Logged Quote cwilliams

Also, I am pretty sure if I work on that again I would ditch the overlib things and go with CSS.  MAYBE?

Something like these examples. might be lot simpler and work better

http://psacake.com/web/jl.asp

http://fijiwebdesign.com/content/view/82/77/

Less code and no javascript or java applet involved.  Then again I might stick with the overlib applet, not sure until I do it.

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
Wellness
New User
New User
Avatar

Joined: October/03/2006
Location: United States
Online Status: Offline
Info: 3
Added: November/27/2006 at 1:31pm | IP Logged Quote Wellness

Again, you are so correct.

I modified the mouseover instead. Simply specifying the popup location keeps it on screen. Sometimes it is at the top of the window when the user hovered on is at the bottom, but the popup stays on screen.

In the remote chance another user is wondering the same thing.

Here is the original code (within line 286):
<img border="0" src="../images/note.gif" onmouseover="return overlib('<%= JavaMessage %>',CAPTION, 'Detailed User Info.', FGCOLOR, '#FFFFFF');" onmouseout="return nd();">

Here is what I added:
, RIGHT, BELOW, SNAPX, 10, SNAPY, 10

Here is the result:
<img border="0" src="../images/note.gif" onmouseover="return overlib('<%= JavaMessage %>',CAPTION, 'Detailed User Info.', FGCOLOR, '#FFFFFF', RIGHT, BELOW, SNAPX, 10, SNAPY, 10);" onmouseout="return nd();">

Thanks for your simple honest answers!



__________________
Brian,
Wellness Council of Wisconsin, Inc.
Back to Top View Wellness's Profile Search for other info by Wellness Visit Wellness's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: November/27/2006 at 1:34pm | IP Logged Quote cwilliams

so it looks a lot better 

good job

 



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: August/05/2007 at 6:43pm | IP Logged Quote cwilliams

I was playing around with this I have found that people might use using these variations of that code change even better... just some small changes

, RIGHT, ABOVE, SNAPX, 10, SNAPY, 10

or

, LEFT, ABOVE, SNAPX, 1, SNAPY, 1



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com