/    Sign up×
Community /Pin to ProfileBookmark

Help me!!! How can i change a page attributes?

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 [b]window.open[/b] 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:

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

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!

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Ice3TMar 31.2003 — I forget if I can answer if I'm not shure.. oh well what the hell.

It cannot be done.
Copy linkTweet thisAlerts:
@nashauthorApr 01.2003 — Is there a way to do it thru another coding method then?

Or a way to bypass the problem?:p
×

Success!

Help @nash spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...