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 08-25-2002, 12:52 PM   #1
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
mouseover status bar tricks

I Need some help with this. I have two mouseover codes that do not work together...


I use this code in my A HREF tag to create a blind mouseover status bar message:

onmouseover="window.status='http://www.whatever.com/'; return true" onmouseout="window.status=''; return true"

I also use this code in my BODY tag to globally set the status bar.

onmouseover="window.status='BLAH BLAH BLAH'; return true"

The bottom code overrules the top code, and I want the opposite of that. Any ideas?
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 01:45 PM   #2
XXXManager
So Fucking Banned
 
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
onmouseout="window.status=''; return true"
should be
onmouseout="window.status=''; return true;"
XXXManager is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 01:47 PM   #3
XXXManager
So Fucking Banned
 
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
But basically I dont get what you want...

onmouseover="window.status='http://www.whatever.com/'; return true;"
onmouseout="window.status=''; return true;"

this code makes sure http://www.whatever.com/ will show up every time you are "OVER" the item (whtever item it is) and whenever you leave this object it empties the status line.

What do you want to do?
XXXManager is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 02:05 PM   #4
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
What I want to do is have a constant status bar message that hides all my blind links, but for sponsors have the real url show up.

I can do the first thing by placing that mouseover code in the BODY tag, but as soon as I do that, the mousever code in the A HREF tag does not work.

See what I mean?
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 02:53 PM   #5
DX
Feed me coffee.
 
Industry Role:
Join Date: Sep 2001
Location: Massafuckingchusetts
Posts: 1,128
Stick this in your BODY.

ONLOAD="window.defaultStatus='YOUR MESSAGE'"
DX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 03:02 PM   #6
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
Sounds like someone needs to stop playing Jedi Power Battles and start studying web design.

TD Scripts
Script School
TD's Script School

Surf those and The Force will be stronger in you.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 03:15 PM   #7
XXXManager
So Fucking Banned
 
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
here is an example..
Enjoy

<HTML>
<BASEFONT FACE="Verdana">
<SCRIPT>
var OrigStatusBar = 'Im the constant status bar ;) Curtsey of XXXManager.com';
var CurrentStatusBar= OrigStatusBar;
</SCRIPT>
<BODY onmouseover="window.status=CurrentStatusBar; return(true);">
This is just a link<BR>
<A HREF="http://www.tgplay.com">link</A></BR>
<BR>
But this is a sponsor link<BR>
<A HREF="http://www.xxxmanager.com/" onmouseover="CurrentStatusBar='http://www.xxxmanager.com/';

window.status=CurrentStatusBar; return true;" onmouseout="CurrentStatusBar=OrigStatusBar; window.status=CurrentStatusBar;

return true;">Curtsey of your sponsor XXXManager.com</A>
</BODY>
</HTML>
XXXManager is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 03:47 PM   #8
XXXManager
So Fucking Banned
 
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
Thats it?
No replies? no remarks? No complaints? no THANKS?????
Damn
People nowadays are greatful
XXXManager is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2002, 07:49 PM   #9
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Sorry, my Internet is running at less than 2k/sec... When I can actually use the Internet I'll check your solution and reply... plus I've almost completed Jedi Knight 2... just one last boss to beat...
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 05:46 AM   #10
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Finally, my reply:


XXXManager,

"true" or "true;" did not seem to make a difference, but I put the semicolon anyway.


DX,

ONLOAD="window.defaultStatus='YOUR MESSAGE'" does not work for what I want to do. It places "YOUR MESSAGE" in the status bar AND it does not interfere with the mouseover on the sponsor links, however, it does not place "YOUR MESSAGE" when I mouseover a blind link on my site. I could use mouseover code on all my blind links, but there must be a better way that uses up less bandwidth than that.


XXXManager,

Your code works! Thanks!!!

For some reason it does not work if I take out the OrigStatusBar and CurrentStatusBar variables and set the status bar directly. Any idea why?
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 05:50 AM   #11
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Nevermind, I know why it did not work now.
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 05:53 AM   #12
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
So tell the rest of us!
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 07:49 AM   #13
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Quote:
Originally posted by chodadog
So tell the rest of us!
Haha, yeah I should!

In XXXManager's code, I forgot that he did this:

<BODY onmouseover="window.status=CurrentStatusBar; return(true);">

So the mouseover of the body of the web page calls the CurrentStatusBar variable. It has to be a variable because it HAS to change whenever a mouseover of a sponsor occurs. The reason for this is becuase the BODY mouseover overrides A HREF mouseovers. Therefore, you have to instruct the A HREF mouseover to change the BODY mouseover.

Makes sense? Let me know if I'm wrong.


Also, DX was right too. However I did not want to use his code becuase he code requires a mouseover over EVERY blind link where as XXXManager's code only requires mouseovers over sponsor links.


Hope that clears it up!
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 08:07 AM   #14
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
HQ - leave your ICQ please, i need to talk to you
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 08:56 AM   #15
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Quote:
Originally posted by DarkJedi
HQ - leave your ICQ please, i need to talk to you
Shit, my ICQ # is not showing up in my profile. Anyone else have that problem?

94968434
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-26-2002, 09:15 AM   #16
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Shit, let me re-post my explanation as I accidentally typed out HTML code which was not displayed:

------------------------------


Haha, yeah I should!

In XXXManager's code, I forgot that he did this:

BODY onmouseover="window.status=CurrentStatusBar; return(true);"

So the mouseover of the body of the web page calls the CurrentStatusBar variable. It has to be a variable because it HAS to change whenever a mouseover of a sponsor occurs. The reason for this is becuase the BODY mouseover overrides A HREF mouseovers. Therefore, you have to instruct the A HREF mouseover to change the BODY mouseover.

Makes sense? Let me know if I'm wrong.


Also, DX was right too. However I did not want to use his code becuase he code requires a mouseover over EVERY blind link where as XXXManager's code only requires mouseovers over sponsor links.


Hope that clears it up!
HQ 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.