Javascript help PLEASE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • magnatique
    Confirmed User
    • Jan 2001
    • 1830

    #1

    Javascript help PLEASE

    Hey guys... just need you geniuses' help a bit..

    I wanna have a floating picture to add to a design... but it only works in IE, so I don't want it to show in Netscape...

    so, I thought this could probably be done in Javascript...

    anybody would care to help me on this? I tried to modify an existing Javascript I had, but I am not too good with programing yet eheh

    here's the code I try to get to work...
    you'll probably understand the logic..

    Code:
    <SCRIPT language="JavaScript">
    
    function sweet() 
    {
     if (navigator.appName == 'Microsoft Internet Explorer')
        return (<img border="0" src="img/page/sweetcheer.jpg" style="position: absolute; left: 341; top: 305 width="320" height="41">);
     else 
        return false;
    }
    </script>
    [This message has been edited by magnatique (edited 09-24-2001).]

    Stunner Media Programs: StandAhead | IndieBucks | BoyCrushCash | Phoenixxx | EmoProfits | BritishBucks | HunkMoney | LatinoBucks
    Make $$$ with Gay! Lowest Minimum Payouts in the Business, Perfect Track Record, Amazing Sites
  • Amputate Your Head
    There can be only one
    • Aug 2001
    • 39075

    #2
    Go here and do a search for "floating logo"... it'll give you all the code necessary, including the Netscape exemption.
    SIG TOO BIG

    Comment

    • magnatique
      Confirmed User
      • Jan 2001
      • 1830

      #3
      thanks

      will probably be faster than trying to get this damn UBB board to show my code LOL

      Stunner Media Programs: StandAhead | IndieBucks | BoyCrushCash | Phoenixxx | EmoProfits | BritishBucks | HunkMoney | LatinoBucks
      Make $$$ with Gay! Lowest Minimum Payouts in the Business, Perfect Track Record, Amazing Sites

      Comment

      Working...