Javascript Errors In Macromedia

admin

Administrator
Staff member
All in all, I think Macromedia Dreamweaver is great for helping me debug code and design sites.<br /><br />I know that most of you are aware that Dreamweaver writes weird (read: bad) code for javascript. It turns out that for a simple rollover, Dreamweaver wrote twice as much code as it took and did a very poor job of it. <br /><br />I was very surprised when a client called me up and said that the site was giving them errors... I thought they were talking about the extensive PHP code in the site.<br /><br />It took a lot of time to figure out that their browser was configured to pop up a warning when bad javascript was sent to the computer. They thought the site was broken. <br /><br />Anyhow, I make a practice of avoiding javascript at all costs but this one time I decided to use it. Lesson learned: don't use macromedia to write your javascript (or php for that matter)<!--content-->
Good point Jack, I must admit I have learnt to remove the Dreamweaver default javascript and replace it with my own, much more efficient - and works <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Andy<!--content-->
I don't suppose you could beam me to some Javascript planet and infuse me quickly with all the knowledge I would need in order to write my own Javascript code...could you??????? And while you're at it, could you find a planet for PHP as well????? woooot <br /><br />feeling homicidal while looking at javascript code...<br />Tracy Yuck!<!--content-->
Tracy<br /><br />Beaming all of both planets is probably a bit much in one go <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><br /><br />but from the earlier PHP stuuf you were doing, it was going really well <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />If you have a particular job that you want javascript for, then why not put a request for a hand on the forum here, I'm sure the family will help out <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Andy<!--content-->
In this particular instance, I did a Google for javascript rollover and found many places where you could generate code for these things on the fly. But now that I have code that works, I'll just copy and paste as needed.<br /><br />And I second Andy's thoughts.<!--content-->
 
Back
Top