Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CSS button rollovers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-19-2010, 06:52 AM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default CSS button rollovers

Has anyone got a working example they can show which does a css background button rollover but also includes left.gif and right.gif button sides as part of the rollover?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
  #2  
Old 02-19-2010, 07:59 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: CSS button rollovers

I don't even this that is possible with just CSS.
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 02-19-2010, 08:23 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: CSS button rollovers

Yep, I made a reply on another post:
Yes of cause it's possible, I use span class to achieve this and 2 images, left and right, and change most of the css for example speed bar.

EXAMPLE 1

http://forum.x-cart.com/attachment.php?attachmentid=1866&stc=1&d=126659987 7

IMAGE USED SPLIT INTO 2:

http://forum.x-cart.com/attachment.php?attachmentid=1867&stc=1&d=126659992 7


ANOTHER EXAMPLE:

http://forum.x-cart.com/attachment.php?attachmentid=1868&stc=1&d=126659996 9

I cannot give you a live demo as it's on my home local host server at home, all development designs. I also have custom proper designs for the cart input buttons various designs.

All designs etc done with Adobe Photoshop, with all my own work and hard graft... LOL..

Hopefully I can release some packages shortly specifically so called "Graphics Packs"
for x-cart to replace the dull looking stuff x-cart offers.

Alan
Attached Thumbnails
Click image for larger version

Name:	sand_speed.png
Views:	322
Size:	20.0 KB
ID:	1866  Click image for larger version

Name:	tabs_template_orange_white_withbacklinecolourmatch.png
Views:	292
Size:	6.5 KB
ID:	1867  Click image for larger version

Name:	blue_speed.png
Views:	308
Size:	27.3 KB
ID:	1868  
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #4  
Old 02-19-2010, 08:28 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: CSS button rollovers

different version, hes talking about 4.10 where it's using a table, and 3 images.
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 02-19-2010, 08:38 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: CSS button rollovers

Quote:
Originally Posted by Ashley
different version, hes talking about 4.10 where it's using a table, and 3 images.


Yep I realise what version (My example was just latest) to show how things can look with some modification...

Well as far as I can see it can still be done. By changing css elements and recoding, why wouldn't it work?

Are you assuming it can't be done just because of a table and 3 images?
I will have to download this version and have a look, gives me a challenge..
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #6  
Old 02-19-2010, 08:41 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: CSS button rollovers

How would you get all 3 elements to change?
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 02-19-2010, 08:43 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: CSS button rollovers

Im not even sure how you changed the 2 above.

could you post code?
__________________
xcart 5.1.2
Reply With Quote
  #8  
Old 02-19-2010, 08:57 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: CSS button rollovers

Before saying it's not possible, I am saying change code and css,also using span class, not forgetting to rule out the 3 images
scenario

What I am saying is that it's not impossible by completely changing html and
completely modifying it, or some parts of it.

If it can't be done then "I'll eat my Hat" all I am saying is that I need to look at what's happening.

Have you actually tried to modify? as you say you don't think it's possible, hey we all code in different ways.

I couldn't rule this out completely, as I have not looked into it. I think debating how it's done is best left to how the individualchooses to do this in there own way.

Let's see if any other user has done this as this is what the poster wanted to know.

BTW
I am sure that a Good, Top Level well trained css, html coder can make this work. (I am not)... I am just up for a challenge to make things work
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #9  
Old 02-19-2010, 09:01 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: CSS button rollovers

Quote:
Originally Posted by Ashley
Im not even sure how you changed the 2 above.

could you post code?


Nope will not post code, as it's development work for my new project. Basically using an extra span class. (You seem very negative with every post I make Ashley) Not sure why, Or maybe it's me being paranoid)
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #10  
Old 02-19-2010, 09:06 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: CSS button rollovers

How do you get 2 images to change with one <a> tag?
__________________
xcart 5.1.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:46 PM.

   

 
X-Cart forums © 2001-2020