GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Javascript help PLEASE (https://gfy.com/showthread.php?t=39367)

magnatique 09-24-2001 03:46 PM

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 http://bbs.gofuckyourself.net/board/smile.gif

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).]

Amputate Your Head 09-24-2001 03:50 PM

Go here and do a search for "floating logo"... it'll give you all the code necessary, including the Netscape exemption. http://bbs.gofuckyourself.net/board/wink.gif

magnatique 09-24-2001 03:52 PM

thanks http://bbs.gofuckyourself.net/board/smile.gif

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


All times are GMT -7. The time now is 08:11 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123