Jump to content

Javascript Window.resizeto - Redimensionare La Incarcarea Ferestrei


gaby

Recommended Posts

Daca aveti un link de forma:

<a href="http://pctroubleshooting.ro" target="_blank">PC Troubleshooting</a>
in mod normal cand apasati pe PC Troubleshooting ar trebui sa vi se deschida o fereastra noua in care sa fie afisat site-ul http://pctroubleshooting.ro. Ei bine, daca doriti ca pagina nou deschisa sa nu aibe dimensiunile normale ci sa specificati dumneavoastra dimensiunile, pe site-ul http://pctroubleshooting.ro intre etichetele <head></head> adaugati urmatorul script:
<script language="JavaScript" type="text/javascript">
window.resizeTo(800,600)
</script>[/code]

Acum, la actionarea link-ului scris anterior, pagina noua cu site-ul [color="#0000FF"]pctroubleshooting.ro[/color] se va deschide, dar va avea dimensiunile: [b][color="#FF8C00"]latime: 800px[/color] / [color="#8B0000"]inaltime: 600px[/color][/b]

Succes :pct2:

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.