![]() |
SOLVED can't link to site from banner
Hello,
I want to place 3 banners on my forum. The banners have to resize depending on the screen resolution of the user. Choices are 1024x768 and 1280x1024. This works all well. But I also want to redirect the member to the website of the banner in an other screen. I can't figure out how to do this. I tried the usual <a href="................."> on different places but nothing works. Who can help me? I have placed the folowing script in the advertising area. HTML Code:
<script language="javascript" type="text/javascript" src="/templates/high_javascript.js"> |
Can you post your code with the URL in it that you tried to add so we can see what was wrong?
|
I fixed it.
What i did was this: HTML Code:
document.write("<a href="http://www.hondaciviccrewapeldoorn.nl"><img src='/images/advertenties/" + imgPath1 + " alt='" + imgAlt + "' width='250'></a>"); HTML Code:
document.write("<a href=http://www.hondaciviccrewapeldoorn.nl><img src='/images/advertenties/" + imgPath1 + "' alt='" + imgAlt + "' width='190'></a>"); <a href="http://www.hondaciviccrewapeldoorn.nl"> <a href=http://www.hondaciviccrewapeldoorn.nl> Took me only more than 2 days! |
Did you try just escaping the quotes?
HTML Code:
document.write("<a href=\"http://www.hondaciviccrewapeldoorn.nl\"><img src='/images/advertenties/" + imgPath1 + " alt='" + imgAlt + "' width='250'></a>"); |
All times are GMT. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|