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

liunx

Guest
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:<br />
<br />
<if condition="$post['replylink']"><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"$post[replylink]"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a><br />
</if><br />
<br />
Here is what is happening with Firefox. Screenshot one is images on, screenshot two is images off. The alt isn't showing :( Any ideas?<br />
<br />
<!-- m --><a class="postlink" href="http://livingwithstyle.com/images/quote1.jpg">http://livingwithstyle.com/images/quote1.jpg</a><!-- m --><br />
<br />
<!-- m --><a class="postlink" href="http://livingwithstyle.com/images/quote2.jpg">http://livingwithstyle.com/images/quote2.jpg</a><!-- m --><!--content-->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 Opera's (<!-- m --><a class="postlink" href="http://www.opera.com/">http://www.opera.com/</a><!-- m -->) authoring option. Maybe you should try that out...<!--content-->Originally posted by Exuro <br />
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 Opera's (<!-- m --><a class="postlink" href="http://www.opera.com/">http://www.opera.com/</a><!-- m -->) authoring option. Maybe you should try that out... <br />
<br />
They've tested it and the alt does not work. :(<!--content-->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.<!--content-->umm shouldn't alt="post reply" do the trick?<br />
<br />
i thought that was the whole point of alt- alternate text for people who cant see images.<!--content-->They must be using IE for cell phones. :p<br />
<br />
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.<!--content-->
 
Back
Top