![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
preferences 'none' in DTD section |
|
but DW8 adds then XML header. |
|
Titles are replaced to 'untitled document' instead copy it from templates of new documents. |
|
Hi, I have created default templates for new documents but DW8 forces document titles and DTD headers (for HTML, PHP, ASP etc documents). I set up in preferences 'none' in DTD section but DW8 adds then XML header. Titles are replaced to 'untitled document' instead copy it from templates of new documents. How to solve these problems? Thanks for help, Marek |
#3
| |||
| |||
|
#4
| ||||
| ||||
|
|
For example I couldn't dynamicaly change position of layers. |
|
Generally JS can't be reliable becouse depends on user browser |
|
Removing DTD section is good example such a "work around": |
|
Hi, DTD definition forces changes in DOM model. Some properties of HTML elements disappeared after adding DTD. For example I couldn't dynamicaly change position of layers. That was the problem which I faced directly. Generally JS can't be reliable becouse depends on user browser and it is not a compilable language. That's obvious fact. On the other hand it's hard to say to customers that layer animations are impossible when he saw them somewhere in the web. Conclusion is that designers must be flexible and sometimes instead solving problems just work around them. Removing DTD section is good example such a "work around": Regards, Marek |
#5
| |||
| |||
|
|
I would never do that. As Micha said, by having to revert to bugwards mode (i.e., removing the doctype) to make your dHTML work, you are demonstrating that the dHTML itself is broken. |
|
With regard to the title question, I simply cannot imagine doing what you are describing. The title is one of the most important parts of the page, and you would force every page to have the same title? |
|
Well, anyhow, sorry - I can't help you with this.... |
#6
| ||||
| ||||
|
|
DTD definition forces changes in DOM model. Some properties of HTML elements disappeared after adding DTD. |
|
For example I couldn't dynamicaly change position of layers. |
|
That was the problem which I faced directly. Generally JS can't be reliable becouse depends on user browser and it is not a compilable language. |
|
That's obvious fact. On the other hand it's hard to say to customers that layer animations are impossible when he saw them somewhere in the web. Conclusion is that designers must be flexible and sometimes instead solving problems just work around them. Removing DTD section is good example such a "work around": |
#7
| |||
| |||
|
|
Compilable or not doesn't matter (BTW: even scripting languages can be compiled, see PHP for example). |
#8
| |||
| |||
|
|
On 01 Nov 2005 in macromedia.dreamweaver, Michael Fesser wrote: Compilable or not doesn't matter (BTW: even scripting languages can be compiled, see PHP for example). Do you have a reference for compiling PHP scripts? I did a web search (including at php.net), but all I could find was stuff on compiling PHP itself. |
#9
| |||
| |||
|
|
PHP code is compiled to bytecode before the Zend engine executes it. snip |
#10
| |||
| |||
|
|
Again, this is a problem with your javascript coding - by accessing the DOM properly, you would be able to do this on a page rendered in standards mode. |
|
Pardon me, but this is nonsense. |
|
Removing DTD section is good example such a "work around": No, it's not. |
![]() |
| Thread Tools | |
| Display Modes | |
| |