Click here to Skip to main content
15,918,275 members
Home / Discussions / Web Development
   

Web Development

 
Questiontry in asp with javascript Pin
karanba14-Oct-05 21:24
karanba14-Oct-05 21:24 
QuestionImage rollover in Javascript Pin
Tesic Goran14-Oct-05 19:18
professionalTesic Goran14-Oct-05 19:18 
GeneralRe: Image rollover in Javascript Pin
Guffa14-Oct-05 23:09
Guffa14-Oct-05 23:09 
GeneralRe: Image rollover in Javascript Pin
Tesic Goran15-Oct-05 2:31
professionalTesic Goran15-Oct-05 2:31 
GeneralRe: Image rollover in Javascript Pin
Tesic Goran15-Oct-05 2:49
professionalTesic Goran15-Oct-05 2:49 
GeneralRe: Image rollover in Javascript Pin
Tesic Goran15-Oct-05 2:54
professionalTesic Goran15-Oct-05 2:54 
GeneralRe: Image rollover in Javascript Pin
Tesic Goran15-Oct-05 2:56
professionalTesic Goran15-Oct-05 2:56 
AnswerRe: Image rollover in Javascript Pin
vbturbo16-Oct-05 2:57
vbturbo16-Oct-05 2:57 
Hi Goran

try this Blush | :O


//swap the images for the buttons
function swapButtonImage()
{
//get the id of the item
var oBtn = window.event.srcElement
var btnId = oBtn.id
var srcImgFolder = "../images/buttons/";

//swap the image
switch(window.event.type){
case "mouseover":
oBtn.src = srcImgFolder + btnId + "_hover.gif";
return;
case "mouseout":
oBtn.src = srcImgFolder + btnId + "_off.gif";
return;
case "mousedown":
oBtn.src = srcImgFolder + btnId + "_pressed.gif";
return;
case "mouseup":
oBtn.src = srcImgFolder + btnId + "_hover.gif";
return;
}
}
// id='oimage1' src='../images/buttons/oimage1_off.gif'





rgds vbturbo
QuestionASP.NET Pin
hung_ngole14-Oct-05 17:06
hung_ngole14-Oct-05 17:06 
AnswerRe: ASP.NET Pin
softgeek123415-Oct-05 10:33
softgeek123415-Oct-05 10:33 
QuestionRegular Expression Pin
mango_lier14-Oct-05 14:44
mango_lier14-Oct-05 14:44 
AnswerRe: Regular Expression Pin
Chiari23-Oct-05 0:40
Chiari23-Oct-05 0:40 
QuestionHow to cancel a DetailsView Insert/Edit operation? Pin
Anonymous14-Oct-05 6:37
Anonymous14-Oct-05 6:37 
AnswerRe: How to cancel a DetailsView Insert/Edit operation? Pin
Radek Micek14-Oct-05 13:00
Radek Micek14-Oct-05 13:00 
GeneralRe: How to cancel a DetailsView Insert/Edit operation? Pin
Anonymous18-Oct-05 10:35
Anonymous18-Oct-05 10:35 
Questionprotection file in the iis Pin
reza toorani14-Oct-05 3:33
reza toorani14-Oct-05 3:33 
AnswerRe: protection file in the iis Pin
radekm14-Oct-05 11:12
radekm14-Oct-05 11:12 
GeneralRe: protection file in the iis Pin
Guffa15-Oct-05 1:32
Guffa15-Oct-05 1:32 
AnswerRe: protection file in the iis Pin
MoustafaS17-Oct-05 16:21
MoustafaS17-Oct-05 16:21 
QuestionImage Manipulation In WebPage Pin
AyBee13-Oct-05 19:17
AyBee13-Oct-05 19:17 
QuestionPadding-right Problem. Pin
bin_bin113-Oct-05 11:41
bin_bin113-Oct-05 11:41 
AnswerRe: Padding-right Problem. Pin
Edbert P13-Oct-05 17:53
Edbert P13-Oct-05 17:53 
GeneralRe: Padding-right Problem. Pin
bin_bin114-Oct-05 4:54
bin_bin114-Oct-05 4:54 
GeneralRe: Padding-right Problem. Pin
Guffa15-Oct-05 0:01
Guffa15-Oct-05 0:01 
GeneralThank you very much. Pin
bin_bin115-Oct-05 4:17
bin_bin115-Oct-05 4:17 

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.