473,595 Members | 2,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic Include Page? Change what's included as mouse moves?

Howdy,

I want to set up an Include page in a cell of a table. Then I want to be able to change which page
is included on the fly as the user moves the mouse of the various links on the page. How can I do
this?

THe include page was set up via FrontPage so it put it's Bot stuff in there, but if someone could
tell me the "standard" way to use an include page and if there's a way using onMouseover etc to then
change that and refresh it on the fly, that'd be great.

Thanks.
Jul 20 '05 #1
7 3174
Lee
Mr B said:

Howdy,

I want to set up an Include page in a cell of a table. Then I want to be able
to change which page
is included on the fly as the user moves the mouse of the various links on the
page.


Things that happen as a mouse moves over an area should generally be limited
to things that can happen *very* quickly, so that it can be done before the
mouse moves on to some other spot.
Loading new content over the Internet doesn't qualify as something that can
happen *very* quickly.

Jul 20 '05 #2
Yeah but loading in 3 lines of text doesn't take more than a split second or so.

On 22 Sep 2003 13:45:10 -0700, Lee <RE************ **@cox.net> wrote:
Mr B said:

Howdy,

I want to set up an Include page in a cell of a table. Then I want to be able
to change which page
is included on the fly as the user moves the mouse of the various links on the
page.


Things that happen as a mouse moves over an area should generally be limited
to things that can happen *very* quickly, so that it can be done before the
mouse moves on to some other spot.
Loading new content over the Internet doesn't qualify as something that can
happen *very* quickly.


Jul 20 '05 #3
Ivo

"Mr B" <la*****@hahaha .com> wrote in message
news:gn******** *************** *********@4ax.c om...
Yeah but loading in 3 lines of text doesn't take more than a split second

or so.

Yes, it does. I have closed my dail-up connection after the initial load.

On top of that, I can get quite impatient when the connection dialog
re-appears without me expecting it.
And even with a connection alive, the request for an empty file takes some
time. It is much better to load 100x three lines once, than 100 times load
three lines.
Please don't do too fancy things onmouseover. It will not make you many
friends.
Ivo
Jul 20 '05 #4
But there are ways to make the data all load up right away and jsut display whichever you want
depending on where the mouse is. I don't know if you do it with Layers or CSS stuff or what but I
know it's possible because there are lots of sites that use it. I just don't know the best way to
accomplish it.

On Mon, 22 Sep 2003 23:35:09 +0200, "Ivo" <no@thank.you > wrote:

"Mr B" <la*****@hahaha .com> wrote in message
news:gn******* *************** **********@4ax. com...
Yeah but loading in 3 lines of text doesn't take more than a split second

or so.

Yes, it does. I have closed my dail-up connection after the initial load.

On top of that, I can get quite impatient when the connection dialog
re-appears without me expecting it.
And even with a connection alive, the request for an empty file takes some
time. It is much better to load 100x three lines once, than 100 times load
three lines.
Please don't do too fancy things onmouseover. It will not make you many
friends.
Ivo


Jul 20 '05 #5
Lee
Mr B said:

Yeah but loading in 3 lines of text doesn't take more than a split second or so.


Longer than you seem to realize, and the exact amount of time depends on
too many conditions that you can't control.

If it's only three lines of text, load all of the data into an array,
instead of hitting the server again for each one.

Jul 20 '05 #6
Ivo
"Mr B" <la*****@hahaha .com> wrote in message
news:ma******** *************** *********@4ax.c om...
On Mon, 22 Sep 2003 23:35:09 +0200, "Ivo" <no@thank.you > wrote:
"Mr B" <la*****@hahaha .com> wrote in message
news:gn******* *************** **********@4ax. com...
Yeah but loading in 3 lines of text doesn't take more than a split
secondor so.

Yes, it does. I have closed my dail-up connection after the initial load.

On top of that, I can get quite impatient when the connection dialog
re-appears without me expecting it.
And even with a connection alive, the request for an empty file takes sometime. It is much better to load 100x three lines once, than 100 times loadthree lines.
Please don't do too fancy things onmouseover. It will not make you many
friends.
Ivo
But there are ways to make the data all load up right away and jsut

display whichever you want depending on where the mouse is. I don't know if you do it with Layers or CSS stuff or what but I know it's possible because there are lots of sites that use it. I just don't know the best way to accomplish it.

Ah, that I did not know. It is usually done with some function which changes
the "innerHTML" or "innerText" of (a section of) the page. Javascript can
also change style to make it (in)visible. Layers are history. For examples,
from the most basic to as complex as you want it, have a look at
www.dynamicdrive.com and click on "dynamic content". And as with any
research, don't shy away from Google.
Ivo
Jul 20 '05 #7
Well, for anyone else folowing this thread.... Here's what I did to solve the problem. the
dropmsg0 Div below is the default. The rest are what replaces it when the mouse is in certain
places.

Here's the code from the Header Section:

<style type="text/css">
..dropcontent{
width: 300px;
height: 140px;
background-color: #FFFFFF;
display:block;
}
</style>
<script type="text/javascript">
function expandone(which )
{
var inc=0
while (document.getEl ementById("drop msg"+inc))
{
document.getEle mentById("dropm sg"+inc).style. display="none"
inc++
}
document.getEle mentById("dropm sg"+which).styl e.display="bloc k"
}

Then in the area where I wanted to modify the information shown, I created a bunch of DIV sections
such as:

<div id="dropmsg0" class="dropcont ent">
formatted info here
</div>

<div id="dropmsg1" class="dropcont ent">
formatted info here
</div>

<div id="dropmsg2" class="dropcont ent">
formatted info here
</div>

<div id="dropmsg3" class="dropcont ent">
formatted info here
</div>
Then on whatever you want to do the onMouseOver stuff on, just put in a line such as:
<a href="link.html " onMouseOver="ex pandone('1')" onMouseOut="exp andone('0')">
Was really easy once I figured out what I was doing since I had never used Divs before.



On Tue, 23 Sep 2003 01:35:45 +0200, "Ivo" <no@thank.you > wrote:
"Mr B" <la*****@hahaha .com> wrote in message
news:ma******* *************** **********@4ax. com...
On Mon, 22 Sep 2003 23:35:09 +0200, "Ivo" <no@thank.you > wrote:
>"Mr B" <la*****@hahaha .com> wrote in message
>news:gn******* *************** **********@4ax. com...
>> Yeah but loading in 3 lines of text doesn't take more than a splitsecond >or so.
>
>Yes, it does. I have closed my dail-up connection after the initial load.
>
>On top of that, I can get quite impatient when the connection dialog
>re-appears without me expecting it.
>And even with a connection alive, the request for an empty file takessome >time. It is much better to load 100x three lines once, than 100 timesload >three lines.
>Please don't do too fancy things onmouseover. It will not make you many
>friends.
>Ivo
>

But there are ways to make the data all load up right away and jsut

display whichever you want
depending on where the mouse is. I don't know if you do it with Layers or

CSS stuff or what but I
know it's possible because there are lots of sites that use it. I just

don't know the best way to
accomplish it.

Ah, that I did not know. It is usually done with some function which changes
the "innerHTML" or "innerText" of (a section of) the page. Javascript can
also change style to make it (in)visible. Layers are history. For examples,
from the most basic to as complex as you want it, have a look at
www.dynamicdrive.com and click on "dynamic content". And as with any
research, don't shy away from Google.
Ivo


Jul 20 '05 #8

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

Similar topics

0
1506
by: zorro | last post by:
Thanks all for your suggestions. I'm definitely scrapping my method for now. I liked the following idea most but I'll probably go with the db method because it's probably easiest to manage. ;) ........ <?php $_SESSION = array('Products', 'Electronics', 'Computers', 'Laptops', 'Accessories', 'Mouse');
6
10810
by: Carlos García-Carazo | last post by:
Hello, I am working on a C# application for an industrial machine, using Windows Forms, where the user could look at the screen from a 90 degree rotated position, like he could turn the monitor to leave it standing on its left (or right) side. There are many ways to show a "turned" interface in this case, but the problem is that when he moves the mouse right, in a turned screen the mouse cursor goes down (or up), when he moves it up...
3
4868
by: Steve Long | last post by:
I hope this isn't too stupid of a question but I'm looking for a way to change an item in a listview control when the mouse moves over it. I'd like to change its color and underline it for a probable internet link. Is there a way to do that? I've looked through the help and can't find anything that, well, helps. Perhaps I'm using the wrong control. Any help would be appreciated. Thanks Steve
5
2019
by: garyusenet | last post by:
I understand that Point is an object used for storing co-ordinates, such as mouse location. I can't figure out what the e's do in the above example can someone explain please. Thanks, Gary.
1
1751
by: James Bates | last post by:
Hope someone can help me out with something - I'm a HTML/CSS developer who know's a little PHP, which I use to make smaller sites semi-dynamic, I want to expand on what i'm currently doing but need some help. I currently use PHP to create a single included .php file that contains the navigation, that knows via a variable hard-coded in the XHTML page, what section that page is from and them marks the navigation <li> with a class the...
1
1798
by: Gap | last post by:
Hello all, I want to create a page with an image and when the cursor is moving over the image (e.g. over text on the image the text is highlighted or changes color or something similar. So that the user can see what he would pick (= what link he would follow when he picks that text/item I am not sure if this explanantion is understandable. Maybe like a map of the world and if you move the mouse over a country e.g. france the name of...
2
3348
by: thetechturf.com | last post by:
I have some simple dynamic content pages (included below). I need to know how to add specific meta tags (ie. description, keywords, ect.), as well as extra specific header coding to a page. I would like to have these on the Links page. Is this possible? and how? ------------------------------------------------------------------------------------------------------------------------------ index.php --------------- <?php // Assign the...
9
2939
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I got the core of the javascript from here: http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm I noticed in the demo that sometimes the content takes a long
21
7680
by: karen987 | last post by:
I have a news website, with asp pages. It has publishing software which allows you to add articles in a database, and then calls them up from links etc. I have added dynamic meta tags in 2 parts. The first part is in the inc.header.asp file which is called up on every page. The page itself has the meta tag variable, ie. title, description. They work fine on all pages, except the one below i'm having problems with. Ironically it's the most...
0
8261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8019
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,...
0
6674
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, 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...
1
5839
isladogs
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...
0
5418
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();...
0
3873
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...
0
3911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2391
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1490
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.