Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osC core classes


Guest

Recommended Posts

Posted

I am checking out osCommerce Core Classes. The install instructions for most part are okay but there is one page that I don't understand.

 

It is the batch_links-readme.txt file. It reads;

 

 

Batch Link CSS rules:

---------------------

span.pageLinkCurrent { border: 1px solid #4FBDDD; padding: 1px 4px 1px 4px; margin: 1px; font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #cbdeed; }

a.pageLinkLast { border: 1px solid #4FBDDD; padding: 1px 4px 1px 4px; margin: 1px; font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #EFF9FC; }

a.pageLink { border: 1px solid #4FBDDD; padding: 1px 4px 1px 4px; margin: 1px; font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #FCF7F5; }

a.pageLink:hover, a.pageLinkLast:hover {text-decoration: none;}

 

Batch Link java script:

----------------------

function pageLinkPrompt(url,val,current,max)

{

if (page = parseInt(prompt("Enter a page number between 1 and "+max,val)))

 

if ( page == current)

 

return false;

 

else if (page > max)

 

Then a whole bunch more JS but does not say what it does OR where to put the JS. Any insight would be appreciated.

 

Thanks, Peter

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...