Solved

Interactive image

Posted on 2008-06-09
10
176 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
Comment Utility
Yeah, you can just pop up a div, and make the image the background of the div (using css)
0
 

Author Comment

by:ExpExchHelp
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 9

Expert Comment

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

Author Comment

by:ExpExchHelp
Comment Utility
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
Comment Utility

<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
Comment Utility
rob263:

TOTALLY TOTALLY COLL!!!!

Thousand thanks to your prompt and superb help.

Tom
0
 

Author Closing Comment

by:ExpExchHelp
Comment Utility
110% solution!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

743 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

15 Experts available now in Live!

Get 1:1 Help Now