I'm stumped. I'm not so sure what is the right answer to your question. I'll do some poking around and get back to you if I find an good answer. You should email the people at iPage as they probably could answer your iPage question..
That is what I call creative....good job...I like it..
To make sure I understand this- the middle 1 pixel piece of the button image is the "table data background image (td background="middleimage.gif")..
I may be off here as I have not actually seen the OSC template and I am also learning a lot about this very quickly..
I like it so far..
The other question that occurs to me is the use an image map for buttons..
You can tell that I love graphics and a lot of folks will disagree with me but that is one of the important elements of internet pages is the use of effective, clear, attactive. and optimized images. I tend ot go over board with graphics on the sites I develop bu this is part of the big picture..
Thank you for all of you assistance.
You've got it right. Customers love graphics too. That hack was borne of a client *needing* images for buttons. It really works great for dynamic output..
Glad I could help..
If you want to use image maps, it will get kinda complicated with os commerce, but the choice is yours. The way I showed is the easiest way I know of to get what you want, and obviously, a button can look like anything...
So if I understand this correctly- the middle- 1 pixel piece of the button image is the "table data background image (td background="middleimage.gif")????..
What can you do if you need to use seperate (different) buttons for every catagory, like completley different buttons (not just ones with nice edges and text in the middle?.
I have a sample below..
Is anyone able to give me some advice on this please??.
I have attempted to get one of the 'contrubution' add ons to work (Browse by Categories v2.5) but it doesent seem to wanna work, I just get an error on the inde page where it's meant to be..
This post has been edited by.
: 07 March 2004, 09:40..
No sorry, don't get it..
In which file, and how, do you edit the code inside the categories box?.
Can you put some filenames here and a piece of code from the xxx.php file?..
Great Trick!! I don't think I would have ever thought of doing it this way!!.
One small issue, though...I've got the left and right parts showing..but I can't seem to find exactly where to do the <td background="middleimage.gif"> part......
I have been looking at lots of the carts here..
I see that the "Categories" are text..
I have a graphics backgound and like the idea of 3D, attractive buttons..
Is there a way to use GIF or JPG buttons instead of the CSS text..
If you can give me a URL to a iPage site that does this that would be great.
This post has been edited by.
: 05 March 2004, 17:41..
There is a pretty simple trick that will make your life a lot easier. I have used it in the past and it works well. Doing it this way has a few advantages over traditional buttons. For one, you don't have to cut buttons, or have buttons dynamically generated. Also, since os commerce has multiple language support you won't have to worry about cutting a lot of buttons, or seeminlgy an unlimited # of buttons as you/your client add norsk or something like that..
So here is what you do....
Create the button you like in photoshop or whatever, and cut it into three pieces - the left, the right, and a one pixel slice of the middle that can tile on the x axis. Edit the code inside the categories box in os commerce so that the left part of your button preceeds the category name, and the right part of the button suceeds the category name. Then alter the td tag (in the same place) to use the one pixel slice of the middle that you cut. What happens, is your text looks like a button! Better for search engine rank as well..