Re: [WSG] Problem with onclick and onClick
It's under the command menu, Command->Clean up HTML 2009/10/15 Nathanael Boehm > Geez, it's been a while since I've used Dreamweaver ... but I think I had > this problem once. Not sure if it was with DW or some other HTML editor but > there was some setting whereby the editor went through and "cleaned up" my > code upon save ... so it's not your server, it's your HTML editor thinking > it's helping you out. > > I'd have no idea where the setting is though ... sorry. > > Nathanael Boehm > Canberra, Australia > http://www.purecaffeine.com/about/ > 0409 288 464 > > > On Thu, Oct 15, 2009 at 4:48 AM, designer < > desig...@gwelanmor-internet.co.uk> wrote: > >> Can anyone help me with what is a basic question please? >> >> I have a library item (in Dreamweaver) which includes an onclick: >> >> . . . etc >> >> When the library item is inserted (into 37 pages) the format remains lower >> case and all pages validate, but when uploaded to the server the pages don't >> validate because they change to "onClick". How can I stop this? >> >> What's going on? Anyone come across this? >> >> Any help gratefully received. >> >> Bob >> >> *** >> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >> Help: memberh...@webstandardsgroup.org >> *** > > > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > *** -- --- Rae Buerckner E: rae.buerck...@gmail.com M: +61 404 675 028 W: http://www.raebuerckner.com ACT Adobe Products User Group Manager http://groups.adobe.com/groups/8980662cdb/summary *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Problem with onclick and onClick : SOLVED!
- Original Message - From: Nathanael Boehm To: wsg@webstandardsgroup.org Sent: Wednesday, October 14, 2009 11:46 PM Subject: Re: [WSG] Problem with onclick and onClick Geez, it's been a while since I've used Dreamweaver ... but I think I had this problem once. Not sure if it was with DW or some other HTML editor but there was some setting whereby the editor went through and "cleaned up" my code upon save ... so it's not your server, it's your HTML editor thinking it's helping you out. I'd have no idea where the setting is though ... sorry. Nathanael Boehm Canberra, Australia http://www.purecaffeine.com/about/ 0409 288 464 Thanks Nathan, I found it : (I'm using dreamweaver CS4) under the 'a' tag, there is a choice of format for 'onlick' and the default is 'mixed case'. I changed it to lower case and all is now well. What threw me was that all my code was correct - all in lower case - and it was only on upload that Dreamweaver changed the case! Thanks, Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Problem with onclick and onClick
Geez, it's been a while since I've used Dreamweaver ... but I think I had this problem once. Not sure if it was with DW or some other HTML editor but there was some setting whereby the editor went through and "cleaned up" my code upon save ... so it's not your server, it's your HTML editor thinking it's helping you out. I'd have no idea where the setting is though ... sorry. Nathanael Boehm Canberra, Australia http://www.purecaffeine.com/about/ 0409 288 464 On Thu, Oct 15, 2009 at 4:48 AM, designer wrote: > Can anyone help me with what is a basic question please? > > I have a library item (in Dreamweaver) which includes an onclick: > > . . . etc > > When the library item is inserted (into 37 pages) the format remains lower > case and all pages validate, but when uploaded to the server the pages don't > validate because they change to "onClick". How can I stop this? > > What's going on? Anyone come across this? > > Any help gratefully received. > > Bob > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Problem with onclick and onClick
Don't use onclick. Bind the events in your JavaScript. A library like jQuery makes this easy and browser independent. It's better code and solves your validation problems. On Thu, Oct 15, 2009 at 5:20 AM, designer wrote: > Precisely! > > - Original Message - From: "Anthony Gr." > To: > Sent: Wednesday, October 14, 2009 6:58 PM > Subject: Re: [WSG] Problem with onclick and onClick > > > > > How does "onclick" become to "onClick"? > > 2009/10/14 designer : > >> Can anyone help me with what is a basic question please? >> >> I have a library item (in Dreamweaver) which includes an onclick: >> >> . . . etc >> >> When the library item is inserted (into 37 pages) the format remains lower >> case and all pages validate, but when uploaded to the server the pages >> don't >> validate because they change to "onClick". How can I stop this? >> >> What's going on? Anyone come across this? >> >> Any help gratefully received. >> >> Bob >> *** >> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >> Help: memberh...@webstandardsgroup.org >> *** >> > > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > *** > > > > > > > > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > *** > > *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Problem with onclick and onClick
Precisely! - Original Message - From: "Anthony Gr." To: Sent: Wednesday, October 14, 2009 6:58 PM Subject: Re: [WSG] Problem with onclick and onClick How does "onclick" become to "onClick"? 2009/10/14 designer : Can anyone help me with what is a basic question please? I have a library item (in Dreamweaver) which includes an onclick: . . . etc When the library item is inserted (into 37 pages) the format remains lower case and all pages validate, but when uploaded to the server the pages don't validate because they change to "onClick". How can I stop this? What's going on? Anyone come across this? Any help gratefully received. Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Problem with onclick and onClick
How does "onclick" become to "onClick"? 2009/10/14 designer : > Can anyone help me with what is a basic question please? > > I have a library item (in Dreamweaver) which includes an onclick: > > . . . etc > > When the library item is inserted (into 37 pages) the format remains lower > case and all pages validate, but when uploaded to the server the pages don't > validate because they change to "onClick". How can I stop this? > > What's going on? Anyone come across this? > > Any help gratefully received. > > Bob > *** > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] Problem with onclick and onClick
Can anyone help me with what is a basic question please? I have a library item (in Dreamweaver) which includes an onclick: . . . etc When the library item is inserted (into 37 pages) the format remains lower case and all pages validate, but when uploaded to the server the pages don't validate because they change to "onClick". How can I stop this? What's going on? Anyone come across this? Any help gratefully received. Bob *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***