User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 423,579 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,410 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

sifr and javascript

Join Date: Jun 2006
Posts: 27
Reputation: jetru is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
jetru jetru is offline Offline
Light Poster

sifr and javascript

  #1  
May 2nd, 2008
I'm using sIFR (http://www.mikeindustries.com/blog/sifr/) in a website along with some javascript. The javascript makes the sizes of the two divs equal. And the javascript is run on window.onload. The problem is the sIFR seems to get rendered AFTER the scripts specified by window.onload. This means that the divs are made equal first by my script, and then the sIFR makes the text! So now the divs are not equal! The other solution was to run the script onclick, onfocus, onscroll, etc etc. But they're are all not very intuitive! What do i do?
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 7:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC