Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-05-2005, 06:21 PM
WebProWorld Member
 

Join Date: Mar 2005
Location: Paris
Posts: 67
kigoobe RepRank 0
Default JavaScript problem ... any help ???

I have tried recently to put two seperate javascripts in one page ... and seems that they are not compatible to each other ... any idea about that ???

One is about a fireworks effect and the other one is about tooltips.

Any idea guys ...
Thanks for the help.
Cheers.
Sourav
Reply With Quote
  #2 (permalink)  
Old 04-06-2005, 01:33 PM
mikmik's Avatar
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Edmonton, AB, Canada
Posts: 3,406
mikmik RepRank 1
Default

There is usually an event handler conflict when this happens, if I am not mistaken, and it is the 'onload' event that initialises the functions.
From the Fireworks Mouse
Quote:
<body OnLoad="initMouseEvents()">
anf tooltips - it is in the script tags, line 106:
Quote:
window.onload = initTip;
Take that out, and try
Quote:
<body OnLoad="initMouseEvents(); initTip()">
Here is an explanation from JavascriptKit.com
__________________
What I am is what I am, are you what you are, or what.
Eddie Brickel
Reply With Quote
  #3 (permalink)  
Old 04-07-2005, 06:33 PM
WebProWorld Member
 

Join Date: Mar 2005
Location: Paris
Posts: 67
kigoobe RepRank 0
Default

Thanks Mikmik

Thanks for your time ... I was wondering about another thing ... we need to preload images for almost all the pages, question is that, is there a way to know whether this code is functionning for a given page ???

Unlike other scripts what does something that we can visualise, this preloading seems to be a script that works from behind as in a fast internet connexion (what I have) it becomes difficult to see whether this script has resulted to some change.

If anybody knows any way to see whether this code is working or not, thanks fot the help.

Cheers.
Sourav.
Reply With Quote
  #4 (permalink)  
Old 04-09-2005, 11:04 PM
mikmik's Avatar
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Edmonton, AB, Canada
Posts: 3,406
mikmik RepRank 1
Default

Long time ago (1 year, lol) I had a script that would display a 'count' - either a bar, or a number like '1/5, 2/5...5/5' of images loading, then you had to press a 'proceed to page' button. There probably are some scripts like this around on 'hotscripts.com' and 'dynamic drive'.

That might tell you if the images are loading?

Maybe this will help? It will tell you how many images are in the final page and you may be able to determine if they all load by this count:
Web Page Analyzer
__________________
What I am is what I am, are you what you are, or what.
Eddie Brickel
Reply With Quote
  #5 (permalink)  
Old 04-10-2005, 05:45 AM
WebProWorld Member
 

Join Date: Mar 2005
Location: Paris
Posts: 67
kigoobe RepRank 0
Default

Thanks again Mikmik ... yes, ur suggestions r quite helpful.

Best regards ...
Reply With Quote
  #6 (permalink)  
Old 04-10-2005, 05:46 AM
WebProWorld Member
 

Join Date: Mar 2005
Location: Paris
Posts: 67
kigoobe RepRank 0
Default

Thanks Mikmik

Ur suggestions r really helpful.

Wish u a nice weekend.
Reply With Quote
  #7 (permalink)  
Old 04-18-2005, 09:30 AM
WebProWorld Member
 

Join Date: Mar 2005
Location: Paris
Posts: 67
kigoobe RepRank 0
Default

Hi Mikmik

I have just tried the page by changing the onLoad position as you told ... its working wonderfully ...

thanks once again.
Regards
Sourav.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

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

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


Search Engine Optimization by vBSEO 3.2.0