Hello,
Im testing the use of document.write and Im having trouble making a link work in Safari
This works in FF and IE9 but not in Safari (nor in Chrome), In Safari I see the portrait just fine but the cursor doesnt change when overing the image and clicking on it doesnt activate the link.
What is the correct way to write this line?
I have tried this and it also doesnt work in Safari and Chrome:
thanks for any insight
Im testing the use of document.write and Im having trouble making a link work in Safari
Code:
document.write('<a href="index.htm"><img src="./images/portrait2.png"></a>');
This works in FF and IE9 but not in Safari (nor in Chrome), In Safari I see the portrait just fine but the cursor doesnt change when overing the image and clicking on it doesnt activate the link.
What is the correct way to write this line?
I have tried this and it also doesnt work in Safari and Chrome:
Code:
document.write("<a href='index.htm'><img src='./images/portrait2.png'></a>");
Comment