Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 09-16-2008, 04:09 PM I need help! Please
Novice Talker

Posts: 7
Trades: 0
Hi! Anyone

Last edited by ky11a; 09-18-2008 at 12:59 PM..
ky11a is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-16-2008, 07:13 PM Re: I need help! Please
nyef's Avatar
Ultra Talker

Posts: 265
Name: Lucas
Trades: 0
You didn't give us the code for scripts2.js. You just pasted 2 copies of avalon2.htm.
__________________
~nyef

Please login or register to view this content. Registration is FREE
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 09-16-2008, 07:49 PM Re: I need help! Please
Novice Talker

Posts: 7
Trades: 0
Hi nyej,
I've amended and just post my scripts2.js. Please comment. Thanks.

Ken
ky11a is offline
Reply With Quote
View Public Profile
 
Old 09-17-2008, 02:17 PM Re: I need help! Please
nyef's Avatar
Ultra Talker

Posts: 265
Name: Lucas
Trades: 0
I'm not sure you can programmatically change the zIndex and get the browser to re-render which object is on top. Maybe there is a way but zIndex is finicky and I've always had problems with it.

If I were doing this, I would do it this way:

Have each element's style.display set to "none".
Then whichever element you want to show up on top, set that elements style.display to "inline", and the others to "none".

That way only one object is shown at a time and you don't have to worry about overlapping.
__________________
~nyef

Please login or register to view this content. Registration is FREE
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 09-18-2008, 02:46 PM Re: I need help! Please
Novice Talker

Posts: 7
Trades: 0
I just figure it out with 3 images stack because I used a wrong command, setTimeout. Now I use setInterval instead of setTimeout.
ky11a is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to I need help! Please
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20721 seconds with 12 queries