Click to See Complete Forum and Search --> : Combining scripts


rhosk
01-09-2003, 10:51 AM
Hello all, just joined today. Looks like a great place for info.

Got a little problem. I have 2 separate scripts (view source) that I'd like to combine but all my trial and error doesn't avail. Please check out the link and advise how I can get the absolute chromeless window to do the peeker "function". No matter what I try, I can't invoke the frameless/chromeless into the peeker (without the title or border or anything). I tried combining with onload and it just does the 2 actions separately.


Link - example.htm (http://users.adelphia.net/~rhosk/example.htm)

The "peeker" should launch onload and the window I want to actually peek is the chromeless one (the links for the example).

I can't get the "close window" to work either, but that's another story. Hopefully, I'll figure that out later. Thanks for any insight and I hope you understand what I would like.

rhosk
01-09-2003, 06:26 PM
Any ideas, or do we need scripts or what?

khalidali63
01-09-2003, 08:00 PM
Your code works in NS6+ or Mozilla 1+
I'll take a look why its not working win IE

Khalid

khalidali63
01-09-2003, 09:33 PM
I have made it work.
all three updated files are in zip file

Khalid

rhosk
01-10-2003, 05:01 AM
khalid, I appreciate your time and effort in to this and I noticed you fixed the "close" window part [parent], thanks.

But, I would moreso like that "open chromeless - window" to do that "peeker" function. If it worked for you, maybe I do have a browser prob. I have the latest IE6. I tried onload="myChromeless.openChromeless();openPeeker()", to see if I could invoke it into the peeker, nope. All it does is do each separate action in succession which also makes sense I guess.

I'm starting to think that IE6 is refusing to do it. If I check various chromeless scripts that have a "certain size" var - (say 400x300 or whatever), it always opens full screen for some reason - always. May be a security issue.

My ultimate goal in all this is to have a peeker window, fully customizable that I can have appear anywhere (not just floating from bottom) on the screen. Thanks again.