BlameThePixel!

BTForum » Other Stuff » BlameTheHelp » Multiple Delay Times?

Page: [1] []
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
I'm trying to create multiple delay times with overlib. I want a long delay time for user names and a short delay time for map files. Only problem is, you can only set one delay time. So that means I must create some js to create a new delay time.

Readme told me to use setTimeout, but the overlibs appear if you leave ur mouse on the link for a milisecond or 5 seconds. Which is a horrible bug.

Anyone *cough cough* CB *cough cough* know some other js that could fix this?
03.11.04 22:16
Post #1
Last edited: 03.11.04 22:17 (C1 - 1 times) [Hide Sig (2)] [Profile] [Quote]
[S]Bloopy
Lazy, Busy, Fizzy, Crazy
Send PM
An Avatar
Posts: 2996
Threads: 145
WA Clan: WwA
Money: £764.65 (D)
(+ Friend)
Not online within the last half an hour
Ok here's my attempt to make a delayed overlib appear:

Link

Here's some code for it that delays 1000ms:
<script type=text/javascript><!--
function doOLib(stuff) {
return overlib(stuff, CAPTION, '', BORDER, '0');
}
//--></script>
<A HREF="viewprofile.php?name=/Bloopy" onmouseover="setTimeout('doOLib(\'WOOOT HELLO CHARLIE I THINK IT WORKS\')',1000)" onmouseout='return nd();'>Link</a>

you should be able to modify it if you wanna pass the caption as a parameter and such


________________
[QUOTE=Bloopy][QUOTE=thomasp]I suppose that's one "good" thing about my degree (aero engineering), there aren't too many terms/words/etc that have "alternative" meanings.[/QUOTE]What, like cockpits, turboshafts, thrust, nozzles, corkscrews, ram drag, payload, flaps, and wind tunnels?[/QUOTE]
04.11.04 02:28
Post #2
Last edited: 04.11.04 02:49 (Bloopy - 9 times) [Planet Bloopy] [Hide Sig (7)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
Nope, it's the same bug as the timeout thing readme gave. Try hovering over that link multiple times.

Link
Link
Link
Link

04.11.04 03:42
Post #3
Last edited: 04.11.04 08:12 (Bloopy - 1 times) [Hide Sig (2)] [Profile] [Quote]
[]Glenn
Forsetti
Send PM
Posts: 4241
Threads: 98
Mood: Godly
Money: £8.24 (D)
(+ Friend)
Not online within the last half an hour
Well, I hovered all five links about five times each, and they all took the same amount of time to appear (just a bit over 1 second).
04.11.04 05:17
Post #4
[Youtube] [Hide Sig (12)] [Profile] [Quote]
[S]Bloopy
Lazy, Busy, Fizzy, Crazy
Send PM
An Avatar
Posts: 2996
Threads: 145
WA Clan: WwA
Money: £764.65 (D)
(+ Friend)
Not online within the last half an hour
How can there be a bug if the function isn't called for a whole second C1? Here's one that takes 10 seconds:

Hold yer mouse here

It's working for the rest of us. I edited C1's post to remove the doOLib function because doOLib is already defined in my first post in this thread.


________________
[QUOTE=Bloopy][QUOTE=thomasp]I suppose that's one "good" thing about my degree (aero engineering), there aren't too many terms/words/etc that have "alternative" meanings.[/QUOTE]What, like cockpits, turboshafts, thrust, nozzles, corkscrews, ram drag, payload, flaps, and wind tunnels?[/QUOTE]
04.11.04 08:10
Post #5
Last edited: 04.11.04 08:14 (Bloopy - 2 times) [Planet Bloopy] [Hide Sig (7)] [Profile] [Quote]
[]Falkra
Holidays tomorrow, back here and on WN.
Send PM
An Avatar
Posts: 1181
Threads: 20
WA Clan: below
WWP Clan: lXl, Ac2N
Mood: lazy ^^
Money: £909.16 (D)
Inc. Tax: 10%
User Tax: -14%
Ttl. Tax: -4%
(+ Friend)
Not online within the last half an hour


Same as Glenn here, the 4 links (up) appear after one second delay, and Bloopy's last one takes 10 seconds.

________________

Artwork by the wishmaster.


04.11.04 08:54
Post #6
[My maps] [Hide Sig (4)] [Profile] [Quote]
[]Glenn
Forsetti
Send PM
Posts: 4241
Threads: 98
Mood: Godly
Money: £8.24 (D)
(+ Friend)
Not online within the last half an hour
Well, it's somewhat working on IE. It appeared after 10 seconds, but now it won't go away.

C1: Maybe you should listen slower, since he's somewhat proved it was possible :P.
04.11.04 15:01
Post #7
[Youtube] [Hide Sig (12)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour


Quoted :: Glenn

Well, it's somewhat working on IE. It appeared after 10 seconds, but now it won't go away.

C1: Maybe you should listen slower, since he's somewhat proved it was possible :P.


EXACTLY! That's the bug. It won't go away sometimes if you run over the link quickly a lot of times.
There needs to be a way to delete the overlib as soon as you lift your mouse off the link.
04.11.04 21:01
Post #8
Last edited: 04.11.04 21:02 (C1 - 1 times) [Hide Sig (2)] [Profile] [Quote]
[]HarrY
poo!
Send PM
Posts: 3124
Threads: 75
Mood: Headshooterising modd. (CSS)
Money: £2287.88 (D)
User Tax: 10%
(+ Friend)
Not online within the last half an hour
ahhh, i get this bug. But only if i try to get it ;)
and i don't allways get it when i do try.
I never get it when i don't try.

________________
04.11.04 21:10
Post #9
[Wormopoly!] [Hide Sig (13)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
The Skull got it when he didn't try to get it and same with me.
04.11.04 21:18
Post #10
[Hide Sig (2)] [Profile] [Quote]
[]HarrY
poo!
Send PM
Posts: 3124
Threads: 75
Mood: Headshooterising modd. (CSS)
Money: £2287.88 (D)
User Tax: 10%
(+ Friend)
Not online within the last half an hour
i noticed that if you quickly put your mouse over the link(when you have this bug) and then hover over a normal link, with no overlib, after 1second, you'll get the"wooot hello charlie i think it works"message....

________________
04.11.04 23:48
Post #11
[Wormopoly!] [Hide Sig (13)] [Profile] [Quote]
[]Glenn
Forsetti
Send PM
Posts: 4241
Threads: 98
Mood: Godly
Money: £8.24 (D)
(+ Friend)
Not online within the last half an hour
Yep, that seems to be what happens for me. But it still takes the another second of hovering over a different link for it to happen (which is the same delay in the overlib).
05.11.04 01:20
Post #12
[Youtube] [Hide Sig (12)] [Profile] [Quote]
[S]Bloopy
Lazy, Busy, Fizzy, Crazy
Send PM
An Avatar
Posts: 2996
Threads: 145
WA Clan: WwA
Money: £764.65 (D)
(+ Friend)
Not online within the last half an hour
C1 you should've said what bug you were talking about in the first place so I could fix it! :P Here's my attempt:

Link With 2 Sec Delay That Cancels If You MouseOut
Link With 2 Sec Delay That Cancels If You MouseOut

Ok I think that's working, here's the code:

<script type=text/javascript><!--
var olibool = true;
function doOLibDelay(stuff) {
olibool = true;
return overlib(stuff, CAPTION, '', BORDER, '0');
}
//--></script>

<A HREF="viewprofile.php?name=/Bloopy" onmouseover="if(olibool){olibtime = setTimeout('doOLibDelay(\'WOOOT HELLO CHARLIE I

THINK IT WORKS\')',2000);olibool = false}" onmouseout='if(!olibool){clearTimeout(olibtime);olibool = true}return nd();'>Link

With 2 Sec Dely That Cancels If You MouseOut</a>


________________
[QUOTE=Bloopy][QUOTE=thomasp]I suppose that's one "good" thing about my degree (aero engineering), there aren't too many terms/words/etc that have "alternative" meanings.[/QUOTE]What, like cockpits, turboshafts, thrust, nozzles, corkscrews, ram drag, payload, flaps, and wind tunnels?[/QUOTE]
05.11.04 03:39
Post #13
Last edited: 05.11.04 04:08 (Bloopy - 6 times) [Planet Bloopy] [Hide Sig (7)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
Thanks Bloopy! You're the greatest :D
05.11.04 06:24
Post #14
[Hide Sig (2)] [Profile] [Quote]
[]Khuzad
Great Donkey Master
Send PM
An Avatar
Posts: 971
Threads: 12
WA Clan: ABD
WWP Clan: ABD
Mood: Inactive
Money: £5.20 (D)
(+ Friend)
Not online within the last half an hour
Well it took him 6 edits... :)

________________
05.11.04 18:43
Post #15
[Hide Sig (8)] [Profile] [Quote]
Page: [1] []

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 0.291588 Seconds]

ShoutMeUp

Xmas Greetings from waka waka waka waka []Unvalidated EmailChristmasRiddle MERRY CHRISTMAS EVERYONE! []Spleet Except for Spleet. []TheAbdBoy Always bummin' a brother out. []Spleet Happy New Year everyone! But Spleet. []TheAbdBoy

Word Association

All

-10 Ago-

MiddleEastern []AlphaWolf camel [S]Bloopy toe []TheAbdBoy moose knuckle [S]Bloopy MeatLoaf []Spleet IdDoAnything4Lo ve []AlphaWolf rub n tug []TheAbdBoy tugboat []The Pope rope [S]Bloopy race []TheAbdBoy

-Latest-


Must be logged in to add new words

FictoLeague

You have to be logged in to vote...

Member Stats

Date: 19.05.24.
Members: 4731.
Latest: []Unvalidated Emailsdsakldsaldklasdsdsa
Active:
0 user(s)
1 guest(s)

On chat:
Lots of people

Files: 3330

Bloopy's Site
Get Firefox Get Opera Donate to BTP Via PayPal

Unmatched ULink2 by Name:
the wishmaster - the wishmaster