473,405 Members | 2,141 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,405 software developers and data experts.

Pop Up from an image not using script

4
I am using a window pop up code that activates by clicking on a text link. I am using the following code to do that...

Expand|Select|Wrap|Line Numbers
  1. <a href="http://www.mysite.com/forum/files/popup.html" onclick="window.open('http://www.mysite.com/forum/files/popup.html','popup','width=470,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">Mp3 Pop Up Player
  2. </a>

Using similar code how do I link from an image instead of text?
Aug 24 '11 #1

✓ answered by Rabbit

Instead of mp3 popup player, put an image <img src='image.jpg' />

4 2474
Rabbit
12,516 Expert Mod 8TB
Just replace the text with an image.

Just on a side note, you said you don't want to use a script but you used a script. What you have in your onclick is javascript.
Aug 24 '11 #2
k4gap
4
I should have said I didn't want to use anything that requires script to be added to the header or meta area.

What would the code I provided look like with the image?

I'm really kind of new. But I do know enough that if I get just one character off the code won't work.

Thanks for putting up with what probably appears to you as really simple.
Aug 24 '11 #3
Rabbit
12,516 Expert Mod 8TB
Instead of mp3 popup player, put an image <img src='image.jpg' />
Aug 24 '11 #4
k4gap
4
Thank you Sir, that did it!
Aug 24 '11 #5

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

Similar topics

0
by: Jason Brown | last post by:
I've seen a few out there, ranging from free to $150. I was looking for a recommendation for an image ranking script, like the one at http://www.ratepic.com. You have 10 radio buttons for quick...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
1
by: bborden | last post by:
Novice Access programmer here. I would like to display an image using the Toolbox Image object by calling the images file name using: =fPictureFiles(!!,1) in the Picture control. Below...
3
by: Senthil | last post by:
Hi all I'm new in ajax. How to upload a image using ajax..
1
by: loupet | last post by:
Hello all I am new here and this is my first post. I have tried several javascripts to preview an image on a web page using the "input type=file" to Browse and preview the image. Using IE...
2
by: user | last post by:
Hi all... i am trying to print an image using GDI - but the only thing i get is a black rectangle. Does anybody know what is wrong, or how else to get the bitmap on the printer (GDI+ is not...
3
by: Noorain | last post by:
Sir i want to resize image. Following script working in my local server. But This coding doesn't work in php 2.6.0. please help me <form action="<?php echo $_server; ?>" method="post"...
11
by: shapper | last post by:
Hello, I am displaying an image on a few pages. The image size is 50 px height and 50 px width. In some pages I need the image to be 30x30 px in others 40x40 px and in others 50x50px. Can I...
0
selvasoft
by: selvasoft | last post by:
Hi Please help me any one. I want solution for display multiple images from oracle database.Using JSP. here is my code for display one image from database. Please Any one give me some ideas. ...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.