osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Have the box, but can't do what I want to.

This is a discussion on Have the box, but can't do what I want to. within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello, I have been wrestling with something for far too long now. I am trying to make a new column ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-03-2005, 07:49 AM
Member
 
Join Date: Jan 2005
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Lobotaman
Default Have the box, but can't do what I want to.

Hello,

I have been wrestling with something for far too long now. I am trying to make a new column box (DONE) in the right column and all I want in there are four links where each link opens an image using javascript.

I have the images, I have the javascript that I want to use.

But, I don't know where to put the html file with the javascript.

Can anybody just give me a few pointers, please?

Lobo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-03-2005, 08:08 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,075
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Have the box, but can

If javscript needs to go in the head section of the page = main_page.tpl.php. If in the body, just put it in the box itself.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-03-2005, 08:40 AM
Member
 
Join Date: Jan 2005
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Lobotaman
Default Just a little more of a hint, please...

Michael,

I followed the instructions for creating a new box and, having done so, I could create a duplicate of any of the existing boxes on the main template.

It is fairly confusing because about 3 files are involved in creating a new box.

However, what I'm doing is different than any of the existing boxes.

So, I am trying to understand which files I put my...

[1] Link text in, such as a link to "Font Choices"
[2] javascript in, to pop-up the "Font Choice.jpg" image

That's the help I need.

This site has something similar (from your Web Links page) see "Resources" in the left column of this site: http://honeybeadjewelry.com/catalog/

Thank you for your time.

Lobo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-03-2005, 09:16 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,075
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Just a little more of a hint, please...

Hi,

easy way:
1. Create the links in your new box ( the file in the boxes direcrtory)
2. Put the popup javascript in the new box as well. ( the file in the boxes direcrtory)

BTS correct way:
1. Define your box text constants in english.php
2. Create the links in your new box using your box text constants ( the file in the boxes direcrtory)
3. Put the popup javascript file in the new box or in /includes/javascript directory.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 12:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax