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

Simple Image Button Question

Hi,

I am designing a simple ASP.NET web page. I have an image button. What I
want to do is: when the cursor is over the image button, a drop down meny
should display. This menu should have tabs which are images. What can be the
C# code for this.

Please help.

Thanks
--
pmud
Nov 19 '05 #1
2 2060
there is no C# code, its all client script - pickup any book on javascript.

-- bruce (sqlwork.com)
"pmud" <pm**@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
Hi,

I am designing a simple ASP.NET web page. I have an image button. What I
want to do is: when the cursor is over the image button, a drop down meny
should display. This menu should have tabs which are images. What can be
the
C# code for this.

Please help.

Thanks
--
pmud

Nov 19 '05 #2
Hi,

I am using the following javascript code in the Head scetion of the HTML file.
function disp_menu()
{
document.images['3'].src='Images\test.jpg'
}

Then I am using the following code to call the function: <img src=''
onMouseOver="function_disp()">

But when I mouse over the image , the image is not displaying. Its
displaying a red cross mark in place of the image. I have a folder in my
ASP.nET project called Imges in which the image is placed. Any idea why the
image is not displaying?

Any help is appreciated.

Thanks
--
pmud
"Bruce Barker" wrote:
there is no C# code, its all client script - pickup any book on javascript.

-- bruce (sqlwork.com)
"pmud" <pm**@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
Hi,

I am designing a simple ASP.NET web page. I have an image button. What I
want to do is: when the cursor is over the image button, a drop down meny
should display. This menu should have tabs which are images. What can be
the
C# code for this.

Please help.

Thanks
--
pmud


Nov 19 '05 #3

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

Similar topics

4
by: Ester | last post by:
I have an interior design of a living room with lights and aircond image. My task is to load the living room image without any light and aircond images as background image of a WebForm after that I...
2
by: Matt | last post by:
In the following code, I have 2 questions regarding submit button with image. 1) Does this code <input type="image" name="populate" src="populate.gif"> behave the same as an HTML submit button...
13
by: lost hope | last post by:
hi, i have a very simple html page with a global variable, a function to increment its value, and a form that calls the function. however, what happens is that every time i click the image, the...
18
by: Geoff Cox | last post by:
Hello, I am trying to print out the array values for a second time but get error on page message? Thanks Geoff <html>
3
by: Tina | last post by:
I have page1.aspx and page2.aspx. Lets say page1 has a hyperlink to page2. If the user clicks on that hyperlink Page two will be displayed either in a new window or the same window(depending on...
6
by: ruca | last post by:
Hi gurus, I have a imagebutton in my WebForm, and I want that when I click (mouse down) on her the imagebutton change image and when I "unclick" (mouse up) change to the original image. Basically...
0
by: csharpnb | last post by:
Hi all, I've been studying C#/.NET 2.0 for a couple of hours a week for the past couple of weeks. I feel the need to build a somewhat simple Windows application that would accomplish a somewhat...
1
by: Phil_Cam | last post by:
Hello All On a webpage I have a standard paypal image button for purchases. I am trying to set it up so that it only shows up or is endabled when text is entered into a textbox and a button is...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.