![]() |
Can I get some code help here please?
Code:
<td><input readonly="readonly" class="input_field" onclick="javascript:highlight(this);" type="text" style="width: 605px" name="option" value="<a href="<# BASE_URL #>"><img src="<# BASE_URL #><# UPLOAD_PATH #><# FILENAME #>" border="0" alt="<# SITE_NAME #>" /></a>" /></td> <a href="http://www.justnico.com/"><img src="http://www.justnico.com/images/x7p3tgq7az7o6ha8m2b.gif" border="0" alt="Justnico" /></a> I need only this: <img src="http://www.justnico.com/images/x7p3tgq7az7o6ha8m2b.gif" border="0" alt="Justnico" /></a> What part do I remove to get only the link to the file. Thanks. |
You say you only need the img tag, but then you say you only want the link to the file... which one do you want? Edit the "value" attribute to do display what you want.
|
Quote:
<img src="http://www.justnico.com/images/x7p3tgq7az7o6ha8m2b.gif" border="0" alt="Justnico" /></a> And not this: <a href="http://www.justnico.com/"><img src="http://www.justnico.com/images/x7p3tgq7az7o6ha8m2b.gif" border="0" alt="Justnico" /></a> I need to not have this part displayed: <a href="http://www.justnico.com/"> By editing the value do you mean just deleting this part: a href=" |
It's in a text input box, so it's going to display whatever you have in the 'value' attribute. eg...
value="everything here will be in text box" So delete this: <a href="<# BASE_URL #>"> If you want to remove closing anchor tag too, delete this: </a> |
Code:
<td><input readonly="readonly" class="input_field" onclick="javascript:highlight(this);" type="text" style="width: 605px" name="option" value="<img src="<# BASE_URL #><# UPLOAD_PATH #><# FILENAME #>" border="0" alt="<# SITE_NAME #>" /></a>" /></td> |
Thanks, that was exactly what I wanted. You rock.
|
All times are GMT -7. The time now is 12:33 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123