Hi there.
I'm having trouble figuring out the deal here. I'm have the following scenario:
I have one product that has two different images. i have a toggle switch below the image to switch to the other image. the image itself is linked to popup the image in its original (larger) size. When using the toggle, the link should also change, allowing the new image in the popup instead of hte old image.
Now, the code i have works perfectly in mozilla. but not at all in I.E (it keeps saying that document.links.swaplink is NULL)
anyway, I apologize for not being able to actually show you--its on the staging server of a client site, and it would break policy to link it--but here are the three lines of code that i'm using--using a generic image name in place of the actual images.
( code.Collapse )Is there anyone who can help solve the I.E issue--or is there an actual javascript function out there (google and me dont' seem to speak the same language, and I can't seem to find what i need? the actual image of the error is under the cut.
( ieerrorCollapse )Ebay seems to have a similar thing for image views that auctioned items have--except the link doesn't change.
ps..sorry for stretching out the screen--the code is easier to read all on one line though-i think
edited:
( I'm adding the popup function here just in case.Collapse )