Support Forums

Browse Listings Alphabet

This is a discussion on Browse Listings Alphabet within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hello Again, I have created all 26 Letters of the alphabet as JPGs and I can display them above the ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-09-2011, 04:49 PM   #1
Scotty
 
Join Date: Apr 2010
Posts: 29
Rep Power: 7
pickyourownpet.com is on a distinguished road
Default Browse Listings Alphabet

Hello Again,

I have created all 26 Letters of the alphabet as JPGs and I can display them above the categories (Dogs for example). Now, I understand that to make it jump to "Rottweilers" when someone clicks on the letter "R", I would need to make a <div> out of the "Rottweiler" Picture/Category Name (or maybe I am totally wrong on this...)

Anyway, if I have the alphabet above the Dogs, I need to know, if possible, how to make the letters, when clicked, jump to the right section on the same page of listed categories/dogs.

Am I making sense, or do I need to be more descriptive? Please let me know. Thanks!

EDIT: Ok, I have it thus far-

Code:
<html>
<body>
<a href="#catimages/rottweiler.jpg"><img src="http://www.pickyourownpet.com/classifieds/images/alphabet/r.jpg"></a>
</body>
</html>
The "#catimages/rottweiler.jpg" above is the <a name> tag. Since <a name> is what is used to reference something on the same page, I replaced the following code in browse.tpl:
Code:
<img src="{$data[td].image}" border="0" alt="{$data[td].name}"></a>
with:
Code:
<img src="{$data[td].image}" border="0" alt="{$data[td].name}"  name="{$data[td].image}"></a>
to produce an <a name> tag. I've tried placing the <a name> outside the img src as well. This is still not working though. Suggestions?

Thanks!


-Scott

Last edited by pickyourownpet.com; 02-09-2011 at 06:39 PM.
pickyourownpet.com is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Browse listings issue legallea TemplateCodes 6 09-20-2010 09:12 AM
Enhancing browse pages with listings seymourjames TemplateCodes 20 08-23-2010 04:14 PM
SEO/Browse Your listings bad urls petey Technical Support 6 01-24-2009 09:10 PM


All times are GMT -4. The time now is 04:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0