Solved

Interactive image

Posted on 2008-06-09
10
177 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
  • 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
 

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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I do a Select All on this page? 8 36
Issue in webpage 6 34
Enter key on html form page 11 46
Office 365 Pass Username an Password in URL 3 37
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Find out what you should include to make the best professional email signature for your organization.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now