Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2007
    Posts
    92
    Thanks
    2
    Thanked 0 Times in 0 Posts

    (Easy enough) Please help join this two codes

    Please help me join this two codes, i cant get working code, I want to make the link hide from bar



    First code

    PHP Code:
    <a href="showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> 

    Second code

    PHP Code:
    onMouseOver="window.status=''; return true;" onMouseOut="window.status=''; 






    i had try like this, but this wrong, its not working

    PHP Code:
    <a href="showthread.php?t="+threads[x].threadid+"\ onMouseOver=\"window.status=\''; return true;" onMouseOut="window.status=\''; ">"+threads[x].title+"</a





    please share your knowledge guys

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    I think you need a primer on how to build a string in PHP. Try these links first:

    http://us2.php.net/manual/en/language.types.string.php

    http://us2.php.net/manual/en/ref.strings.php

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Also, no need to worry about changing the status bar, modern browsers do not support this!
    Last edited by abduraooft; 08-05-2008 at 09:07 AM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    - a variable in php must start with $, your code seems to be javascript
    - onMouseOut and onMouseOver must be lowercase
    - if you combine 'mistery navigation' with hiding url in status bar navigation on your site will be a pain. What's missing is to redefine the cursor to be same way all the time,
    - the simplest way to join this to will be:

    PHP Code:
    <a onmouseout="window.status=''; return true;\" onmouseover=\"window.status=''; return true;\" href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> 
    regards


  •  

    Posting Permissions

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