Solved

Interactive image

Posted on 2008-06-09
10
182 Views
Last Modified: 2013-12-24
Experts,

I need some help with vertical scrollers and images   Here's what I'd like to achieve:

- I'd like to place different images into a table
- when hovering over a particular image, I'd like another image (e.g. a "subfolder" image)  to pop up --see:   http://www.teamdev.com/quipukit/demo/popuplayer/PopupLayer.jsf
- however, instead of popping up the plain subfolder image, I'd really like to pop up a vertical scroller
- and, preferably, I'd like the subfolder image to be the background of the scroller.  

Or, in other words, can I place a vertical scroller onto an image?

Thanks,
Tom
0
Comment
Question by:ExpExchHelp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 9

Expert Comment

by:Rob Siklos
ID: 21745591
Yeah, you can just pop up a div, and make the image the background of the div (using css)
0
 

Author Comment

by:ExpExchHelp
ID: 21745727
Rob263:

thanks for the prompt reply... I'm afraid I'm not following you.   Could you pls provide an example?

EEH
0
 
LVL 9

Expert Comment

by:Rob Siklos
ID: 21745765
You will probably need to learn a bit of css and javascript (try www.w3schools.com)

Somewhere in your page, you can put a div like this:

<div style="display: none;"></div>

Then, when the user hovers over the image, you can dynamically set the contents of the div (the innerHtml property) using javascript.  Maybe you can put an iframe there and set the url to some predefined page.  There are a few ways to do it.
0
PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

 

Author Comment

by:ExpExchHelp
ID: 21746198
Yes, that sounds like good advice.  

Ok, I'm trying to "stitch" things together.

1. I have a nice "tooltip" example
2. I have a very nice "scroller" example

If you don't mind you could please provide me help as to how I could replace the tooltip's text with the scroller.

Scroller.zip includes the following:

Tooltip:
- example.htm (tooltip)
- alttxt.txt & alttxt.js

Scroller:
- endorsements.htm is the scroller container
- endorsementsProfessional-text is used to create scrolling text
- subfolder CSS_scripts includes the required files for scroller

Now, I've already merged the "endorsements.htm" into "example.htm"
- The scroller runs fine and the tooltip pops up ok when hovering over "In which browser..."

My question:  How do I replace the written text (tooltip) with the scroller (make 1 out of 2)?

Any recommendations?

Tom
0
 

Author Comment

by:ExpExchHelp
ID: 21746295
Oops... forgot to include the attachment.

I had to change the file extensions.   Pls change the following
- main.XLS to main.js (in subfolder)
- style.XLS to style.js (in subfolder)
- alttxt.XLS to alttxt.js
- endorsements.DOC to endorsements.htm
- endorsementsProfessional-text.DOC to endorsementsProfessional-text.htm
- example.DOC to example.htm
scroller.zip
0
 
LVL 9

Expert Comment

by:Rob Siklos
ID: 21746326
That's too much trouble man.  Can't you post it to a website somewhere?
0
 

Author Comment

by:ExpExchHelp
ID: 21746915
rob263:

No problem, rob263.   I've posted a zip file at the following URL
http://www.savefile.com/files/1599963

Again, here's my goal:
- open up example.htm
- I've already merged a working scroller (endorsements.htm) in the example.htm.
- example.htm also has some text "In which browser will this run? that throws a tooltip.

My goal is to replace the tooltip text with the scoller.   Is this doable?   I really appreciate your support on this!!!

Thanks,
Tom
0
 
LVL 9

Accepted Solution

by:
Rob Siklos earned 500 total points
ID: 21746955

<table align="center" width="500">
<tr> 
<td align="right" width="50%"><a href="javascript:void(0)" 
 
onmouseover="writetxt('<iframe id=\'datamain\' src=\'endorsementsProfessional-text.htm\' width=\'400px\' height=\'150px\' marginwidth=\'0\' marginheight=\'0\' hspace=\'0\' vspace=\'0\' frameborder=\'0\' scrolling=\'no\'></iframe>')" 
onmouseout="writetxt(0)">
In which browser<br>will this run?</a>
</td>
</tr>
</table>

Open in new window

0
 

Author Comment

by:ExpExchHelp
ID: 21747318
rob263:

TOTALLY TOTALLY COLL!!!!

Thousand thanks to your prompt and superb help.

Tom
0
 

Author Closing Comment

by:ExpExchHelp
ID: 31465500
110% solution!
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question