Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2004
    Location
    Soz Sierk, not tonight.
    Posts
    6,665
    Tokens
    0

    Latest Awards:

    Default ANYONE HELP ON THIS CODING?

    i want a code that:
    when you click an image a pop-up window comes up with 200x200

    AND

    i want the linked image NOT to have that annyoing blue/purple square around it.

    lozzo2

  2. #2
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Try this

    Insert this inbetween the <head> tags.

    <HEAD>


    <!-- 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,men ubar=0,resizable=0,width=200,height=200,left = 300,top = 200');");
    }
    // End -->
    </script>
    </head>

    and then for your link use:

    <A HREF="javascript:popUp('<!--PageURL-->')"><img src="IMG URL" border="0"></A>

    NOTE: Where the :p is use : p without space


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  3. #3
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    Its this:

    [HTML=This!] <HEAD>


    <!-- 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,men ubar=0,resizable=0,width=200,height=200,left = 300,top = 200');");
    }
    // End -->
    </script>
    </head> [/HTML]


    Link:

    [HTML=2] <A HREF="javascriptopUp('<!--PageURL-->')"><img src="IMG URL" border="0"></A> [/HTML]
    what is fetch gretchen?

  4. #4
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    Yep, both of them are RIGHT~

  5. #5
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    only difference is hers had a Popup and mine was popup


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  6. #6
    Join Date
    Dec 2004
    Location
    Soz Sierk, not tonight.
    Posts
    6,665
    Tokens
    0

    Latest Awards:

    Default

    there not working

    lozzo2

  7. #7
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    whats your sites URL?


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  8. #8
    Join Date
    Dec 2004
    Location
    Soz Sierk, not tonight.
    Posts
    6,665
    Tokens
    0

    Latest Awards:

    Default

    don't bother i deleted the code

  9. #9
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    Quote Originally Posted by Conflictuous
    Its this:

    [HTML=This!] <HEAD>


    <!-- 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,men ubar=0,resizable=0,width=200,height=200,left = 300,top = 200');");
    }
    // End -->
    </script>
    </head> [/HTML]


    Link:

    [HTML=2] <A HREF="javascriptopUp('<!--PageURL-->')"><img src="IMG URL" border="0"></A> [/HTML]

    <script type="text/javascript">
    <!-- 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,men ubar=0,resizable=0,width=200,height=200,left = 300,top = 200');");
    }
    // End -->
    </script>

    You forgot the <script type="text/javascript">

Posting Permissions

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