473,387 Members | 1,440 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,387 software developers and data experts.

dynamic image size

Hi - john here -

Can i change html image size dynamically on mouseover so it looks like Mac taskbar ??

------BIG------------------------------------------------------------------------
^

...
-------------BIG-------------------------------------------------------------------
^

...
-----------------------BIG---------------------------------------------------------
^
Mar 13 '07 #1
3 11550
AricC
1,892 Expert 1GB
Hi - john here -

Can i change html image size dynamically on mouseover so it looks like Mac taskbar ??

------BIG------------------------------------------------------------------------
^

...
-------------BIG-------------------------------------------------------------------
^

...
-----------------------BIG---------------------------------------------------------
^
So when you hover over an image you want the size to increase? I'm not familiar with Mac's. Also, what do you mean by dynamically?
Mar 13 '07 #2
So when you hover over an image you want the size to increase? I'm not familiar with Mac's. Also, what do you mean by dynamically?
yes - if I have images in a row (i.e. in td-s) i would like

x x x x x

to change into

X x x x x when I hover over the first,

x X x x x when over the second, etc.

I can do it with buttons over the x-s but not by just "mousover / mouseout"-s

http://www.siteexperts.com/tips/elements/ts21/page1.asp
Mar 14 '07 #3
drhowarddrfine
7,435 Expert 4TB
Use the :hover attribute and resize the image there.

img:hover{
height:whateverpx;
width:whateverpx;
}

But that only works in modern browser (not IE6). So you have to make it an anchor.

a:hover{
height:whateverpx;
width:whateverpx;
}
<a><img src=""></a>
Mar 14 '07 #4

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

Similar topics

6
by: Kingdom | last post by:
I'm using this script to dynamicaly populate 2 dropdowns and dispaly the results. Choose a component type from the first drop down, lets say 'car' and the second box will list all the car...
2
by: Randell D. | last post by:
HELP! Its taken me ages - I'm a newbie and I've compiled bits of code that I've read in this newsgroup over time to create one of my most intricate functions to date... Basically, the script...
2
by: Sam | last post by:
Hello everyone, I have a table, which contains a picture column, I put URL info into it. "www.myweb.com/1.jpg..." I want to show this picture in my crystal report, I find some samples show the...
5
by: Tompa | last post by:
Hi, I would like to create images on the fly as a response to an http request. I can do this with PIL like this (file create_gif.py): from PIL import Image, ImageDraw print 'Status: 200 OK'...
0
by: Martin Schmid | last post by:
I have a aspx with the code below... I am trying to get the output from the Click redirect to display an image that may be right-clicked to 'save as'. The image displays as expected, but when...
1
by: Director - Minvent | last post by:
I am having a problem! I am using the Task Pane control which MS gave out in their VBPowerPack. If I add an image to the task frame I have to use a physical path e.g. c:\connected.bmp as...
1
by: Satish.Talyan | last post by:
hi, i want to create a dynamic tree hierarchy in javascript.there are two parts in tree, group & user.when we click on group then users come under that's tree category will be opened.problem is...
11
by: toton | last post by:
Hi, I have little confusion about static memory allocation & dynamic allocation for a cluss member. I have class like class Bar{ public: explicit Bar(){ cout<<"bar default"<<endl; }
3
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own...
1
by: neovantage | last post by:
Hey all, I am using a PHP script which creates headings at run time in a sense at page execution. I am stuck a with a very little problem which i am sure i will have the solution from experts. ...
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
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?
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...

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.