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
How to make js code loading delay in firefox
Old 09-26-2009, 01:17 PM How to make js code loading delay in firefox
Junior Talker

Posts: 4
Name: andy
Trades: 0
I use code like this:
code on the top of the html page:
<SPAN id=L4EVER>LOADING...</SPAN>
insert code on the footer of the page:
<SPAN class=spanclass id=AD_L4EVER>
your js code here</SPAN>
<script>L4EVER.innerHTML=AD_L4EVER.innerHTML;AD_L4 EVER.innerHTML="";</script>

It can work in IE6.0,but cannot work in firefox3.0.2.
Who can tell me How to make js code loading delay in firefox?
cambrain is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-26-2009, 02:58 PM Re: How to make js code loading delay in firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Because IE will run all kinds of badly designed code, whereas Firefox needs the correct syntax.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-26-2009, 10:33 PM Re: How to make js code loading delay in firefox
Junior Talker

Posts: 4
Name: andy
Trades: 0
I want to know how to deal with this problem.Thank you.
cambrain is offline
Reply With Quote
View Public Profile
 
Old 09-27-2009, 04:48 AM Re: How to make js code loading delay in firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
What exactly are you trying to accomplish? We can probably guess of course, but having first hand knowledge is much better.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-27-2009, 08:23 AM Re: How to make js code loading delay in firefox
Junior Talker

Posts: 4
Name: andy
Trades: 0
How to make js code loading delay in firefox ,Is there anyone can give me some help?
cambrain is offline
Reply With Quote
View Public Profile
 
Old 09-27-2009, 12:36 PM Re: How to make js code loading delay in firefox
Junior Talker

Posts: 4
Name: andy
Trades: 0
It is ok to do like this.
<script>document.getElementById("L4EVER").innerHTM L=document.getElementById("AD_L4EVER").innerHTML;d ocument.getElementById("AD_L4EVER").innerHTML="";</script>
cambrain is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to make js code loading delay in firefox
 

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.51128 seconds with 12 queries