This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Web Server - Ask For Help / Re: XHTML Tags Automatically Closed
« on: December 18, 2008, 01:41:15 PM »
Hi Bruce,
In my WebServer procedure I have the NetTalk extension configured to use '<!-- Net:PageHeaderTag -->' as the "Generic Page Header Tag" and '<!-- Net:PageFooterTag -->' as the "Generic Page Footer Tag".
My PageHeaderTag procedure's NetTalk Web Border Extension then has the following XHTML in it:
Besides the Web Border Extension, there is only a Web Menu Extension and WinEvent Alert Windows Messages extension included in the PageHeaderTag.
The contents of PageHeader.html:
(Please note, I have tried both including a file and putting it directly into the XHTML text area in the extension, however I am using the include because it is easier to maintain.)
My PageFooterTag procedure's NetTalk Web Border Extension then has the following XHTML in it:
The contents of PageFooter.html:
Finally, when I Make and Run my application and access it using Firefox or Internet Explorer, the output looks like this (The </div> that shouldn't be there in just above the <!-- NetTalk Web Menu Extension --> comment):
If you need some more specific informationm, let me know.
In my WebServer procedure I have the NetTalk extension configured to use '<!-- Net:PageHeaderTag -->' as the "Generic Page Header Tag" and '<!-- Net:PageFooterTag -->' as the "Generic Page Footer Tag".
My PageHeaderTag procedure's NetTalk Web Border Extension then has the following XHTML in it:
Code: [Select]
<!-- Net:f:custom/template/PageHeader.html -->
Besides the Web Border Extension, there is only a Web Menu Extension and WinEvent Alert Windows Messages extension included in the PageHeaderTag.
The contents of PageHeader.html:
Code: [Select]
<div class="wrap">
<div id="header">
<div id="logo-graphic">
<h1><!-- SNIP --></h2>
</div>
</div>
<div id="mbar">
<div id="navmenu"><!-- SNIP --></div>
</div>
<div class="clear"> </div>
(Please note, I have tried both including a file and putting it directly into the XHTML text area in the extension, however I am using the include because it is easier to maintain.)
My PageFooterTag procedure's NetTalk Web Border Extension then has the following XHTML in it:
Code: [Select]
<!-- Net:f:custom/template/PageFooter.html -->
The contents of PageFooter.html:
Code: [Select]
<div id="footer">
<div class="ftr-right"> </div>
<div class="ftr-left"> </div>
<p><!-- SNIP --></p>
</div>
</div>
Finally, when I Make and Run my application and access it using Firefox or Internet Explorer, the output looks like this (The </div> that shouldn't be there in just above the <!-- NetTalk Web Menu Extension --> comment):
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<!-- SNIP -->
</head>
<body class="PageBody" onload="javascript:bodyOnLoad();" >
<div id="oPageHeaderTag2" class="">
<div class="wrap">
<div id="header">
<div id="logo-graphic">
<h1<!-- SNIP --></h1>
</div>
</div>
<div id="mbar">
<div id="navmenu"><!-- SNIP --></div>
</div>
<div class="clear"> </div>
</div>
<!-- NetTalk Web Menu Extension -->
<!-- Other Rendered Content -->
<div id="oPageFooterTag2" class="headingouter">
<div id="footer">
<div class="ftr-right"> </div>
<div class="ftr-left"> </div>
<p><!-- SNIP --></p>
</div>
</div>
</div>
<script>bodyOnLoad();</script>
</body>
</html>
If you need some more specific informationm, let me know.
2
Web Server - Ask For Help / XHTML Tags Automatically Closed
« on: December 17, 2008, 09:04:26 PM »
Hi All,
I am trying to apply our site's default style to a NetTalk application and have run into a hurdle. I am including a "header" and a "footer" file in the PageHeaderTag and PageFooterTag's respective Web Borders (please let me know if there is a more elegant way to do this).
The problem I have though is that I want to span a DIV element across the form content, but it is always being closed before presentation.
For example:
Header file:
<div id="wrapper">
<div id="header">
<!-- Header Content -->
</div>
Footer file:
<div id="footer">
<!-- Footer Content -->
</div>
</div>
Final output:
<div id="wrapper">
<div id="header">
<!-- Header Content -->
</div>
</div>
<div id="footer">
<!-- Footer Content -->
</div>
</div>
Any help would be greatly appreciated.
- Adam
I am trying to apply our site's default style to a NetTalk application and have run into a hurdle. I am including a "header" and a "footer" file in the PageHeaderTag and PageFooterTag's respective Web Borders (please let me know if there is a more elegant way to do this).
The problem I have though is that I want to span a DIV element across the form content, but it is always being closed before presentation.
For example:
Header file:
<div id="wrapper">
<div id="header">
<!-- Header Content -->
</div>
Footer file:
<div id="footer">
<!-- Footer Content -->
</div>
</div>
Final output:
<div id="wrapper">
<div id="header">
<!-- Header Content -->
</div>
</div>
<div id="footer">
<!-- Footer Content -->
</div>
</div>
Any help would be greatly appreciated.
- Adam
Pages: [1]