This is a discussion on "Help facility javascript" within the JavaScript Forum section. This forum, and the thread "Help facility javascript are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Help facility javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Help facility javascript
Hey,
I am trying to make a help facility for a web based application. At the moment when clicking help, the help facility opens in a new window and resizes the parent window so both are visible on the screen just like it does in the Microsoft Word help facility. When the user closes the help facility i would like to return the parent window to its original size. I have read in numerous places not 2 mess with a users browser but the boss says this is the way i should do it. Any thoughts? |
|
|
|
|||
|
Re: Help facility javascript
Quote:
|
|
|||
|
Re: Help facility javascript
Do you have any other suggestions?
|
|
|||
|
Re: Help facility javascript
|
|
||||
|
Re: Help facility javascript
Hang on guys....
Why not use fluid containers for the main content.... Then inject the help window floated to the right, but instead of a window, use a DIV. The main content should reflow around the help panel. Sigh... Suprised no-one else offered this solution.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
Last edited by Rob; Jul 31st, 2007 at 10:46. |
|
|||
|
Re: Help facility javascript
cheers rob,
Any places you know of that can show me how to do this, only just started doing more advanced web stuff so not really sure on a few things. thanks again |
|
||||
|
Re: Help facility javascript
Lets say the main content area is surrounded by a div with an ID of #mainContainer
next comes the main content itself.... surround this with another div #mainContent Use the following javascript code in the head section
eg. onclick = "insertHelp('This is the help text');" You can style the help layer using #helpPanel in css... obviously you will need to use float:right; All the above code is from memory but it should give you an idea.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: Help facility javascript
thanks Rob,
I almost have the code complete, the help files to be displayed at each help phase are stored as html files. How do i make the new div display these?? |
|
|||
|
Re: Help facility javascript
Another option, instead of generating the help panel with javascript, is simply to hide it using the CSS display: none;
Then you can use javascript to change this to display: block; and reveal the panel:
|
![]() |
| Tags |
| help, html, javascript |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Assistance required please - member messaging facility | Gerry | Job Opportunities | 4 | Nov 2nd, 2007 02:59 |
| not yet a job opportunity...database messaging facility | Gerry | PHP Forum | 3 | Oct 17th, 2007 21:03 |
| help! need search facility code to open in new window | metamuse | JavaScript Forum | 0 | Jul 15th, 2007 15:01 |
| JavaScript | cbrams9 | JavaScript Forum | 1 | Sep 20th, 2006 17:35 |
| I would like to add a search facility on my website - any suggestions? | constantinesavva | Web Page Design | 3 | Feb 25th, 2006 23:34 |