473,396 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

hiLite and popUp - at the same time - actual image size

Loftlore
Confession. This is my first post here. Wish me luck please.
I am trying to get a .jpg called from a javascript hiLite to popup rather than to load as a full page. The example can be found at http://www.loftlore.com (my web site).
the script calling the image is:

<a href="images/parchment1.jpg" onMouseOver="hiLite('img01','sampleb')" onMouseOut="hiLite('img01','sample')" target="main"><img SRC="loft01.jpg" NAME="img01" ALT="Sample 1" BORDER=0 ></a>

What I want is for the image called (parchment1.jpg) to come up in a popup-like box the actual size of the image (750 X 502).

Well, here goes.
Apr 17 '07 #1
3 1654
Ganon11
3,652 Expert 2GB
:-O

Really sorry to say this, but your first post is in the wrong forum! You need to ask your question in the Javascript forum; this is the Java forum!
Apr 17 '07 #2
r035198x
13,262 8TB
Moved to Javascript forum.
Apr 18 '07 #3
Let's try this again.
How can files targeted by a hiLite string come up sized. This is an presentation issuie. Here is the situition
<head>
<script LANGUAGE="JavaScript">

sample = new Image(24,88);
sample.src = "loft01.jpg";
sampleb = new Image(36,88);
sampleb.src = "sbb.gif";

}
function hiLite(imgDocID,imgObjName) {
if (version == "1") {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}

</SCRIPT>

Here is the body call

<body>

<a href="images/parchment1.jpg" onMouseOver="hiLite('img01','sampleb')" onMouseOut="hiLite('img01','sample')" target="main"><img SRC="loft01.jpg" NAME="img01" ALT="Sample 1" BORDER=0 ></a>

</body>

From the anchored call I want the image file "parchment1.jpg" to appear in a popup-like box of the graphic's ACTUAL size. It should be closable. Now it appears as a whole page. The working example of this problem can be found at
http://www.loftlore.com

If the answer is, "give up - it can't be done" then fine. Say so please. I've ground up seven days trying everything I could think of to make this happen.

loftlore.com
Apr 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Willem van Isselmuden | last post by:
Hello, I've a problem I hava a page with different popup windows, when I hit a link the first one pops up and with the first open i would like to hit the second link in the parent page so the...
2
by: Moon | last post by:
Seems I still haven't got the hang of all those window generating code in Javascript. I've got a page with about 15 photo thumbnails. When you click on a thumbnail a new window pops up which shows...
10
by: Oliver | last post by:
Hello, i'm having trouble with a css type popup. It's not doing what i want in Mozilla 1.6 and in IE6.0 it's not working at all. The html code looks like this: <div class="themenkueche"...
2
by: Jake | last post by:
Hi, I have a page with a bunch of thumbnails that when clicked, open the full size image in a new window. They are all different sizes and its a bit unprofessional looking. I'd like to find a...
1
by: MJEASSOC | last post by:
I need some help with closing a popup window. I'm making an online portfolio, that has one base page with text and thumbnails. When a user clicks on a thumb, a new window opens containing a larger...
4
by: VR | last post by:
First, greetings to everyone :) I'm doing a university seminar & I've encountered a problem. I have a gallery with thumbnails linked on pictures. What I want is popup to be opened with...
3
by: EnjoyNews | last post by:
I have a popup problem. I have a script that generates a popup for image viewing. It has 2 function, and the first is that it automaticly generates the popup window to the size of the image,...
0
by: wizardworkz | last post by:
Hello All! Having a bit of a problem combining php with javascript here. What I have is a store with images (There will be a smaller image of each item, and a larger image of each item, but I want...
2
by: wreed06 | last post by:
Hello, I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...

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.