Solved

Interactive image

Posted on 2008-06-09
10
181 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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

752 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