/    Sign up×
Community /Pin to ProfileBookmark

How can I create a clickable link for users who have pictures turned off?

I run some vbulletin forums that currently have an image button that you click to reply to a post. However, I have a few members who use their cellphones to browse the forums. They like to turn images off so that everything loads fast for them. But when they do that, they can’t reply to posts because the reply image is gone. I don’t want to go to only text based reply links for such a small minority, but I do want to help them out. Is there a way to make it so that a text link shows only for users who have images off? Here is my current code:

[code]<if condition=”$post[‘replylink’]”>
<a href=”$post[replylink]”>
<img src=”$stylevar[imgdir_button]/reply_small.gif” alt=”$vbphrase[reply_with_quote]” border=”0″ /></a>
</if>[/code]

Here is what is happening with Firefox. Screenshot one is images on, screenshot two is images off. The alt isn’t showing ? Any ideas?

[img]http://livingwithstyle.com/images/quote1.jpg[/img]

[img]http://livingwithstyle.com/images/quote2.jpg[/img]

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@ExuroJun 06.2004 — Shouldn't the cell phones still display the alternate text specified in the image tag? I would think that it would... Have you actually had your friends test it with a cell phone or are you just using Mozilla's image disabling option? A tool I like to use to emulate text-only browsers is [url=http://www.opera.com/]Opera's[/url] authoring option. Maybe you should try that out...
Copy linkTweet thisAlerts:
@tgo149authorJun 06.2004 — [i]Originally posted by Exuro [/i]

[B]Shouldn't the cell phones still display the alternate text specified in the image tag? I would think that it would... Have you actually had your friends test it with a cell phone or are you just using Mozilla's image disabling option? A tool I like to use to emulate text-only browsers is [url=http://www.opera.com/]Opera's[/url] authoring option. Maybe you should try that out... [/B][/QUOTE]


They've tested it and the alt does not work. ?
Copy linkTweet thisAlerts:
@Aronya1Jun 06.2004 — You might post this in the CSS forum. There is a CSS trick that will do exactly what you are looking for. For people who can see the images, they will display properly. For people who can't, they will see plain text.
Copy linkTweet thisAlerts:
@The_CheatJun 06.2004 — umm shouldn't alt="post reply" do the trick?

i thought that was the whole point of alt- alternate text for people who cant see images.
Copy linkTweet thisAlerts:
@David_HarrisonJun 07.2004 — They must be using IE for cell phones. :p

You could try using the title attribute as well as the alt attribute, if that doesn't work you'll have to have some text in the link as well and try and get the image to position itself over the text.
×

Success!

Help @tgo149 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...