PDA

View Full Version : Comment windows always on top


posefius
05-28-2005, 12:14 PM
Is it possible to put the comment window always on top. I tried the alwaysRaised=yes parameter, but it doesnt work.

coding:
<a href="index.php?popup=comment&showimage=<IMAGE_ID>" onclick="window.open(this.href, 'Comments', 'height=590, width=550, top=10, left=10, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=yes, status=no, alwaysRaised=yes'); return false;" title="Post a Comment">Info+Comments <IMAGE_COMMENTS_NUMBER></a>

Best regards,
Piet

doffer
05-28-2005, 01:34 PM
I tried googling a bit, and i couldn't find any solutions for your problem... But why do yuo want to do that?

Connie
05-28-2005, 02:57 PM
I am sure that "always raised" is not at all a valid HTML- or Javascript attribute

you better try the method attribute focus()

doffer
05-28-2005, 03:10 PM
But I wonder why the h*** he want to do that to his/her visitors... I would have left the page imediately... But its his/her choiche... :P

posefius
05-28-2005, 06:16 PM
I want to do this because when you browse though the pictures and you look at the comments of a picture and keep that comment window open the window disapears behind the image window of the next picture.

When you open the comment of the next picture the new comment picture is hidden behind the image window. When you are not aware of this you think the comment windows is not working.

Thats why, by the way my name is Piet I'm a man.

Joe[y]
05-28-2005, 06:21 PM
i think most standard compliant browsers ignore any attributes that do this so they can't be used for spamming popups...

this page shows all the common javascript attributes to the pop-up - i can't think of any fully supported ways to do what you describe i'm afraid :
http://www.quirksmode.org/js/popup.html

posefius
05-30-2005, 12:35 PM
Thank you for explaining this problem. Quirksmode is a very interesting site.