Results 1 to 2 of 2

Thread: Open a custom webpage!!

  1. #1
    Senior Member
    Join Date
    Apr 2003

    Open a custom webpage!!

    Hi there ppL!

    Here is my question:

    - I whanted to make a page open like a popup, but from the start, ex, i make page in Dreamweaver, then save it to a folder has test.htm for ex, and then, when i opened it she would oppen has i whant, like without scroll bars, navegation bar, at a x resolution etc.. like this one:


    click on the logon button and a custumized page oppens, i whant that but from the start, when you first click on the page.

    Can anyone help me out with a javascript or were can i find one?

    Thanx alot!

  2. #2
    Oh I know what you want. I have done this before, and you can make your page pop up via a JavaScript link. To impliment this, paste the following code in between the head tags of your site:

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Idea by:  Nic Wolfe (Nic@TimelapseProductions.com) -->
    <!-- Web URL:  http://fineline.xs.mw -->
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=100,height=100,left = 350,top = 250');");
    // End -->
    Or have it link from an external .js script.

    Then in the <body> tag insert

    <BODY onLoad="javascript:popUp('filename')">
    This code courtesy of Google. http://javascript.internet.com/gener...up-window.html

    Please be aware this may not work with browsers that have pop up blockers. Hope this helps, if it does not, please PM me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts