This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > Swap Image Help Needed
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Swap Image Help Needed
|
|
| Dooza 2004-08-10, 12:14 pm |
| Using Dreamweaver MX, ASP VBScript.
http://store.dmcworld.com/detail.asp?id=627
I am looking for solutions to a problem that I have not been able to solve.
I want to have a link to swap the image of the product to another one. The
filename is help in the database.
First I tried using Macromedias own swap image behaviour, but the results
were flakey to say the least, so I then tried some code I found on the
internet. I got the same results:
http://store.dmcworld.com/testdetail.asp?id=627
On a Win2K PC with IE6 the images dont appear for me, the only way to get
them to work is to right click on the image and select Show Image. I have
Internet Explorer set to get a fresh copy of the page each time I visit,
rather then Automatic...which by the way works! I dont have these problems
with FireFox.
This is the function I am using:
| |
| Dooza 2004-08-10, 12:14 pm |
| oops clicked on Send!
this is the function:
function DMC_swapImage(strImage, strSource)
{
if(document.getElementById){ document.getElementById(strImage).src =
strSource; }
}
Can anyone help?
Steve
| |
|
| "Dooza" <steve@whatareyoudooza.tv> wrote in message
news:cfajv1$eou$1@forums.macromedia.com...
> oops clicked on Send!
>
> this is the function:
>
> function DMC_swapImage(strImage, strSource)
> {
> if(document.getElementById){ document.getElementById(strImage).src =
> strSource; }
> }
>
> Can anyone help?
I would really appreciate any ideas or clues to this, as I am sure someone
must have implemented a similar system to this.
Steve
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|