Click to See Complete Forum and Search --> : Help me!!! How can i change a page attributes?


nash
03-31-2003, 05:01 PM
Helo, first, I must warn you that I'm really a newbie at programming.

Now, I'm trying to find a simple way to have a 'pop-up' like window which is not really one... Let me explain:

I would like to code inside a page the attributes for that page (no scrollbar, no tolbar, no statusbar, etc...).

I don't want to put the attributes on the 'origin page' using window.open because this way if people bookmark that small pop-up it won't have the attributes when they will come back to it without using the link on the main page...

Hope this is clear!

I've already found how to make my page be of the required size and at the wanted location... What causes the trouble is the code for scrollbars (etc)...Here's the code I used for controling size and location:

<SCRIPT language=JavaScript>
<!--
if (top.location != location) top.location.href = location.href;
self.moveTo(100,100);
self.resizeTo(300,400);
// -->
</SCRIPT>

Is there a way to add the other features i want in there?
Is there another (simple) way to do it?

I've been on ths for 3 days now, I'm going crazy! please help me!

Ice3T
03-31-2003, 05:36 PM
I forget if I can answer if I'm not shure.. oh well what the hell.
It cannot be done.

nash
03-31-2003, 06:35 PM
Is there a way to do it thru another coding method then?

Or a way to bypass the problem?:p