- Jul 21, 2005
- 12,060
- 4
- 81
I am making a simple website that consists of a lot of images, so I am using Mozilla's WYSIWYG editor in SeaMonkey.
Anyway, after putting in a lot of links in the images, it ends up changing the dimensions of the page so there is about 500px of empty space on the bottom. This is due to the anchor tags.
Now, I'd like to just have a javascript that I can put in the image properties to goto the site, instead of adding Anchor tags.
So, if I have an image, what is the code (onclick) to make it goto a website?
Anyway, after putting in a lot of links in the images, it ends up changing the dimensions of the page so there is about 500px of empty space on the bottom. This is due to the anchor tags.
Now, I'd like to just have a javascript that I can put in the image properties to goto the site, instead of adding Anchor tags.
So, if I have an image, what is the code (onclick) to make it goto a website?