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

Beginner question: External JS to write text to layer?

Hello, Group,

I hope it's OK for me to ask this question here, since I'm a "dabbler", not
a "programmer".

What I'd like to do, if it's possible, is find a reference or
example/template that will show me how to create a "quote gallery" that
uses a mouseover/mouseout to show/hide text in a layer - the idea is that,
when the visitor mouses over a quote title, the appropriate text is called
from a separate file and shows in a reserved and pre-positioned layer. I
have it working using a show/hide layer function (the titles are image
files of decorative text - the page layout uses <DIV></DIV> and
<SPAN></SPAN> to set up "layers" such that a mouseOver of the image (title)
makes the appropriate text show up in a reserved space). The problem is
that all the text is in the HTML page itself, so the page is getting
incredibly *long*. I'd like to have the text reside in a separate file, so
that the page only has the HTML and JavaScript and the text of the quotes
is "pulled from" a separate file.

I don't know what the technical (i.e. short) name for this would be, so my
web searches have not been successful. I have books at home, but the
examples are either far to simplistic, or far too abstract, for me to
figure out how to apply them to my situation.

I'd also like this to be compatable, if possible, with IE4 and above.
((From the examples I've seen, Netscape etc. cross-compatability is a
nightmare beyond my skill level, so I'm admittedly doing the lazy thing and
going for compatability with IE 4 and above, since that encompasses
something like 98% of all my visitors.))

Thank you in advance :) !
(And I hope this made some sense!)

--
- Kris M. Krieger
Jul 23 '05 #1
2 1594
Look at this page:

http://www.howtocreate.co.uk/loadingExternalData.html

Robert

Jul 23 '05 #2
Kris Krieger wrote:
Hello, Group,

I hope it's OK for me to ask this question here, since I'm a "dabbler", not a "programmer".

What I'd like to do, if it's possible, is find a reference or
example/template that will show me how to create a "quote gallery" that uses a mouseover/mouseout to show/hide text in a layer - the idea is that, when the visitor mouses over a quote title, the appropriate text is called from a separate file and shows in a reserved and pre-positioned layer. I have it working using a show/hide layer function (the titles are image files of decorative text - the page layout uses <DIV></DIV> and
<SPAN></SPAN> to set up "layers" such that a mouseOver of the image (title) makes the appropriate text show up in a reserved space). The problem is that all the text is in the HTML page itself, so the page is getting
incredibly *long*. I'd like to have the text reside in a separate file, so that the page only has the HTML and JavaScript and the text of the quotes is "pulled from" a separate file.

I don't know what the technical (i.e. short) name for this would be, so my web searches have not been successful. I have books at home, but the examples are either far to simplistic, or far too abstract, for me to figure out how to apply them to my situation.

I'd also like this to be compatable, if possible, with IE4 and above. ((From the examples I've seen, Netscape etc. cross-compatability is a nightmare beyond my skill level, so I'm admittedly doing the lazy thing and going for compatability with IE 4 and above, since that encompasses
something like 98% of all my visitors.))

Thank you in advance :) !
(And I hope this made some sense!)

--
- Kris M. Krieger


Kris...analyze *this*.

http://www.dyn-web.com/

Jul 23 '05 #3

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

Similar topics

38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
7
by: .net lear | last post by:
if I have an object, say a recipe, which is added to a database, whose responsibility is it to add to the db? The recipe or something else? Let's say I want to delete a recipe? Does the recipe...
2
by: Paul | last post by:
Hi, I'm curious how others would deal with something I'm building. The app itself is a form of diary; it allows the organisation of diary entries and a number of other data types. Each diary...
2
by: OrdinarySpore | last post by:
Hi. I am having a problem with a simple IF statment on this Javascript. I found this script on scriptsource and want to see if I can add an IF statment to display a "congradulations" line of text...
11
by: RoB | last post by:
Hi all, I'm coming from the Informix world and I have a customer using DB2 8.2.3 for Linux on Red Hat Enterprise ES. The customer is performing filesystem backups of the containers etc every...
1
by: siresoth666 | last post by:
Greeting to everyone, I am a rookie at ASP and this may seem like a very simpleton question to most but I am clueless about it. I copied a code from a tutorial on to Flash its ASP but it does not...
7
by: Andy B | last post by:
I have a class I am creating for data access. I need to access controls from inside the class that are on a particular page. How do I do this? or is creating an instance of the page class and using...
13
by: Thomas Troeger | last post by:
Hi, Sorry I've posted a similar question some weeks ago, but I got no answers. I want to embed a Python application on a device with limited resources, esp. storage limitations. Is there a way...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...

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.