473,779 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

rollover image (but image is a php document)

Dan
Hi,

I know how to make a rollover image in java, but I have trouble when
my photo is a php document like: photo_resize.ph p?
id=2&resize _width=600& resize_height=4 66

Does anyone know how to make a rollover with images like this?

Thanks,
Daniel

Here is a test page I am working with:
http://rail.blu-streak.com/galleries/photo2.php?id=2

May 2 '07 #1
4 1734
Dan said the following on 5/1/2007 8:53 PM:
Hi,

I know how to make a rollover image in java, but I have trouble when
my photo is a php document like: photo_resize.ph p?
id=2&resize _width=600& resize_height=4 66
Why? You just quote it and assign it as the .src of an image, the same
as you do with someImage.png
Does anyone know how to make a rollover with images like this?
The same as you do any other rollover.

--
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/
May 2 '07 #2
Dan
I tried what you said and it still did not work. Check out my code.

May 2 '07 #3
On May 2, 12:58 pm, Dan <d...@urbanscho ol.orgwrote:
I tried what you said and it still did not work. Check out my code.
I try to replace all your "&amp;" with "&" and it works.
Btw, nice photos.

HTH

May 2 '07 #4
Dan
Thanks. This helps a lot!

May 5 '07 #5

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

Similar topics

5
3449
by: Brian Angliss | last post by:
I'm relatively new to scripting in JavaScript, so I'm not too surprised I'm having difficulty scripting up an animation effect for my personal site. What I'm trying to do is the following: When I go onMouseOver on a button in a nav bar, I want that button to switch to a different image while at the same time another blank image changes as an animation to an associated image. When I go onMouseOut, the bar image reverts back to the...
2
2030
by: Koh | last post by:
My rollover image effect work fine in Netscape but not in Internet Explorer. Is there any important element or tag that I have miss out so it is not working in Internet Explorer? Below is my code, hope there is someone can help me. Thank you. <html> <head> <title>List of Products</title> <script language="JavaScript"> <!--
9
2048
by: Karl Burrows | last post by:
I am working on a Website for a non-profit group and for some reason I have one link that doesn't want to cooperate. All the image links work fine with the onmouseover and onmouseout script except one. Maybe I am just getting blurry-eyed, but can someone help me figure out what I have done wrong? Thanks!!!! <td width="190" height="57"><a href="Trends.htm" onmouseover="chgImg('Trends','InteriorTrendsBold')"...
4
1606
by: Matt | last post by:
i know more-or-less zero about javascript, but my client wants a rollover and he created this code, which doesn't work. All comments are appreciated. 1. the tag: <td align="center" width="66" nowrap="nowrap" background="/work/phc1.10/images/layout/main_nav_bg.gif"> <a href="http://localhost/work/phc1.10/index.php?page=homecare" onmouseover="imgSwap('','gnav_hc_on','gnav_hc_on')" onmouseout="imgSwap('','gnav_hc_off','gnav_hc_off')">
4
2135
by: Rob R. Ainscough | last post by:
I'm using .NET v1.1 with ASPX web page. I'm trying to have a RollOver hyperlink that will change images on an image control and update the text in a Label control. I've got the image swapping working, however I don't know how to get my Label control text to change with the onMouseOver event HTML... </asp:hyperlink><asp:hyperlink id="lnkImageS" style="Z-INDEX: 113; LEFT:
0
1102
by: VB Programmer | last post by:
I used Photoshop/Image Ready to create rollover buttons (for a nav menu). They work great. But, when I take the html, including the javascript and put it in a MasterPage, when I view the page (based on the Master) the rollovers don't occur. Any ideas why? Is the Javascript supposed to work even when in a Master Page? Here's the partial HTML for the master... The javascript was created automatically in Image Ready, so not to much of...
2
2112
by: the other john | last post by:
I am looking for ideas on how to create a rollover that triggers an image rotation in another location. I know how to create a function for basic rollovers, image swapping sort of thing, but I know know how to create the rotation. This is what the client wants... ....create a circle of images, each of which will trigger an image rotation in the center of this circle until the mouseout. Yea, I'm a little green with js.
0
9636
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
9474
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
10139
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9931
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
6727
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
5373
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...
0
5504
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
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.