| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Mar 2006 Location: USA
Posts: 497
![]() ![]() | CSS Issue I have this script that is supposed to fade content in a div element in and out. content > fades away to blank > new content fades in This is the basic setup: Code: function displayMenu(currentMenu) {
setTimeout("fadeOut()",0);
setTimeout("fadStay()",1000);
setTimeout('ps_change(currentMenu)',1100);
setTimeout("fadeIn()",1200);
}; ????: NamePros.com http://www.namepros.com/programming/692339-css-issue.html This is ps_change(): Code: function ps_change (cMenu) {
var thisMenu = document.getElementById(cMenu).innerHTML;
document.getElementById('ps_area').innerHTML = thisMenu;
} |
| | |
| | #2 (permalink) |
| New Member Join Date: Jul 2010
Posts: 10
![]() | The vars need to be outside of the string, try this. Code: function displayMenu(currentMenu) {
setTimeout("fadeOut()",0);
setTimeout("fadStay()",1000);
setTimeout("ps_change(" + currentMenu + ")",1100);
setTimeout("fadeIn()",1200);
}; |
| | |
| | #6 (permalink) |
| First Time Poster! Join Date: Jan 2011
Posts: 1
![]() | Trying to get CSS-based websites to look the same across all browsers can often be difficult. Many of the problems however lie with Internet Explorer implementing CSS commands differently to other, more standards compliant browsers. ____________ SEO Search Engine Optimization |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS for dummies in 10 lines | gaucho1976 | Webmaster Tutorials | 14 | 09-04-2009 11:30 PM |
| CSS Navigation Menu IE Issue | Moondreamer | Web Design Discussion | 0 | 11-14-2008 03:47 PM |
| CSS - centering issue | Daniel Exe | Programming | 5 | 04-16-2006 08:36 PM |
| CSS Layout Issue In I.E. (figures) | XX7509 | Web Design Discussion | 3 | 03-25-2005 11:34 PM |