JavaScript TinyBox

I am trying to use a solution for a question I submited to the experts.
The solution that I received from " remorina : is TinyBox

But now that I am trying to use it in my code it doesn't work.
I just see the Horizontal scrollbar for 3 seconds.
See the attached code.
I put a breakpoing before the line ( and with the debugger I saw that it enters the function, but I cannot understand how it should work and what goes wrong.

function onHelp()

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

>>I just see the Horizontal scrollbar for 3 seconds.

From the "manual" page:
...The function takes 6 parameters:
1. the HTML content for the box or the relative path to the AJAX source,
2. a toggle (true/false or 1/0) if the content is via AJAX,
3. the width of the window (use 0 for auto),
4. the height of the window (use 0 for auto),
5. a toggle (true/false or 1/0) to animate the window, and
6. the time in seconds to wait before auto hiding the popup (optional).

So there, Item 6 is the reason for those 3 seconds.

Also, advanced.html must be in YOUR server. It does not load a page from an remote site.

Lastly, you also need the following CSS in the head of your page:
<style type="text/css">
#tinybox {position:absolute; display:none; padding:10px; background:#fff url( no-repeat 50% 50%; border:10px solid #e3e3e3; z-index:2000}
#tinymask {position:absolute; display:none; top:0; left:0; height:100%; width:100%; background:#000; z-index:1500}
#tinycontent {background:#fff}


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VapiSoftAuthor Commented:
Thank you very much.
VapiSoftAuthor Commented:
I am trying to change the fonts in the Style.css but it does not affects the outcome. Why?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.