473,385 Members | 1,769 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,385 software developers and data experts.

Load html containing scripts

I have a question on the capability of Ajax. My question is: Is it
possible to dynamically load any of the javascript gallery programs
such as:

Adobe Spry Gallery
SmoothGallery
others

I know using ExtJS I can load html using Ajax. What I can't do is load
html containing scripts. I didn't want to use IFRAME. I've looked at
other JavaScript Frameworks but have not found one that works the way I
want. Does anyone know if this is possible? If so, how?

I mostly make websites for artists and photographers using Flash. I
was wanting to move away from Flash.

thanks,
charlie-imac

Sep 25 '07 #1
1 3580
charlie imac said the following on 9/25/2007 1:32 PM:
I have a question on the capability of Ajax. My question is: Is it
possible to dynamically load any of the javascript gallery programs such
as:

Adobe Spry Gallery
SmoothGallery
others
If they are JS, then you can load them dynamically. And, you can load
them whether they are simple external files or if they are embedded in
HTML. How you do it depends on what you are trying to load - whether it
is plain JS or JS/HTML mixed.
I know using ExtJS I can load html using Ajax. What I can't do is load
html containing scripts.
<URL:
http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/7fa64dffc0c5297e/7220a7bdce0d84e8?lnk=raot&fwc=2>

And it's associated loadHTMLFragment function is the simplest most
robust solution to your problem.

If you simply want to load a .js file, search the archives for
loadJSFile and my name, sort by date, and happy reading :)
Does anyone know if this is possible? If so, how?
See above.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 25 '07 #2

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

Similar topics

2
by: Mark Anderson | last post by:
Problem in short: user is moving (clicking a link) from my page before some JS code is run (to write a cookie). The code does not run (in Body's onLoad event) until the page loads as there are a...
4
by: Jake Lewis | last post by:
I have an HTML page that loads fine including the .js file <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script...
2
by: David Virgil Hobbs | last post by:
Loading text strings containing HTML code into an HTML parser in a Javascript/Jscript I would like to know, how one would go about loading a text string containing HTML code, so as to be able to...
7
by: petr pilsl | last post by:
sorry - no idea where to post my question, so I crossposted to a linux and a html-authoring-group. Both groups might be familiar with wget. wget -p http://www.goldfisch.at does not load the...
2
by: peter.drienovsky | last post by:
Hello, let me describe my problem: ENVIRONMENT: ..Net 2.0, MSVS 2005, c#, WinXP SYMPTOMS: If assembly 'AgentDesktop' IS NOT in the (loading) application folder,
5
by: Schraalhans Keukenmeester | last post by:
I want to build a very basic online text editor, to allow customers to modify their own sites' html content using a simple form with textarea element. I read the HTML file like so: <?PHP ...
4
by: S.Tedeschi | last post by:
Hi all guru, for sure I'm too old for a bunch of no-sleep-nights. M$' drivin' me nut. Switching my ASP.NET 1.1 apps to 2.0 has made me tryin' for several days with no success. -My IIS5.1 (Xp...
10
by: nicolai | last post by:
There are plenty of scripts that load html into a page based on the day of the week, month, or randomly, but I would like to load a different page every day of the year. I would like to give a...
4
hemantbasva
by: hemantbasva | last post by:
We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...

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.