Click here to Skip to main content
15,896,726 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: [need help] mysql question Pin
Guffa20-Aug-06 4:42
Guffa20-Aug-06 4:42 
GeneralRe: [need help] mysql question Pin
Sam 200620-Aug-06 4:48
Sam 200620-Aug-06 4:48 
QuestionThree column layout without tables Pin
gantww19-Aug-06 18:12
gantww19-Aug-06 18:12 
AnswerRe: Three column layout without tables Pin
Boro_Bob19-Aug-06 22:46
Boro_Bob19-Aug-06 22:46 
QuestionTable column border in HTML Pin
cj433118-Aug-06 8:05
cj433118-Aug-06 8:05 
AnswerRe: Table column border in HTML Pin
Boro_Bob18-Aug-06 11:09
Boro_Bob18-Aug-06 11:09 
GeneralRe: Table column border in HTML Pin
cj433121-Aug-06 2:27
cj433121-Aug-06 2:27 
QuestionHelp implementing Gradient Wipe Transition Filter on BUTTON ! Pin
deadstone_ssb18-Aug-06 4:54
deadstone_ssb18-Aug-06 4:54 
Hi all,

I have created a DHTML Behavior that changes the style of buttons on my web page. I apply the behavior to the buttons using the class attribute, and the behavior is embedded in my style in a css file.

Now, it all works great, currently I have this functionality:

* change the gradient filter direction from up to down on mouseover
* change gradient filter direction from down to up on mouseout and mouseup
* change the gradient filter direction to left to right on mousedown

additionally it changes the borders and padding to give a click effect.

Now I want to extend this a little.

How can I have a gradient wipe included on the mousedown event so as it is clicked it appears to wipe from one side to the other but how can I do this please? Do I need to have the filter already part of the button element (INPUT Type = Button !) when it is loaded?

Here is the code as it stands in the event handler for mousedown in my htc file:

function MouseDown()
{
runtimeStyle.padding = "0px 4px 4px 4px";
runtimeStyle.color = "white";
runtimeStyle.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#ffffff, EndColorStr=#ababab)";

runtimeStyle.borderRightStyle = "solid";
runtimeStyle.borderRightWidth = "1px";
runtimeStyle.borderRightColor = "#7b9ebd";

runtimeStyle.borderTopStyle = "ridge";
runtimeStyle.borderTopWidth = "1px";
runtimeStyle.borderTopColor = "#7b9ebd";

runtimeStyle.borderLeftStyle = "ridge";
runtimeStyle.borderLeftWidth = "1px";
runtimeStyle.borderLeftColor = "#7b9ebd";

runtimeStyle.borderBottomStyle = "ridge";
runtimeStyle.borderBottomWidth = "1px";
runtimeStyle.borderBottomColor = "#7b9ebd";
}

thanks for any help or advice

Philip

Questioncool ! how to make this website -design the picture online Pin
nitty.stone18-Aug-06 1:59
nitty.stone18-Aug-06 1:59 
AnswerRe: cool ! how to make this website -design the picture online Pin
Hy Chanhan18-Aug-06 2:17
professionalHy Chanhan18-Aug-06 2:17 
GeneralBUT I SAVE THE PIC,PIC IS REALY ADD FRAME? Pin
nitty.stone18-Aug-06 18:58
nitty.stone18-Aug-06 18:58 
GeneralRe: But I save the pic,pic is realy add frame? Pin
Guffa19-Aug-06 22:05
Guffa19-Aug-06 22:05 
QuestionCan Java script be used to change the items in an ASP.NET drop down list? Pin
Red_Wizard_Shot_The_Food17-Aug-06 21:58
Red_Wizard_Shot_The_Food17-Aug-06 21:58 
AnswerRe: Can Java script be used to change the items in an ASP.NET drop down list? Pin
Guffa17-Aug-06 22:07
Guffa17-Aug-06 22:07 
QuestionAddress bar Pin
rajmani17-Aug-06 19:31
rajmani17-Aug-06 19:31 
AnswerRe: Address bar Pin
_AK_17-Aug-06 19:45
_AK_17-Aug-06 19:45 
AnswerRe: Address bar Pin
alexey N17-Aug-06 20:42
alexey N17-Aug-06 20:42 
QuestionImages not loading for test Pin
Jagannatha10817-Aug-06 11:25
Jagannatha10817-Aug-06 11:25 
GeneralRe: Images not loading for test Pin
manowj17-Aug-06 18:00
manowj17-Aug-06 18:00 
GeneralRe: Images not loading for test Pin
Jagannatha10817-Aug-06 18:18
Jagannatha10817-Aug-06 18:18 
GeneralRe: Images not loading for test Pin
_AK_17-Aug-06 19:51
_AK_17-Aug-06 19:51 
QuestionHELP WITH TRANSPARENT TABLES Pin
Joey Picerno17-Aug-06 9:01
Joey Picerno17-Aug-06 9:01 
GeneralRe: HELP WITH TRANSPARENT TABLES Pin
Boro_Bob17-Aug-06 10:30
Boro_Bob17-Aug-06 10:30 
GeneralRe: HELP WITH TRANSPARENT TABLES [modified] Pin
Joey Picerno17-Aug-06 10:41
Joey Picerno17-Aug-06 10:41 
GeneralRe: Help with transparent tables Pin
Guffa17-Aug-06 12:05
Guffa17-Aug-06 12:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.