473,796 Members | 2,578 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Interactive Map Onclick .png Question, Please

Bob
Hello,

I was hoping someone could help me with what I think should be a
relatively easy code question, but I can't seem to find what I'm looking
for.

I put together a screen shot of what I'm looking for at this link:

http://www.slocountywineries.com/test_map.jpg

I created that graphic in Photoshop, and I'm looking for the code that
will make it do that on the web site.

I already have the imagemap created where a visitor can click on a
winery location on the main map and a small window opens with the text
and graphics.

Here's how the map is currently set up, at this link:
http://www.slocountywineries.com/south.html (Click on the "Talley" logo
to see what I'm talking about)

But, instead of that little window opening, I want to change it so that
a cool, transparent .png file opens, with the winery's info, and it
opens at a pre-set location on the screen, just like I have it in that
screen shot above.

The .png file will also have to be an imagemap, with its own code, so
people can click on the "View Web Site" link on the image and it would
open a new window and take them to the winery's web site, along with
other links.

I hope that's clear, or even possible.

Any help, suggestions and/or copy and pastable code, would be very much
appreciated.

I'm not a js guru, by any means, but I can kind of look at the code, and
copy and paste my way around.

Much thanks in advance.
Nov 28 '07 #1
3 1996
Bob said the following on 11/27/2007 10:45 PM:

<snip>
But, instead of that little window opening, I want to change it so that
a cool, transparent .png file opens, with the winery's info, and it
opens at a pre-set location on the screen, just like I have it in that
screen shot above.
Use an absolutely positioned DIV element where you want it to open, then
make it hidden and show it when you want. The "Close" button would do
nothing more than change the visibility of the DIV element.

The fact that the image in the DIV element would be an imagemap is
irrelevant to making it show up and hiding it.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 28 '07 #2
On Nov 28, 3:45 am, Bob <b...@nospample ase.comwrote:
Hello,

I was hoping someone could help me with what I think should be a
relatively easy code question, but I can't seem to find what I'm looking
for.

I put together a screen shot of what I'm looking for at this link:

http://www.slocountywineries.com/test_map.jpg

I created that graphic in Photoshop, and I'm looking for the code that
will make it do that on the web site.

I already have the imagemap created where a visitor can click on a
winery location on the main map and a small window opens with the text
and graphics.

Here's how the map is currently set up, at this link:http://www.slocountywineries.com/south.html(Click on the "Talley" logo
to see what I'm talking about)
Clicking on that url prompted me to install some spyware :-s
The easiest way for you to go is use something like iBox or LightBox,
instead of doing something from scratch.

Try the iBox demo here : http://http://www.ibegin.com/ibox/ibox-test.html

iBox : http://www.ibegin.com/blog/p_ibox.html
LightBox : http://www.huddletogether.com/projects/lightbox/
>
But, instead of that little window opening, I want to change it so that
a cool, transparent .png file opens, with the winery's info, and it
opens at a pre-set location on the screen, just like I have it in that
screen shot above.

The .png file will also have to be an imagemap, with its own code, so
people can click on the "View Web Site" link on the image and it would
open a new window and take them to the winery's web site, along with
other links.

I hope that's clear, or even possible.

Any help, suggestions and/or copy and pastable code, would be very much
appreciated.

I'm not a js guru, by any means, but I can kind of look at the code, and
copy and paste my way around.

Much thanks in advance.
--
Kailash Nadh | http://kailashnadh.name
Nov 28 '07 #3
Kailash Nadh said the following on 11/28/2007 11:18 AM:
On Nov 28, 3:45 am, Bob <b...@nospample ase.comwrote:
<snip>
>Here's how the map is currently set up, at this link:
http://www.slocountywineries.com/south.html(Click on the "Talley" logo
to see what I'm talking about)

Clicking on that url prompted me to install some spyware :-s
You should endeavor to learn what spy-ware is before posting that crap here.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 29 '07 #4

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

Similar topics

8
3690
by: Shock | last post by:
Hello everyone, I am having a problem with the program below. I have isolated the problem to the onclick event that is located throughout arrQuestions. The onclick event refers to a function and passes it two parameters. For the life of me I cannot figure out what the error is, but one occurs everytime I click a &%*$&# radio button. Also, the function only alerts the user immediately as to what question/answer they clicked. I am...
2
7338
by: siggy2 | last post by:
Hi All, (sorry for my bad english) I wrote a __tiny__ and __stupid__ recursive script directly into pythonwin interactive window with a time.sleep(1) and a print before each recursion... I should have taken a closer look at the ending condition (never satisfied!), anyway I was quite confident that a control-C would have stopped the intepreter as it is (incidentally?) when this break sequence is entered
3
3271
by: Jamie Jackson | last post by:
I'm rewriting all links' onclick events, but I'm having a problem. The onclick event that I'm inserting works correctly in Opera, but not in FF or IE. I'm retroactively adding the statement "return promptBeforeOpening();" FF and IE rewrite it as I would expect them to, but it turns out that that doesn't work (no disclaimer pops up, and the link is not disabled):
1
329
by: Nick Palmer | last post by:
As the title suggests, I've got a question about running an ASP.NET app on a server that has no interactive desktop login. In all our testing of our app here,the server always had an interactive desktop login since we were watching things on it, etc. Well I went to test it the way I would assume our customers are going to run it, that is with no interactive desktop login, and I get my initial page, but then I can't doing anything else. Our...
2
2013
by: WJ | last post by:
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a listener in my site to capture a "STATUS_CD" returned by www.payMe.com. It is working fine. 3. "WebForm3.aspx" is interactive page, responsibe to display the STATUS CODE "POSTED" by "WebForm2.aspx". 4. My goal is to use "WebForm2.aspx" to call...
13
3360
by: dmh2000 | last post by:
I am experimenting with the interactive interpreter environments of Python and Ruby and I ran into what seems to be a fundamental difference. However I may be doing something wrong in Python. Please comment and correct me if I am wrong In both languages, you can start up the interactive interpreter ('python' and 'irb'), load source files and do stuff, like create objects and call their methods. When you want to change something, you can...
0
1134
by: Berend van Berkum | last post by:
Hi all, I'm looking at building an interactive session in front of some rdfobj instances. I've used cmd and just found code.Interactive*. Protocol doesn't matter, I'm looking at the UI possibilities. History is nice to have and my intention is to write output of the session to stdin/stderr. However, my question, can I change the "prompt" string in respond
1
4086
by: sourcie | last post by:
I am changing an existing quiz found on "JavaScriptKit.com Multiple Choice Quiz" I have an image. Instead of using the radio buttons with the normal true/false question, I want to place two hotspots on the image. One being correct(a) and the other incorrect(b). When the user clicks on the correct hotspot or place on the image, it should score and retain that value until the end of the quiz. At the end of the quiz, there is a submit button...
1
2308
by: trnghosh | last post by:
Sir, I want to make one form that will enable my user to quote his order and after that he will click the " Order Now" button so that I get all the infomation in my email . I am very new in Javascript language. Can anybody solve this. I apend below two script so that anyone can modify it as per my requirements. May be it is totally wrong. Any suitable tutorials in this regard is highly appreciable. Thnks in advance. trnghosh Here is...
0
9684
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10017
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7552
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.