473,549 Members | 3,099 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript mouseover-event showing info in box on a diferent frame

Hi,
I'm a nerd in javascript, but, after trying and retrying I'm addressing
me to help.
I have a page with three frames, a top-, a left- and a right-frame. a
kind a title-frmae, a button-frame and an information-frame
(mainframe).
In te button-frame, I show thumbs (images) who refer to an album on the
net. This is working for the moment. So, clicking on a thumb, a
photocollection opens in the mainframe.
Question: Can I have an onmouseover-event on a thumb, so that a little
description of the album, the thumb is refering to, appears in a box in
the mainframe ? And, of course, disappears whit the onmouseout-event.
Of course, when clicking on that thumb, the collection must appear in
the mainframe.
It would be very nicefull, that when firing the event; the description
(text and or image or a html-filename) is send as a parameter.

Thx

Wim Vanmaele

Nov 23 '05 #1
6 3232
"wimvan" <va*******@hotm ail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hi,
I'm a nerd in javascript, but, after trying and retrying I'm addressing
me to help.
I have a page with three frames, a top-, a left- and a right-frame. a
kind a title-frmae, a button-frame and an information-frame
(mainframe).
In te button-frame, I show thumbs (images) who refer to an album on the
net. This is working for the moment. So, clicking on a thumb, a
photocollection opens in the mainframe.
Question: Can I have an onmouseover-event on a thumb, so that a little
description of the album, the thumb is refering to, appears in a box in
the mainframe ? And, of course, disappears whit the onmouseout-event.
Of course, when clicking on that thumb, the collection must appear in
the mainframe.
It would be very nicefull, that when firing the event; the description
(text and or image or a html-filename) is send as a parameter.

Thx

Wim Vanmaele


You don't need " onmouseover=" and " onmouseout=".

Just use "alt=" and, for Firefox, title="". For example,

<img src="http://www.google.com/intl/en/images/logo.gif"
border="0" width="276" height="110"
alt="Google" title="Google">
Pass the description to the frame as another parameter.

If it's not clear then show us your code and we'll comment.
Nov 23 '05 #2
McKirahan schreef:

You don't need " onmouseover=" and " onmouseout=".

Just use "alt=" and, for Firefox, title="". For example,

<img src="http://www.google.com/intl/en/images/logo.gif"
border="0" width="276" height="110"
alt="Google" title="Google">
Pass the description to the frame as another parameter.

If it's not clear then show us your code and we'll comment.


yes, I know that, but, it takes some seconds before firing and the
descriptions disapears after a while.
Secondly, with information, I mean real text, some phrases so that
several lines will be filled.
otherwhise, the info with Alt or title is showed in the frame with the
thumbs, and that is only 120 pixels wide. I rather like showing the
information into a box on the other frame where I have much more space
....

Nov 23 '05 #3
"wimvan" <va*******@hotm ail.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
McKirahan schreef:

You don't need " onmouseover=" and " onmouseout=".

Just use "alt=" and, for Firefox, title="". For example,

<img src="http://www.google.com/intl/en/images/logo.gif"
border="0" width="276" height="110"
alt="Google" title="Google">
Pass the description to the frame as another parameter.

If it's not clear then show us your code and we'll comment.


yes, I know that, but, it takes some seconds before firing and the
descriptions disapears after a while.
Secondly, with information, I mean real text, some phrases so that
several lines will be filled.
otherwhise, the info with Alt or title is showed in the frame with the
thumbs, and that is only 120 pixels wide. I rather like showing the
information into a box on the other frame where I have much more space
...


So you want a popup?

Popups may be blocked so they won't always work.

Or do you want to show/hide the text using CSS?
Nov 23 '05 #4

McKirahan schreef:
"wimvan" <va*******@hotm ail.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
McKirahan schreef:

You don't need " onmouseover=" and " onmouseout=".

Just use "alt=" and, for Firefox, title="". For example,

<img src="http://www.google.com/intl/en/images/logo.gif"
border="0" width="276" height="110"
alt="Google" title="Google">
Pass the description to the frame as another parameter.

If it's not clear then show us your code and we'll comment.


yes, I know that, but, it takes some seconds before firing and the
descriptions disapears after a while.
Secondly, with information, I mean real text, some phrases so that
several lines will be filled.
otherwhise, the info with Alt or title is showed in the frame with the
thumbs, and that is only 120 pixels wide. I rather like showing the
information into a box on the other frame where I have much more space
...


So you want a popup?

Popups may be blocked so they won't always work.

Or do you want to show/hide the text using CSS?


No, it is not really a popup. It is a box or an html you project in
the frame

Nov 23 '05 #5
"wimvan" <va*******@hotm ail.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...

[snip]
No, it is not really a popup. It is a box or an html you project in
the frame

Something like this:

<script type="text/javascript">
function hint(what) {
document.getEle mentById("Hint" ).innerHTML = what;
}
</script>

<img src="http://www.google.com/images/google_sm.gif"
border="0" width="143" height="59" alt="Google" title="Google"
onmouseover="hi nt('Google?')" onmouseout="hin t('')">
<br><br>
<span id="Hint"></span>
What technique are you using to display the image in the other frame?
Nov 23 '05 #6

McKirahan schreef:
"wimvan" <va*******@hotm ail.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...

[snip]
No, it is not really a popup. It is a box or an html you project in
the frame

Something like this:

<script type="text/javascript">
function hint(what) {
document.getEle mentById("Hint" ).innerHTML = what;
}
</script>

<img src="http://www.google.com/images/google_sm.gif"
border="0" width="143" height="59" alt="Google" title="Google"
onmouseover="hi nt('Google?')" onmouseout="hin t('')">
<br><br>
<span id="Hint"></span>
What technique are you using to display the image in the other frame?

*************** *************** ***********
Index.html
*************** *************** ***********
<html >
<!-- Created on: 2005.10.20 -->
<head>
<meta content="nature photography,nat uur fotografie, macro, macro
photography, macro fotografie, cacti, cactus, cactacea, Vanmaele, van
maele" name="keywords" >
<meta content="Nature , town and cactus, cacti photography site"
name="descripti on">
<title>Wim Vanmaeles websitehomepage </title>
</head>
<frameset rows="75,*">
<frame name="hoofding" src="pages/wimtitle.html" marginwidth="2"
marginheight="2 " scrolling="no" frameborder="no ">
<frameset frameborder="no " border="1" rows="*,90">
<frame name="mainframe " src="pages/wimintro.html" marginwidth="2"
marginheight="2 " frameborder="no ">
<frame name="menu" src="pages/noname.html" marginwidth="2"
marginheight="2 " frameborder="no ">
</frameset>
</frameset>
<noframes>
<body bgcolor="gray">
</body>
</noframes>
</html>

*************** *************** **
noname.html
*************** *************** **
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
<style type="text/css">

</style></head>

<body bgcolor="black" >
<table border="0" width="85%" cellpadding="10 " align="center">

<tr><td width="90%" align="center">
<a href="http://wimvanmaele.fot opic.net/c500572.html"
target="mainfra me"> <img border="0"
src="http://www.google.com/images/google_sm.gif" width="90%"></a>
</td ></tr>

<tr><td width="90%" align="center">
<a href="http://wimvanmaele.fot opic.net/c500586.html"
target="mainfra me"> <img border="0"
src="http://www.google.com/images/google_sm.gif" width="90%"></a>
</td ></tr>

</table>

</font>

</body>
</html>
*************** *************** ***

So, when hovering over the thumb, it would be nice when I could see
some information in a box in the mainframe.

a horrible, ugly version you may find on wim-vanmaele.be

In any way, thx for the little script, it is already for me very usefull

Nov 23 '05 #7

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

Similar topics

2
4662
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing File\Print Preview in IE6 and noticed that occasionally the leftmost button of the javascript menu (CoolMenus Version 3.02) on our website is printed. (I...
1
2962
by: atodd_109 | last post by:
I currently have a page that is running from a windows based server with frontpage extensions installed. My mouseover script works great. I am now in the process of developing another page that will run from a linux server that will not have the frontpage extensions installed. My question is, does the differnt platform matter with javascript....
3
2043
by: richk | last post by:
I'm very frusterated..Been trying to make mouseover buttons and cant get it to work...can someone but up some sample code to show how to do it, with a one button sameple and how to add additional please. or point me in the direction of a tutorial..I want to be able to make them for my site
3
1771
by: richk | last post by:
For some reason when I add additional buttons a 3rd button and beyond i cant get the effect to work and I get errors...I cant understand why... <SCRIPT LANGUAGE = "javascript"><!-- if (document.images) { // Active Images img1on = new Image(); img1on.src = "button1_on.jpg";
1
12381
by: Reginald Johnson | last post by:
I'm trying display a popup on the mouseover of a jpeg image. I'm thinking of trying to populate the popup with text obtained from the image metadata. However, I haven't been able to find any information on how to do this with javascript. Is there a way to access image metadata with javascript.
2
2812
by: sgMuser | last post by:
Hi, I am not a good developer of Javascript codes. Needs this help to make some modification to this famous free javascript from Anarchos. i am using this in one of my webpage. What it does is, rotates banners with hyperlink specific to each image. it works just perfect but i need a simple modification. now I want to stop rotating the images...
4
1761
by: Tassie | last post by:
I have put javascript menus on some of the navigation buttons on my website - they are supposed to load on mouseover. Before I uploaded the site, they appeared to work. On all of the navigation buttons I have js image swaps which also work on mouseover. My problem is that the image swaps are working and the menus are not. I have tried removing...
2
1156
by: OmniX | last post by:
Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for only one and was working fine but there are three. So I would like to make a javascript function that allows them to change color individually and not...
0
7520
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7956
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7809
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6041
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...
1
5368
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...
0
5088
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...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
763
bsmnconsultancy
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...

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.