dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Pop up

  1. #1
    Join Date
    Apr 2003
    Location
    USA, North Carolina
    Posts
    13

    Pop up

    Can someone help me w/ the pop up script?

  2. #2
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    You have to give more information for us to help. Tell us your problem and the line(s) of code that are/is causing it.

  3. #3
    Join Date
    Apr 2003
    Location
    USA, North Carolina
    Posts
    13
    ok, so there's this script ~


    <script language="javascript">
    //<!--
    function popup()
    { window.open ("YourURLgoesHere.html","popup","width=400,height=400,location=0,menubar=0,resizable=0,scrollbars=0, status=0,titlebar=1,toolbar=0") }
    -->
    </script>


    & that goes in the <head> part of the page that you want to pop up, right? now which parts do you change in that to make your page come up?


    Then there's this part ~


    <a href="javascript: popup()"><img src="image URL here" border=0 width="415" height="280" alt="Enter"></a>

    that's the image link to the pop up. which parts do i change in that one?

  4. #4
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    window.open("yourURLgoeshere.html") is the file you want to open. Change that to the location of your file to open the page.

  5. #5
    Join Date
    Apr 2003
    Location
    USA, North Carolina
    Posts
    13
    yeah, i had that part. the not-so-obvious ones are the ones i'm having problems w/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles