Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-11-2008, 02:22 PM   #1
aztecboi2003
Confirmed User
 
aztecboi2003's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Marysville,Wa
Posts: 1,155
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="&lt;a href=&quot;<# BASE_URL #>&quot;&gt;&lt;img src=&quot;<# BASE_URL #><# UPLOAD_PATH #><# FILENAME #>&quot; border=&quot;0&quot; alt=&quot;<# SITE_NAME #>&quot; /&gt;&lt;/a&gt;" /></td>
Currently it's displaying this:
<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.
__________________
Smoking Girl Fetish
Petite Ashley
aztecboi2003 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2008, 02:45 PM   #2
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
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.
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2008, 02:58 PM   #3
aztecboi2003
Confirmed User
 
aztecboi2003's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Marysville,Wa
Posts: 1,155
Quote:
Originally Posted by BigBen View Post
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.
What I mean is I want this:
<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=&quot;
__________________
Smoking Girl Fetish
Petite Ashley
aztecboi2003 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2008, 03:48 PM   #4
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
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: &lt;a href=&quot;<# BASE_URL #>&quot;&gt;

If you want to remove closing anchor tag too, delete this: &lt;/a&gt;
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2008, 03:58 PM   #5
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Code:
<td><input readonly="readonly" class="input_field" onclick="javascript:highlight(this);" type="text" style="width: 605px" name="option" value="&lt;img src=&quot;<# BASE_URL #><# UPLOAD_PATH #><# FILENAME #>&quot; border=&quot;0&quot; alt=&quot;<# SITE_NAME #>&quot; /&gt;&lt;/a&gt;" /></td>
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2008, 04:01 PM   #6
aztecboi2003
Confirmed User
 
aztecboi2003's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Marysville,Wa
Posts: 1,155
Thanks, that was exactly what I wanted. You rock.
__________________
Smoking Girl Fetish
Petite Ashley
aztecboi2003 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.