Go Back   Computer Juice > Computer Software > Web Design & Programming
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
  #1  
Old 01-04-2007, 09:08 AM
No Avatar
vikp l  disclosed
CJ New Member
 
vikp l is offline
 
Join Date: Apr 2007
Last Online: 01-04-2007 09:08 AM
Posts: 1
iTrader: (0)
vikp l is on a distinguished road
Default does anyone know the php code for a rollover

button? Hello. I am not php code familiar and i wonder if it is possible to make the add to cart button rollover button instead of a simple 'buy.gif'. Heres the section of source code of proddetail.php containing buy.gif
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 24-10-2007, 04:56 PM
No Avatar
jack100  United Kingdom
CJ Member
 
jack100 is offline
 
Join Date: Oct 2007
Last Online: 20-06-2008 09:36 PM
Posts: 100
iTrader: (0)
jack100 is on a distinguished road
Default does anyone know the php code for a rollover

i wouldnt use PHP, that would just complicate things, i would use HTML
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 27-10-2007, 07:14 AM
No Avatar
dr john  United Kingdom
CJ Member
 
dr john is offline
 
Join Date: Oct 2007
Last Online: 21-04-2008 11:25 PM
Posts: 69
iTrader: (0)
dr john is on a distinguished roaddr john is on a distinguished road
Default does anyone know the php code for a rollover

Use CSS. Set properties for the a:link and the a:hover and the a:visited states. That's teh standard way to work.

Using php to do so is just ridiculous, as you'd have to retrieve an entire page from the server to see a change. PHP is server side programming and not client side. IE it does not respond to mouseovers actions, but to data sent to and from the server.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with bad code :( Breaker3D Web Design & Programming 8 08-04-2008 08:21 AM
Code 10 lynne9999 Sound, Speakers & MP3 Players 7 31-01-2008 04:07 AM
WEP Code. ComputerGuy Networking, Modems & VoIP 4 20-01-2008 10:59 PM
Myspace TM Code book2cool Web Design & Programming 5 20-03-2007 12:15 PM
Dreamweaver rollover image help!? Timetravel Web Design & Programming 2 19-03-2007 11:14 PM


Copyright ©2006 - 2008 Computer Juice.

Notice: Due to a recent increase in websites who see it fit to copy our website text or in some instances clone our entire website we would like to point out we actively seek out such instances and take legal action if required.
Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.