Hello:
I have decoded the JavaScript code for the popups and I have
modified it a bit to not show the close button. Also, I have modified
your HTML page to create non-resizable popup windows, this way, none
of the maximize, minimize, resize gifs are shown. You can get this
behaviour by calling the popup function setting isresize to false:
new popUp(360 , 50 , 352 , 408 , "popoverID2" , .... , false , true ,
false , false );
The fourth parameter, beginning from the end controls whether the
popup is resizable or not, I have changed it to false.
I have worked only in the popup window is shown when you wait 7
seconds after load the page, the rest of popups are untouched.
Please, download this file, it contains the Javascript and HTML code:
http://www.xpde.com/ans2.zip
I can't reproduce the problem you say you get when refreshing, try it
now without .gif images and tell me if it still happens, I will work
on this matter until you get satisfactory results, so don't hesitate
to request for any clarification.
Regards. |
Request for Answer Clarification by
steve234-ga
on
11 Aug 2003 17:27 PDT
hi,
Great job! I put your results in a different directory:
http://www.thebatteryshoppe.com/TestDir2/AllPopUps7.html
Use this for the latest versions of the code. It took me awhile to
get back to you because I found that if the resize function in every
pop-up wasn't set to false, then the program would still try and
download the gifs, frequently locking up. After setting them all to
false, there is no more hang-up on refresh. :)
I corrected the "close this box" link at the bottom of all the
pop-ups, so at least they can be closed now.
One minor question, before we conclude. I still like the idea of a
close link in the top right corner. See how I did it in the OEM
pop-up (and unlike the gif links, it always appears without lock-up
and works too). How do I properly flush-right the alignment of that
link? Different browser view settings makes it appear in different
locations on that line or not appear at all. I think it has to do
with the function in the js file. I tried X's set to the same
background color (definitely not the pro way), and putting it in a
sub-table there in the argument line may work ok for "OEM" but it cuts
off the bottom of letters like "p" and "y". Any suggestions?
Thank you.
Steve
|
Clarification of Answer by
joseleon-ga
on
12 Aug 2003 00:25 PDT
Hello:
I have changed the PopOver.js script to add a close link on the
right top corner which closes the window, you can download it here:
http://www.xpde.com/PopOver.zip
Also a extra recommendation, in the AllPopUps7.html, the windows
contain a link to close the window this way:
<a href=\"javascript:window.close()\"
Which is no good because will close the entire window in most
browsers, you must change it to:
<a href=\"javascript:hidebox('popoverID1')\"
To close just the popup window, where popoverID1 is the ID of the box
you want to close.
I hope it helps ;-)
Regards.
|
Request for Answer Clarification by
steve234-ga
on
13 Aug 2003 16:10 PDT
Yes, great! That is exactly what I was looking for - a close link
with no gifs to lock-up on download.
(Sorry I did not reply sooner to you, but twice I emailed
google-answers and twice they sent me a email reply saying the system
was down with technical difficulties. I can include a copy of their
email if it matters.)
Your new .js file is here. Where can I find that link in the .js code
so I can set its font style, color and background color?
http://www.thebatteryshoppe.com/TestDir2/AllPopUps7.html
I'm only concerned with the "OEM" pop-up right now. Once that's done,
I can conclude this and copy the code for the other pop-up function
links in my own time.
Thank you again.
Steve
|
Request for Answer Clarification by
steve234-ga
on
13 Aug 2003 16:16 PDT
Hi,
Never mind that last post, unless you want to elaborate any on it, but
I think I figured it out... now if only I can figure out how to
conclude payment.
Am I allowed to ask for an email for future direct consultation jobs?
My email is sp234@hotmail.com. (Am I allowed to say that?)
Thank you, you've been very helpful.
Thank you again.
Steve
|
Clarification of Answer by
joseleon-ga
on
15 Aug 2003 12:11 PDT
Hello:
Thanks for your rating and for your comments, unfortunately we are
not allowed to contact customers outside Google Answers, in any case,
you can post a new question and use For joseleon-ga only in the
subject if you want me to answer such question.
Regards and thanks again.
|
Request for Answer Clarification by
steve234-ga
on
06 Oct 2003 21:16 PDT
hi, I've posted another question for you, joseleon, under the name of
stevep234, but I don't know how to let you know. Hopefully you'll get
this post.
Thanks.
Steve
|
Clarification of Answer by
joseleon-ga
on
07 Oct 2003 01:35 PDT
Hello, steve234:
I have seen your new question, I'm going to look at it and if I
can't do what you need, I will let you know so other researchers can
work on it. Thanks a lot to request my services again ;-)
Regards.
|