Results 1 to 3 of 3

Thread: Link Colerr Changer

  1. #1
    Join Date
    Jul 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Link Colerr Changer

    Ok, im using a dark background for my webpage, and but I need white links, I was wondering if someone could make this code:

    PHP Code:
    <!-- 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=710,height=577,left = 257,top = 26.5');");
    }
    // End -->
    </SCRIPT>
    <!-- STEP TWO: Use the following link to open the new window -->
    <META content="MSHTML 6.00.2800.1555" name=GENERATOR>
    <P align=center><IMG src="http://www.freewebs.com/truehabbo2/HabboIslandsTitle.gif"></P>
    <P align=center>&nbsp;</P>
    <P>&nbsp;</P>
    <P>&nbsp;</P>
    <P align=center>[ <A href="javascript:popUp('http://www.freewebs.com/hibeta/hotel.html')">Enter</A>&nbsp;] </P> 
    Into White text,

    Thanks!

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Well, you can use css:
    <style type="text/css">
    body {
    background:#000;
    color:#FFF
    }
    a:link,a:active,a:visited {
    color:#FFF
    }
    </style>
    - Mike

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Code:
    var popups = [];
    function popUp(URL) {
      popups.push(window.open(URL, "popup" + popups.length, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=710,height=577,left = 257,top = 26.5'));
    }
    If you've used eval() or global variables, you're doing it wrong.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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