So i know when i click on the image it will open the link in a new tab/window, However what i do not know how to do and what I am trying to do is when you click on that same image it opens up either 2 or 3 different windows/tab and each window/tab is a differentlink,
So if there is any help that anyone can provide i would be forever grateful,
The target="" attribute always is misused because browsers are still re-acting to it incorrectly when the improper document type is being used. Developers still make browsers backwards compatible which is why it still works. Sites do not control how links are opened on a web page and should not have that kind of control for Users. The links are set by the users' browsers' settings for Tabs. Or, they can right click any link and select to open in a new window or tab from the popup Context Menu.
Thank you for that information, Now not sure if you can answer this, but lets say there are two images and you want each image to open a link, i've tried a few ways but every function always opens the same links even on different images.
I'll try to explain it better, I have a website made and i have a huge table, and with in each cell of the table i have a single picture, so lets say i have a table with two cells and in each cell there is two different images, i would like the image in cell number 1 to link to one or maybe two sites, and then the image in cell number 2 to be linked to 1 or 3 different other sites.
Okay the result of that code is that I posted my image.jpg file and when clicking on it did open the three windows, 2 in tabs in the same browser and then 1 in a separate window all together which i don't understand but my question is though is lets say I made a table
so that's my table and i had a jpg image two different individul images in each cell, lets say a smiley face and cat, lets say i click on the smiley face i want it to go to walmart.com and rent a center.com but when i click on the cat i want it to go to petsupermarket.com, petsmart.com and petco.com is there any way to do that with an onclick approach
row1 cell 1,
row2 cell 2.
below is an example, is two different images in a table, notice how all the links are the same except for the second image one of the links are different however when i click on the first image it still brings up the same set of links. even when i want each image to open its on set of links, hope this is a better explenation of what i am asking.
Bookmarks