Hi. Anyone here use FrontPage? I've been thinking of using Frontpage to
take my web site, www.dennisallen.com, and go frameless. Since I have a
left framed frame.htm with lots of javascipt code, is this a good idea?
I could use FP insert/components/web page to add my frame.htm page to all
other pages. But frame.htm has lots of javascript functions in the header,
and needs onload= to start them. I suppose I could move my <script> code
into the <body>. What are the advantages/disadvantages of <head> script
code as opposed to <body> script code?
Side question. Many of my pages have external <script src="temp.js"> calls.
In fact, a couple of pages I have to create a <body onload="xload() "> in
which xload() checks to make sure all the temp.js functions are loaded
before proceeding. Now it seems to me that the FP insert/component/page
could bypass this need altogether, but insert/component/page only asks for
*.htm files. What, do I want to convert my *.js files to *.htm files,
wraping <html><body><sc ript></script></body></html> around them?
Any advice is appreciated...D ennis 9 1458
Dennis Allen wrote: Hi. Anyone here use FrontPage? I've been thinking of using Frontpage to take my web site, www.dennisallen.com, and go frameless. Since I have a left framed frame.htm with lots of javascipt code, is this a good idea?
No I don't use FP, never will. But yes, its always a good idea to go
frameless and lose the problems frames introduce.
I could use FP insert/components/web page to add my frame.htm page to all other pages. But frame.htm has lots of javascript functions in the header, and needs onload= to start them. I suppose I could move my <script> code into the <body>. What are the advantages/disadvantages of <head> script code as opposed to <body> script code?
Depends on your perspective. Where they need to be depends on the
script. It has been recommended here in this groups to put as much
script as you can at the end of the page, so that the beginning of the
page displays quicker. If you are calling a function, as the page loads,
then obviously that function has to be defined before you can call it,
thus it needs to be loaded prior to that.
Side question. Many of my pages have external <script src="temp.js"> calls. In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Wrap them only in <script type="text/javascript"></script> tags. The
rest are not needed and will cause your pages to be invalid HTML files
(not that I think FP can produce valid HTML to start with).
--
Randy
"Dennis Allen" <de****@dennisa llen.com> wrote in message
news:10******** *****@corp.supe rnews.com... Hi. Anyone here use FrontPage? I've been thinking of using Frontpage to take my web site, www.dennisallen.com, and go frameless. Since I have a left framed frame.htm with lots of javascipt code, is this a good idea?
I could use FP insert/components/web page to add my frame.htm page to all other pages. But frame.htm has lots of javascript functions in the
header, and needs onload= to start them. I suppose I could move my <script> code into the <body>. What are the advantages/disadvantages of <head> script code as opposed to <body> script code?
Side question. Many of my pages have external <script src="temp.js">
calls. In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Any advice is appreciated...D ennis
I dont know about FP, but is that insert/component/page not simply creating
an IFRAME (which is still a frame)? Have you looked at the HTML that comes
out?
Silvio Bierman
No, it's not a frame. Say I insert a header.htm component into every page
of my site. The <body> portion of header.htm is physically inserted into
every page. If you modify header.htm in FP, however, the changes will also
show up everywhere.
"Silvio Bierman" <sb******@idfix .nl> wrote in message
news:40******** *************@n ews.xs4all.nl.. . "Dennis Allen" <de****@dennisa llen.com> wrote in message news:10******** *****@corp.supe rnews.com... Hi. Anyone here use FrontPage? I've been thinking of using Frontpage
to take my web site, www.dennisallen.com, and go frameless. Since I have a left framed frame.htm with lots of javascipt code, is this a good idea?
I could use FP insert/components/web page to add my frame.htm page to
all other pages. But frame.htm has lots of javascript functions in the header, and needs onload= to start them. I suppose I could move my <script>
code into the <body>. What are the advantages/disadvantages of <head> script code as opposed to <body> script code?
Side question. Many of my pages have external <script src="temp.js"> calls. In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks
for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Any advice is appreciated...D ennis
I dont know about FP, but is that insert/component/page not simply
creating an IFRAME (which is still a frame)? Have you looked at the HTML that comes out?
Silvio Bierman
"Randy Webb" <hi************ @aol.com> wrote in message
news:Hd******** ************@co mcast.com... Dennis Allen wrote:
I could use FP insert/components/web page to add my frame.htm page to
all other pages. But frame.htm has lots of javascript functions in the
header, and needs onload= to start them. I suppose I could move my <script>
code into the <body>. What are the advantages/disadvantages of <head> script code as opposed to <body> script code? Depends on your perspective. Where they need to be depends on the script. It has been recommended here in this groups to put as much script as you can at the end of the page, so that the beginning of the page displays quicker. If you are calling a function, as the page loads, then obviously that function has to be defined before you can call it, thus it needs to be loaded prior to that.
Well, the functions I have wouldn't start until launched with a <body
onload>. The problem is that onload doesn't doesn't wait for all external
js files to load. Side question. Many of my pages have external <script src="temp.js">
calls. In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks
for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Wrap them only in <script type="text/javascript"></script> tags. The rest are not needed and will cause your pages to be invalid HTML files (not that I think FP can produce valid HTML to start with).
Well, I want to get away from external js files. I have seen a <body
onload="xload() "> execute before a js file had a chance to load. Maybe that
new FP2003 dynamic web template feature can help...Dennis
Dennis Allen wrote:
<--snip--> In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Wrap them only in <script type="text/javascript"></script> tags. The rest are not needed and will cause your pages to be invalid HTML files (not that I think FP can produce valid HTML to start with).
Well, I want to get away from external js files. I have seen a <body onload="xload() "> execute before a js file had a chance to load. Maybe that new FP2003 dynamic web template feature can help...Dennis
Don't call it as a .js file, take each of your .js files and add the
opening script tag at the beginning, the closing script tag at the end,
so that they look like this:
<script type="text/javascript">
//contents of .js file here
</script>
Save it with an .htm extension.
Then have FP include it. When it does that, it becomes part of the html
document sent to the browser:
some page stuff here
<script.....>
</script>
more page stuff here.
The easiest way to see this is to test it by making the template,
include the .htm file, then view what the browser gets.
--
Randy
"Dennis Allen" <de****@dennisa llen.com> wrote in message
news:10******** *****@corp.supe rnews.com... No, it's not a frame. Say I insert a header.htm component into every page of my site. The <body> portion of header.htm is physically inserted into every page. If you modify header.htm in FP, however, the changes will
also show up everywhere.
"Silvio Bierman" <sb******@idfix .nl> wrote in message news:40******** *************@n ews.xs4all.nl.. . "Dennis Allen" <de****@dennisa llen.com> wrote in message news:10******** *****@corp.supe rnews.com... Hi. Anyone here use FrontPage? I've been thinking of using Frontpage to take my web site, www.dennisallen.com, and go frameless. Since I have
a left framed frame.htm with lots of javascipt code, is this a good
idea? I could use FP insert/components/web page to add my frame.htm page to all other pages. But frame.htm has lots of javascript functions in the header, and needs onload= to start them. I suppose I could move my <script> code into the <body>. What are the advantages/disadvantages of <head>
script code as opposed to <body> script code?
Side question. Many of my pages have external <script src="temp.js"> calls. In fact, a couple of pages I have to create a <body onload="xload() ">
in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP
insert/component/page could bypass this need altogether, but insert/component/page only asks for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Any advice is appreciated...D ennis
I dont know about FP, but is that insert/component/page not simply
creating an IFRAME (which is still a frame)? Have you looked at the HTML that
comes out?
Silvio Bierman
OK, got it. Strange way of dealing with HTML. It will lead to such messy
issues you are confronted with. A complete HTML page can not be inserted
transparently inside another HTML page. Simple HTML fragments could but
these would then be designed with embedding in various pages in mind.
Silvio Bierman
On Fri, 16 Jan 2004 16:00:02 -0500, Dennis Allen <de****@dennisa llen.com>
wrote: Hi. Anyone here use FrontPage?
Not personally. It's much easier to write valid code with a basic text
editor than it is FrontPage.
I've been thinking of using Frontpage to take my web site, www.dennisallen.com, and go frameless. Since I have a left framed frame.htm with lots of javascipt code, is this a good idea?
It depends how you intend to replace it. You could probably migrate to a
CSS-based menu system where it provides the positioning in place of the
frame. The W3C uses such a system, however they don't use JavaScript with
it.
I could use FP insert/components/web page to add my frame.htm page to all other pages. But frame.htm has lots of javascript functions in the header, and needs onload= to start them. I suppose I could move my <script> code into the <body>. What are the advantages/disadvantages of <head> script code as opposed to <body> script code?
My impression[1] is that scripts placed in the head of the document are
loaded and parsed before the body is rendered. That would guarantee the
availability of the script to the rest of the document. However, there is
no mention in the HTML specification of how scheduling should be
implemented. I wouldn't know where to look in the RFCs for relevant
information (a simple search returned either too many (Google), or no
results (RFC archives)).
Side question. Many of my pages have external <script src="temp.js"> calls. In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
If 'my impression' above is correct, then there is no need. Just place the
SCRIPT elements in the head of the document. If it isn't, select the code
and paste it into SCRIPT elements.
As a matter of principle, please remove the "Valid HTML 4.01" logo from
your site. You have not met the requirements, so you don't have the cause,
or the right, to claim otherwise.
Mike
[1] Read: I haven't tested it, nor read that it is true. It is a casual
observation.
--
Michael Winter M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)
Thanks. I'll try it...Dennis
"Randy Webb" <hi************ @aol.com> wrote in message
news:14******** ************@co mcast.com... Dennis Allen wrote:
<--snip-->
In fact, a couple of pages I have to create a <body onload="xload() ">
inwhich xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP
insert/component/pagecould bypass this need altogether, but insert/component/page only asks
for
*.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
Wrap them only in <script type="text/javascript"></script> tags. The rest are not needed and will cause your pages to be invalid HTML files (not that I think FP can produce valid HTML to start with).
Well, I want to get away from external js files. I have seen a <body onload="xload() "> execute before a js file had a chance to load. Maybe
that new FP2003 dynamic web template feature can help...Dennis
Don't call it as a .js file, take each of your .js files and add the opening script tag at the beginning, the closing script tag at the end, so that they look like this:
<script type="text/javascript"> //contents of .js file here </script>
Save it with an .htm extension.
Then have FP include it. When it does that, it becomes part of the html document sent to the browser:
some page stuff here <script.....> </script> more page stuff here.
The easiest way to see this is to test it by making the template, include the .htm file, then view what the browser gets.
-- Randy
You're right. The site is no longer html 4.01 valid. I'll remove the logo
and get the site revalidated asap...Dennis
"Michael Winter" <M.******@bluey onder.co.invali d> wrote in message
news:op******** ******@news-text.blueyonder .co.uk... On Fri, 16 Jan 2004 16:00:02 -0500, Dennis Allen <de****@dennisa llen.com> wrote:
Hi. Anyone here use FrontPage?
Not personally. It's much easier to write valid code with a basic text editor than it is FrontPage.
I've been thinking of using Frontpage to take my web site, www.dennisallen.com, and go frameless. Since I have a left framed frame.htm with lots of javascipt code, is this a good idea?
It depends how you intend to replace it. You could probably migrate to a CSS-based menu system where it provides the positioning in place of the frame. The W3C uses such a system, however they don't use JavaScript with it.
I could use FP insert/components/web page to add my frame.htm page to all other pages. But frame.htm has lots of javascript functions in the header, and needs onload= to start them. I suppose I could move my <script> code into the <body>. What are the advantages/disadvantages of <head> script code as opposed to <body> script code?
My impression[1] is that scripts placed in the head of the document are loaded and parsed before the body is rendered. That would guarantee the availability of the script to the rest of the document. However, there is no mention in the HTML specification of how scheduling should be implemented. I wouldn't know where to look in the RFCs for relevant information (a simple search returned either too many (Google), or no results (RFC archives)).
Side question. Many of my pages have external <script src="temp.js"> calls. In fact, a couple of pages I have to create a <body onload="xload() "> in which xload() checks to make sure all the temp.js functions are loaded before proceeding. Now it seems to me that the FP insert/component/page could bypass this need altogether, but insert/component/page only asks for *.htm files. What, do I want to convert my *.js files to *.htm files, wraping <html><body><sc ript></script></body></html> around them?
If 'my impression' above is correct, then there is no need. Just place the SCRIPT elements in the head of the document. If it isn't, select the code and paste it into SCRIPT elements.
As a matter of principle, please remove the "Valid HTML 4.01" logo from your site. You have not met the requirements, so you don't have the cause, or the right, to claim otherwise.
Mike
[1] Read: I haven't tested it, nor read that it is true. It is a casual observation.
-- Michael Winter M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bruce A. Julseth |
last post by:
I am doing my PHP development in MS FrontPage. At on time, when in Frontpage
and I would double click on a page in my development folder, FrontPage would
open it. Now when I double click, Notepad opens it. I have check my
extension settings and my setting is that FrontPage should open an file
ending in .PHP. Now what I have do is right click the file name, and use
"Open With...." to open it in FrontPage.
Somewhere, Somehow, I must have...
|
by: Sam White |
last post by:
I have set up a MySQL db on one server, IIS 6.0 on another. Using
Frontpage I created some forms to input data. On a test page I made, I
have 4 fields. First is the ID which is autonumber (I leave alone). The
second is marked as TEXT, the third is MEDIUMTEXT, and the fourth is
DATE. This is just an example though, the problem exists in no matter
what manner I create the form.
Now here is the issue. In the TEXT fields nothing is saved...
|
by: C T |
last post by:
My work is about to have me use Frontpage 2002 to build and maintain an
intranet web site.
I'm trying to draw a comparison between the two, but I'm having trouble
finding info about .NET.
Would it be reasonable to demand I get use .NET studio?
Thanks,
Craig
|
by: Jim Heavey |
last post by:
I have a friend that does all of their web page development in FrontPage
and she has asked me to create some asp.net pages for here with some db
functionality. I know nothing of Frontpage ans she knows little about
ASP.Net.
My question is that if she designs the "appearance" of the web page in
front page, can I just suck that page into asp.net and then add all of my
controls and the code behind page? I know that the framework requires...
|
by: Johnny |
last post by:
Hi,
I have created an ASP.NET application (let's call it FooBar) with VS.NET on
my local machine, residing in http://localhost/FooBar. Deploying it to
another folder on my machine works well with FrontPage Server Extensions,
but I don't manage to deploy the application to my web provider http root
folder.
When I run Copy Project, I get an error message just saying 'Unable to
create Web project 'myname'. Not found.'.
| |
by: LynchburgRecord |
last post by:
The Code Snippet (from VB Net in Visual Studio Net 2003) below does the following
(1) Create a Front Page (2002) Application Objec
(2) Open a We
(3) Close the We
(4) Execute Front Page Application Object "quit" method
Proble
------
|
by: Gerry Hickman |
last post by:
Hi,
We are currently running VS.NET clients against a Windows 2000 server
which has Frontpage server extensions; this means we can have teams of
developers interacting on web applications from remote locations over
HTTP without firewall issues.
However, Frontpage extensions have now been discontinued and replaced by
Windows Sharepoint Services (WSS) on Windows Server 2003. This means
that if we want to be able to work "live" or...
|
by: sundarachaitanyam |
last post by:
hi,
I am just wondering how to create a modal popup using javascript. The
popup window shouldnt contain minimize,close and maximize buttons and
it should be resizable? I am trying using window.open but not getting
the desirable results.
Any help is greatly appreciated.
|
by: andrew.arobert |
last post by:
Good afternoon,
We have numerous web sites which are currently being manually
published via Front Page.
Doing one or two sites on an ad-hoc basis was not too bad but we are
now over 20 or thirty at set times during a business day.
What I would love to do is find a way of automating this task, ideally
by the command line, and called from a central automated task
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |