Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-24-2001, 03:46 PM   #1
magnatique
Confirmed User
 
magnatique's Avatar
 
Join Date: Jan 2001
Location: Montreal
Posts: 1,830
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).]
magnatique is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2001, 03:50 PM   #2
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
Go here and do a search for "floating logo"... it'll give you all the code necessary, including the Netscape exemption.
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2001, 03:52 PM   #3
magnatique
Confirmed User
 
magnatique's Avatar
 
Join Date: Jan 2001
Location: Montreal
Posts: 1,830
thanks

will probably be faster than trying to get this damn UBB board to show my code LOL
magnatique is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.