0

Greybox, the pop-up window: http://orangoo.com/labs/GreyBox/

I'd just like to know how I can get it to pop-up not in the center of the page.
I'd like it to pop-up on the left side of the page.
Is that possible? If so can you help me accomplish this?
It's ben suggested to change the CSS styles, but I and others haven't succeeded there. It may need additional code.
Any help would be appreciated. Thanks.

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by abhihome
0

You could use something like this:

<script type="text/javascript">

<!--
 
var win = function() {
   window.open( "", "Left-Side", "height=500,width=500,left=0,top=20");
 
};

window.onload = win;
// -->
</script>
0

Hi,

I have a similar problem.
In my code, I am checking the status of pop-up blocker, by opening a small pop-up window.

I have to move this small window away from screen because it is annoying to the user.

The code is similar as above:

<script type="text/javascript">
<!--
var win = function() {
   window.open( "", "Left-Side", "height=500,width=500,left=5000,top=10000");
};
window.onload = win;
// -->
</script>

It is working fine in Firefox for both the following scenarios.
1. Invoke the html from disc
2. Invoke the html from Apache

It is working fine in IE for the first scenario - Invoke the html from disc. But when I invoke the HTML from Apache in IE, the pop-up is getting located at the bottom right corner of the screen.

Can you please help me to fix this?

Thanks
Abhilash

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.