473,327 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

building javascript 'wrappers'?

OK, I am looking for advice or tips and suggestions. I have overcome
a lot of the obstructions I had to building the page design my
customer was asking for. I am looking now at ways to deliver content
dynamically within the wonderful framework I created. Whilest I look
into the various methods of delivering content within a container of
one form or another in the existing HTML, I am also exploring the
possibility of using some form of 'wrapper' for existing flat pages
sorta like how geocities does to user pages to add the yahoo pull-down
div layers and such.

While doing some testing, I notice that if I just add a javascript tag
in the beginning, I can't use the document.body.AppendChild option for
the div layers unless I call the function that builds said layers from
a <body onload="">. When I do it from the onload event, the existing
HTML layers can effect the placement of the div layers even when I
have the CSS position set to absolute.

Short of using some form of server side code to insert at least the
DIV content in prior to dropping the file on the user's browsers, I
was wondering if there were any other suggestions on how to do this
with a minimal amount of coding in the HTML document itself. One of
my hopes is to limit the 'modifications' to any standard HTML file to
one or two lines so that anyone else developing pages can do so
easily, and/or I can create reasonably foolproof server-side wrappers
to call the javascript code to paste on the 'look-and-feel' elements
on just about any web page.

I have a feeling I will probably go the server-side route anyway, but
I was just curious what other suggestions there might be out there.

KL
Jul 20 '05 #1
1 2928
This is precisely the type of thing that server side includes were
created for. Any sort of solution using JavaScript would be clunky by
comparison.

Bernie

kl*****@hotmail.com (Catherine Lynn Smith) wrote in message news:<5f**************************@posting.google. com>...
OK, I am looking for advice or tips and suggestions. I have overcome
a lot of the obstructions I had to building the page design my
customer was asking for. I am looking now at ways to deliver content
dynamically within the wonderful framework I created. Whilest I look
into the various methods of delivering content within a container of
one form or another in the existing HTML, I am also exploring the
possibility of using some form of 'wrapper' for existing flat pages
sorta like how geocities does to user pages to add the yahoo pull-down
div layers and such.

While doing some testing, I notice that if I just add a javascript tag
in the beginning, I can't use the document.body.AppendChild option for
the div layers unless I call the function that builds said layers from
a <body onload="">. When I do it from the onload event, the existing
HTML layers can effect the placement of the div layers even when I
have the CSS position set to absolute.

Short of using some form of server side code to insert at least the
DIV content in prior to dropping the file on the user's browsers, I
was wondering if there were any other suggestions on how to do this
with a minimal amount of coding in the HTML document itself. One of
my hopes is to limit the 'modifications' to any standard HTML file to
one or two lines so that anyone else developing pages can do so
easily, and/or I can create reasonably foolproof server-side wrappers
to call the javascript code to paste on the 'look-and-feel' elements
on just about any web page.

I have a feeling I will probably go the server-side route anyway, but
I was just curious what other suggestions there might be out there.

KL

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Rudin | last post by:
I'm having a problem with the python wrappers generated from a type library. The symptom is that I get failures to find connections points inside the wrappers when called from DispatchWithEvents...
18
by: Adrian B. | last post by:
Does anyone know of a framework or library that will enable me to use publish/subscribe comms? I want to create a server (using Python) running on a Unix box that will accept client connections...
5
by: Fred | last post by:
Hi, I'd like to turn a command-line script into a Windows GUI app using the native widgets so as to reduce the size of the binary (ie. no QT, wxWidgets, et al.) I came up with the following...
4
by: Steve Jorgensen | last post by:
A while ago, I posted a 1/2 formed idea for what was probably an overcomplicated scheme for improving how we create content using the DOM API. Since then, I've been refactoring some real-world code...
6
by: news | last post by:
I need some concise, easy to grok examples of what .Net (preferably C#.Net) has over just using old ASP or PHP with JavaScript. See, I'm a PHP guy, and while I started server-side scripting with...
1
by: TC | last post by:
Every time I open my project, I get a warning which says "There are updated custom wrappers available for the following referenced components: Office." When I double-click on the warning, I get...
20
by: Thorsten Kampe | last post by:
Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter...
11
by: v4vijayakumar | last post by:
Are there any simple javascript building blocks available? Like, Google web toolkit. But, I don't want to write code in java and then compiled into javascript. I am just looking for portable ajax/...
30
by: Jeff Bigham | last post by:
So, it appears that Javascript has a recursion limit of about 1000 levels on FF, maybe less/more on other browsers. Should such deep recursion then generally be avoided in Javascript?...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.